Code::Blocks Forums

User forums => Help => Topic started by: bill_h on May 20, 2013, 06:08:26 pm

Title: error mesage after first installing code::blocks
Post by: bill_h on May 20, 2013, 06:08:26 pm
I have just installed code::blocks 12.11 with gnu gcc compiler and have followed the instructions to the letter. (from: http://lazyfoo.net/tutorials/OpenGL/01_hello_opengl/linux/codeblocks/index.php).

When I then tried to run an example program it came up with the error message 'cannot find -1GL -1GLU -1glut'.

I tried a search in the forums but could not find anything. Does anyone know what the problem might be?
Any advice will be appreciated, thanks in advance
Title: Re: error mesage after first installing code::blocks
Post by: zabzonk on May 20, 2013, 06:26:41 pm
That should be -l (letter ell) not -1 (digit one)
Title: Re: error mesage after first installing code::blocks
Post by: bill_h on May 20, 2013, 09:37:40 pm
Thanks Neil. My mistake. I should have copied and pasted those three file names instead of trying to type them in.

Thanks again for your help the sample program compiled and worked perfectly. :)