News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

error mesage after first installing code::blocks

Started by bill_h, May 20, 2013, 06:08:26 PM

Previous topic - Next topic

bill_h

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

zabzonk

That should be -l (letter ell) not -1 (digit one)

bill_h

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. :)