Search code examples
c++visual-studio-2010wxwidgets

Absolutely deathly wxWidgets Pain


I've never used wxWidgets before, and I'd love to try it out, but I've run into a million problems getting started.

I am using wxWidgets 2.9.1 on Visual Studio 2010. I've gone through the batch build to build every project in every configuration.

I've added the includes and lib references to my project.

When I try to compile the simple "Hello, World!" program, I get this error:

Error   1   error C1083: Cannot open include file: '../../../lib/vc_lib/msw/wx/setup.h': No such file or directory

I checked my lib/vc_lib folder, and indeed, there was no "msw" folder to be found. There were only "mswu", "mswud", "mswunivu" and "mswunivd".

Anyone know what's going on? :/


Solution

  • First off, you might reconsider WX. I used it, invested a lot of time and code into products based on it, and it just turned out to be not so hot.

    The problem you're having is probably due to not having the unicode flags turned on but only having the unicode version. Apparently anyway. So go into your properties and change the character set to unicode. It's on the general properties page.