Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
wxWidgets app only compile with SHARED=1
tiwag:
--- Quote from: mosfet on December 14, 2005, 06:50:38 pm ---I have Codeblocks 1.0RC2 because I never managed to compiled a SVN version.
--- End quote ---
you can download one here http://paginas.terra.com.br/informatica/mauricio/codeblocks/
--- Quote ---But I didin't see in Cb 1.0RC2 that I could specify wxWidgets as a static lib.
However it assumes that wxWidget has been compiled as a monolithic lib and it's not always the case.
Developers should ask user to indicate how was compiled wxwidgets (shared | monolithic).
--- End quote ---
that's left to you as homework :) and when you've managed it - save it as user-template
tiwag:
--- Quote from: Michael on December 14, 2005, 06:56:05 pm ---
--- Quote from: mosfet on December 14, 2005, 06:50:38 pm ---But I didin't see in Cb 1.0RC2 that I could specify wxWidgets as a static lib.
--- End quote ---
AFAIK, you should add the needed libraries to the linker. I do not think that there is a special option for that.
--- End quote ---
but that's the tricky part! better go with MONOLITHIC wxwidgets version
[edit]
Michael:
--- Quote from: tiwag on December 14, 2005, 07:01:02 pm ---but that's the tricky part! better go with MONOLITHIC wxwidgets version
--- End quote ---
MONOLITHIC is easier to build and handle (I use it myself for those reasons :)), but if you do not need all the wxWidgets functionalities and/or is the lib size a constraint, then better build just the needed libraries.
Michael
David Perfors:
--- Quote from: Michael on December 14, 2005, 07:09:22 pm ---
--- Quote from: tiwag on December 14, 2005, 07:01:02 pm ---but that's the tricky part! better go with MONOLITHIC wxwidgets version
--- End quote ---
MONOLITHIC is easier to build and handle (I use it myself for those reasons :)), but if you do not need all the wxWidgets functionalities and/or is the lib size a constraint, then better build just the needed libraries.
--- End quote ---
I tried this last week, but I had to include all the libraries before I was able to compile anything... :?
tiwag:
--- Quote from: mispunt on December 15, 2005, 10:16:53 am ---... but I had to include all the libraries before I was able to compile anything... :?
--- End quote ---
that's exactly with what it results at last.
the only example where i managed to use the non-monolithic version of wxwidgets reasonably was,
when i built console applications using wxBase only without any GUI stuff.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version