User forums > Help

error mesage after first installing code::blocks

(1/1)

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

Navigation

[0] Message Index

Go to full version