User forums > Using Code::Blocks
How to use "-static"?
(1/1)
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"
--- End quote ---
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:
If it gets locked; make sure Full Compiler Logging is ON.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
And, post the "build log" and your question on http://forums.wxwidgets.org/
Tim S.
Navigation
[0] Message Index
Go to full version