Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: Denis on September 25, 2007, 12:55:57 pm
-
Dear developers, please include "include" folder of C::B and codeblocks library into nightly builds (with different archive file for example). It will help to build external plugins without building whole codeblocks from sources.
-
use svn and download it?
-
use svn and download it?
Does svn contain libcodeblocks.a ?
-
use svn and download it?
Does svn contain libcodeblocks.a ?
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
-
use svn and download it?
Does svn contain libcodeblocks.a ?
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
Actually this the preferred way to link, for two reasons:
- linking is faster this way and
- it's the only way to be certain that your plugin will work for users using the specific nightly
For the above reasons, you should also probably link to the nightly's wxmsw dll (for windows) instead of your own.
-
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
How to do it? I use MinGW. Which tools should I use or GCC can link dll files directly?
-
How to do it? I use MinGW. Which tools should I use or GCC can link dll files directly?
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
-
Seems it works. Thanks!