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? :/
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.
You have to create that file yourself from a setupin.h (or similar, can't remember) template file. See http://wiki.wxwidgets.org/Setup.H.
But I agree with Noah's reply above: I have written a large commercial wx application over the last five years and I'd never choose wx again. There are just too many bugs, too many feature omissions, a slow patching process and too much cruft in the code. Now that Qt has an acceptable license I'd seriously consider that as an alternative...
Read the first comment, it gives a better answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With