Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Help
»
Building wxWidgets example with static library
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Building wxWidgets example with static library (Read 4359 times)
young
Guest
Building wxWidgets example with static library
«
on:
October 28, 2005, 04:07:58 pm »
When I create a wxWidgets project from the built-in template and specify a static library, the app always fails with an error saying it cannot find wxmsw26_gcc_cb.dll. If I resolve the path issue then the app runs... but clearly with the DLL for what is supposed to be a statically linked exe.
It appears that the built-in template does not properly create a statically linked project but one which uses the DLL. (I presume this is a bug in the supplied template?)
How can I build a statically-linked project?
Logged
rickg22
Lives here!
Posts: 2283
Re: Building wxWidgets example with static library
«
Reply #1 on:
October 29, 2005, 05:40:06 am »
You need to build the wxwidgets library yourself, specifying "shared=0". This will make a static library.
Originally it was called libwxmsw.a , but I think the naming convention changed after wx2.6. I'm not sure.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Help
»
Building wxWidgets example with static library