News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

ld.exe cannot find -lcodeblocks

Started by powercat, August 13, 2013, 05:20:58 PM

Previous topic - Next topic

powercat

Sup guys
I'm trying to make a simple plugin to add a toolbar to the GUI.

So I made a new plugin and chose my options, then tried to compile it without modifying any code.

I got a bunch of error messages at first because of missing libraries so I donwloaded the wxMSW-2.8.12 and codeblocks-12.11release8629, added some paths to the libraries of the project.

Now I'm able to build up to

ld.exe cannot find -lcodeblocks

I also had a similar error with wxmsw28u but adding C:\Users\<username>\Documents\CodeBlocks\wxMSW-2.8.12\lib\gcc_dll to the linker search path fixed that one, however I can't find any similar path for "codeblocks"!

Searched on google but https://www.google.ca/search?q=ld.exe+"cannot+find+-lcodeblocks" doesn't return anything relevant.

Any ideas?

powercat

ERm I don't know what it is about posting a question to a problem and finding the answer right after...

I added this to the linker search path:

C:\Program Files (x86)\CodeBlocks

and it worked to compile without error!

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]