Absolutely Deadly wxWidgets Pain

I have never used wxWidgets before, and I would like to try, but I started to have a million problems.

I use wxWidgets 2.9.1 in Visual Studio 2010. I went through the assembly of packages to create each project in each configuration.

I have added include and lib links to my project.

When I try to compile a simple "Hello, World!" programs, 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 the lib / vc_lib folder, and indeed there was no msw folder found. There were only "msu", "msud", "msuninu" and "msunuvid."

Does anyone know what is happening?: /

+6
c ++ visual-studio-2010 wxwidgets
source share
3 answers

Firstly, you can revise WX. I used it, invested a lot of time and code in products based on it, and it just turned out to be not so hot.

The problem you are facing is probably due to the fact that Unicode flags are not enabled, but only have a Unicode version. Apparently one way or another. So go to your properties and change the character set to unicode. It is located on the general properties page.

+6
source share

You must create this file yourself from the setupin.h template file (or the like, do not remember). See http://wiki.wxwidgets.org/Setup.H .

But I agree with Noah's answer above: over the past five years I have written a large commercial application wx, and I would never have chosen wx again. There are too many errors, too many omissions of functions, a slow correction process and too many errors in the code. Now that Qt has an acceptable license, I would seriously think about this as an alternative ...

+3
source share

Read the first comment, it gives the best answer.

+3
source share

All Articles