OpenGL Configuration Problem

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

OpenGL Configuration Problem

Postby nejdetckenobi on Sun May 20, 2012 4:37 am

I'm using Mint12 "Lisa" 32 as OS and Geany as an IDE. I wish to start OpenGL. But I don't know which libraries have to be installed. I also need configuration for that IDE.

I tried
Code: Select all
sudo apt-get install build-essential glutg3-dev geany

to install libraries, geany.
Geany has been installed but there's no libraries succesfully installed with that. Terminal says the packages might be obsolete.

Code: Select all
gcc -Wall -c "%f" -lglut
as compile parameter
Code: Select all
gcc -Wall -o "%e" "%f" -lc -lm -lglut -lGLU
as build parameter.

I'm still getting
Code: Select all
samplecode.c:3:21: fatal error: GL/glut.h: No such file or directory
error which means my libraries are not installed properly.


So, here I am. May I have a full installation and configuration? I apologize but, the solution must be explained like you're talking to an idiot and he'll apply. Sorry for my English. Thanks in advance...
nejdetckenobi
Level 1
Level 1
 
Posts: 3
Joined: Sun May 20, 2012 4:28 am

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], colyn and 33 guests