I am trying to build an older codeblocks plugin that depends on wxWidgets, so my problem might be related to a version difference but I hope somebody here can tell me how to fix it.
The plugin includes $(#wx)\include\wx\platform.h where in my case $(#wx) refers to C:\wxWidgets-3.0.0.
In plathform.h I get a fatal error:
C:\wxWidgets-3.0.0\include\wx\platform.h|189|fatal error: wx/setup.h: No such file or directory
because this include seems to be impossible:
Code: Select all
Include wx/setup.h for the Unix platform defines generated by configure and
the library compilation options
Note that it must be included before defining hardware symbols below as they
could be already defined by configure but it must be included after defining
the compiler macros above as msvc/wx/setup.h relies on them under Windows.
I have checked and indeed there is no "C:\wxWidgets-3.0.0\include\wx\setup.h" like there was in wxWidgets 2.8.11.
Just in case it is of any importance: I'm using code::blocks 13.12 RC1 and the plugin is cbGcov (add code coverage to code::blocks)
Using wxWidgets 3.0.0 in 32bit mode on windows 8 with gcc 4.7.1 compiler, how can i get this program to compile without causing future problems with the wxWidgets installation? Can I create an empty setup.h? Can I create a setup.h file with the proper content? Should I omit the include in platform.h ( I would probably feel uncomfortable doing that as I don't know what side effects it might have)? Should I add some other search-directory? Is there an other solution?
I hope somebody here is willing and able to help me on this one.