Author Topic: How to link with wxWidgets library?  (Read 3954 times)

Offline gandano

  • Single posting newcomer
  • *
  • Posts: 4
How to link with wxWidgets library?
« on: October 16, 2008, 12:50:21 am »
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.

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: How to link with wxWidgets library?
« Reply #1 on: October 16, 2008, 03:04:02 pm »
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)