News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How to link with wxWidgets library?

Started by gandano, October 16, 2008, 12:50:21 AM

Previous topic - Next topic

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

[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)