Compiling 2.9.4 in VS2010

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
zobbo
Experienced Solver
Experienced Solver
Posts: 58
Joined: Sat Aug 18, 2007 4:41 am

Compiling 2.9.4 in VS2010

Post by zobbo » Sat Aug 25, 2012 7:30 am

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
Zobbo

Wxwidgets 2.9.0, Visual C++ Express 2005, Windows Vista x64 Home Premium

zobbo
Experienced Solver
Experienced Solver
Posts: 58
Joined: Sat Aug 18, 2007 4:41 am

Re: Compiling 2.9.4 in VS2010

Post by zobbo » Sat Aug 25, 2012 11:40 am

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.
Zobbo

Wxwidgets 2.9.0, Visual C++ Express 2005, Windows Vista x64 Home Premium

Post Reply