Code::Blocks Forums

User forums => Help => Topic started by: Amazing Weasel on February 14, 2010, 07:52:22 pm

Title: Codeblocks linker
Post by: Amazing Weasel on February 14, 2010, 07:52:22 pm
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!
Title: Re: Codeblocks linker
Post by: MortenMacFly on February 14, 2010, 07:57:51 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.