Page 1 of 1

Compiling 2.9.4 in VS2010

Posted: Sat Aug 25, 2012 7:30 am
by zobbo
Hi,

I'm trying to upgrade from VS 2005 Express and wxWidgets 2.9.1 to VS 2010 Express and wxWidgets 2.9.4. It's been a while since I've built the wxWidgets library so I may be missing something obvious. I have a lot of classes that were using STL std::string in VS2005 with 2.9.1 but now when I compile on 2.9.4 I get a warning from wxwidgets string.h that wxUniChar is undefined (basically all of the definitions seem to have failed in string.h). Is there a trick to fixing this?

Thanks,
Zobbo

Re: Compiling 2.9.4 in VS2010

Posted: Sat Aug 25, 2012 11:40 am
by zobbo
Okay, so now wxWidgets seems to be wrapping stl and primitives, I get the same issue with int's. using the relevant wxWidget header solves it. But I'd like to avoid that for now and use stl and native. I guess it is some config flag, this didn't occur in 2.9.0. If it sounds familiar let me know the solution...

Cheers,
Zobbo.