User forums > General (but related to Code::Blocks)

"include" folder and codeblocks library

<< < (2/2)

Denis:

--- Quote from: JGM on September 25, 2007, 02:36:44 pm ---You can link against codeblocks.dll on windows and I think that on linux to libcodeblocks.so. This was something that I doesn't know until recent days. So you can link against dll's

--- End quote ---
How to do it? I use MinGW. Which tools should I use or GCC can link dll files directly?

JGM:

--- Quote from: Denis on September 25, 2007, 03:11:08 pm ---How to do it? I use MinGW. Which tools should I use or GCC can link dll files directly?

--- End quote ---

Ok, click on Project->Build Options then select Linker settings there add wxmsw28u_gcc_cb. Now click on Search Directories -> Linker and add the path where you have the C::B nightly installed.

The compiler will search in the codeblocks directory that you specified on the linker directories and use the wxmsw28u_gcc_cb.dll. This also works for files named like libname.dll, you just have to write name on the linker settings and GCC will take care of the rest.

Do the same steps for codeblocks.dll, is better that compiling codeblocks or wxwidgets by your self. :D

Denis:
Seems it works. Thanks!

Navigation

[0] Message Index

[*] Previous page

Go to full version