Author Topic: error mesage after first installing code::blocks  (Read 4739 times)

Offline bill_h

  • Single posting newcomer
  • *
  • Posts: 2
error mesage after first installing code::blocks
« 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

zabzonk

  • Guest
Re: error mesage after first installing code::blocks
« Reply #1 on: May 20, 2013, 06:26:41 pm »
That should be -l (letter ell) not -1 (digit one)

Offline bill_h

  • Single posting newcomer
  • *
  • Posts: 2
Re: error mesage after first installing code::blocks
« Reply #2 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. :)