News:

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

Main Menu

Codeblocks linker

Started by Amazing Weasel, February 14, 2010, 07:52:22 PM

Previous topic - Next topic

Amazing Weasel

Im running Fedora 11 in virtual box, got Codeblocks running and I am using PRG API header and libary files.
I opened the project SnakeGame and now and ran some code.
The error I got were:
ld cannot find -lX11
ld cannot find -lGL
So the linker can't find GL and X11.
I'm not sure If I even have GL or X11..
Thanks in advance!

MortenMacFly

Quote from: Amazing Weasel on February 14, 2010, 07:52:22 PM
I'm not sure If I even have GL or X11..
How shall we know? Isn't it your PC and your installation?! :?

Try a find and grep for the libraries in question. Depending on your distribution there might be a package manager that can tell. Hence I don't know / use Fedora so I can't tell.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]