User forums > Help

Code::Blocks + wxWidgeth project no compile clear project: wx* must be defined

<< < (2/3) > >>

ioann:
To Jens on second reply
Before i compile wxWidgeth on version wxMSW-2.8.10 and have error list on first post.

--- Quote ---Don't use nmake and the *.vc makefile, if you use MinGW as your compiler !

--- End quote ---
Ok. I will not. And still not working.

--- Quote ---Use mingw32-make or make from MinGW and the *.gcc makefile.

--- End quote ---
yes, i use and this long time (5 minute) compiling wxWidgeth

--- Quote ---mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1

--- End quote ---

ioann:
any ideas?

ioann:

--- Quote from: jens on August 06, 2011, 05:03:21 pm ---On ubuntu you need the packages wx-common and libwxgtk2.8-dev (and all the dependencies of these packages).
After installing them (and restarting C::B, if it is not closed), you should be able to  use the wizard-created wxWidgets-project.

--- End quote ---
Ok,  Thanks. It's work

ioann:
ideas on how to run under windows, no?

Jenna:

--- Quote from: ioann on August 07, 2011, 09:26:18 pm ---ideas on how to run under windows, no?

--- End quote ---
If you follow the steps in the quick-ref as I wrote here:

--- Quote from: jens on August 06, 2011, 07:32:58 pm ---Looks like incomaptible compilers (different exception handling).
Why not compiling wxWidgets yourself, it's quite straightforward.

http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef#Build_wxWidgets

--- End quote ---
or
here
it should not be a problem.

Note compiling wxWidgets can take a long time.

Or you need to find a compiler that is compatible with the one used by the one used to build the wxpack-binaries.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version