Code::Blocks Forums

User forums => Help => Topic started by: GhostAce on July 29, 2009, 03:12:49 pm

Title: Building CodeBlocks SVN
Post by: GhostAce on July 29, 2009, 03:12:49 pm
I followed all the instructions in the wiki (Installing Code::Blocks from source on Windows) but whenever I build there will be a error with ld.exe. The first time came out Cannot find -lcodeblocks and is somehow fixed after copying the plugins folder from the source to \devel\share\CodeBlocks\ and 8.02 Binary release of Codeblocks to /devel/. Now it comes up a error saying Cannot find -depslib. I found a depslib folder in \plugins\compilergcc\. Both errors have this line in the build log: Linking dynamic library: devel\share\CodeBlocks\plugins\compiler.dll. What do I do now?

Using Windows XP and source is from SVN. Using wxMSW-2.8.10 not wxWidgets-2.8.10 but it shows the same error anyway.
Title: Re: Building CodeBlocks SVN
Post by: ollydbg on July 29, 2009, 03:20:55 pm
Quote
Using Windows XP and source is from SVN. Using wxMSW-2.8.10 not wxWidgets-2.8.10 but it shows the same error anyway.

Did you use MinGW to build CB? Which version of MinGW and GCC?

Did you firstly build the CB then build CB contributed plugins?

Title: Re: Building CodeBlocks SVN
Post by: GhostAce on July 29, 2009, 03:34:02 pm
Not sure of the version, comes with codeblocks. I just followed the instructions in the wiki so I probably built the compiler. http://wiki.codeblocks.org/index.php?title=Image:Win_build_target.png
Title: Re: Building CodeBlocks SVN
Post by: MortenMacFly on July 29, 2009, 04:30:53 pm
I probably built the compiler. http://wiki.codeblocks.org/index.php?title=Image:Win_build_target.png
That's the problem -> you first need to compile the (base) libs, then the SDK, then the main app and then the plugins. Leave the selection at "all". Everything else usually makes no sense if compiling the first time.