where are the opengl libraries get stored on ubuntu9.10 : i need this to mention in my make file and what are all the link files i need to mention
views:
226answers:
3
A:
They're part of mesa
, as libGL*.so.* and the like, usually in /usr/lib*.
Ignacio Vazquez-Abrams
2010-02-02 08:55:29
in usr/lib i didnt find the file ,can i know what names it may have
kumar
2010-02-02 09:37:56
If you don't have it then perhaps you should consider installing it from its package. Try something starting with `mesa` and ending with `-dev`.
Ignacio Vazquez-Abrams
2010-02-02 09:58:21
do u mean manually or please can you tell me the procedure apt get i did the followinglibgl1-mesalibgl1-mesa-devlibglu1-mesaglutg3glutg3-devlibglui-devlibglut3libglut3-devcan you suggest me more
kumar
2010-02-02 10:23:05
Hai Lgnacio,I did the installation of opengl but where are my lib files stored that info i need ,What names the lib file will have ...etc ..etc
kumar
2010-02-02 10:41:51
+1
A:
You should not need to mention their location explicitly in your Makefile
since they should be in the standard library search path (probably in /usr/lib
).
Like sisis wrote you should just need to add -lGL
to the linker flags to link against libGL.so
which might actually come from different sources: mesa
or some fancy graphics card driver.
honk
2010-03-17 03:45:49