User forums > Using Code::Blocks

why application can not find wxmsw28u_gcc_cb.dll?

<< < (3/3)

raph:

--- Quote from: Master Lexx on May 27, 2007, 05:45:53 pm ---I am new to this. So how can I compile wxwidgets as lib so I don't need this 50 MB wxmsw28ud_gcc_custom.dll ?

--- End quote ---
Compile wxWidgets as a non-shared library:

--- Code: ---mingw32-make -f makefile.gcc SHARED=0
--- End code ---
Also notice that you compiled it in debug mode:

--- Quote from: Master Lexx on May 27, 2007, 05:45:53 pm ---wxmsw28ud_gcc_custom.dll

--- End quote ---
That's why it is so big (mine is 10 MB).
Either strip it ("strip wxmsw28ud_gcc_custom.dll") or compile it in release mode ("mingw32-make -f makefile.gcc BUILD=release").

raph

Master Lexx:
Thanks. I did used: "mingw32-make -f makefile.gcc  MONOLITHIC=1 SHARED=0 UNICODE=1 BUILD=release" (/debug)

And now I don't need this big file anymore. One day passed, now I know how to begin with codeblocks and wxwidgets.

 :D

Arun BR:
if you are installed wxwidget 3.1.X ( or any other except 2.8.X) you may get this error.
you should open wxwidget folder-->wxmsw28u_gcc_cb.dll-->lib folder-->gcc_dll.drop down to end of file list, you can see the installed wxmsw at there. rename it as wxmsw310u_gcc_cb.dll .Copy path of current shown directory.
 first go to Control panel-->Search "System" on search box-->select system-->environmental setting-->select path from drop down list at the bottom and add your copied path at the end.click ok.now go to your project and try the task where you got error.Now the error will be wxmsw310u.... missing.Then just rename the .dll file which you are renamed first to its old name.Then try to run again the application of  project file .Success...!

Navigation

[0] Message Index

[*] Previous page

Go to full version