wxMSW-2.9.4-Setup.exe doesn't install setup.h
|Reported by:||Remdul||Owned by:|
After upgrading to 2.9.4 and rebuilding my project, it fails to compile.
MSVC9 (2008 Express) on WinXP SP2. The error:
D:\SDK\wxWidgets-2.9.4\include\msvc\wx/setup.h(105) : fatal error C1083: Cannot open include file: '../../../lib/vc_lib/mswd/wx/setup.h': No such file or directory
The folder "lib/vc_lib/mswd" does not exist.
The folder "lib/vc_lib/mswud" does exist, however.
By renaming this folder from "mswud" to "mswd", my project compiles, but now fails at link time:
LINK : fatal error LNK1104: cannot open file 'wxbase29d.lib'
Similarly, the linker presumes a file named "wxbase29d.lib", instead of the file that does exist, "wxbase29ud.lib". Once again, renaming all .lib files solves the link problem. But of course this should be fixed in the wx project solution.
I also had trouble compiling wxWidgets 2.9.4 from the Windows installer (wxMSW-2.9.4-Setup.exe). The setup0.h was not present as setup.h . This problem was not present with the .tar.bz2 version (compiled without warning out of the box). I did not try the .zip .
Change History (12)
comment:5 Changed 3 years ago by vadz
- Cc biol75@… added
- Resolution invalid deleted
- Status changed from closed to reopened
- Summary changed from projects using wxWidgets 2.9.4 fail to compile/link out-of-the-box to wxMSW-2.9.4-Setup.exe doesn't install setup.h