News:

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

Main Menu

How to use "-static"?

Started by Simbaba, April 04, 2013, 05:20:25 PM

Previous topic - Next topic

Simbaba

I want to compile one dll with "libwxmsw29u_core.a".

But when "LoadLibrary" in another excutable app, popup error "can't find the "wxmsw294u_core_gcc_custom.dll"

Setting the linker with "-static", still no help.

Simbaba

And LoadLibrary is so lower, waiting a little long time. Why wxWidget startup so slowly?

Can anyone give me some adv.

BlueHazzard

Quote from: Simbaba on April 04, 2013, 05:20:25 PM
But when "LoadLibrary" in another excutable app, popup error "can't find the "wxmsw294u_core_gcc_custom.dll"

is the dll in the system32 folder or in the folder of the executable?

btw this is a wxWidgets question and not related to c::b and so off topic and i think it will be locked

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]