User forums > Using Code::Blocks

How to link with wxWidgets library?

(1/1)

gandano:
Hi All!
I need to develop a project in windows, and i have installed Code::Blocks and wxWidgets-2.8. I have built wxWidgets with follow options:

  >> mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=0 MONOLITHIC=1 BUILD=release UNICODE=0

And, a bit of time later, i have a sucefull build.

My problem begin when i try to make a wxWidgets project from Code::Blocks. There is any document for an explain how to especify wxwidgets library for linkage?

I have playing with build options and i have errors with all these. My better case is 0 warning and 0 errors, but when i execute, i get a runtime error. I think the problem is linkage, but i can not get to do this correctly.

With Visual C++ 2008 all work fine, but i want to use Code::Blocks, not Visual C++.

Thanks in advance,
gandano.

TDragon:
Try the wxWindowsQuickRef.

Navigation

[0] Message Index

Go to full version