Enrico Borrione wrote:
hi,
i am trying to start a new OpenSG program, and i am still setting up my
kdevelop files...
(...)
how can i overcome this trouble? Nothing too serious i guess, but i am
really a novice in Makefile writing...
Hi Enrico.
Good News: You don't have to write a Makefile (in this case). I use the
following project options in KDevelop (Project Options->Configure):
LDFLAGS:
-L/usr/lib/OpenSG -lglut -lGLU -lGL -lOSGBase -lOSGSystem -lOSGWindowGLUT
CXXFLAGS:
-g2 -DHAVE_CONFIG_H -I. -I.. -O2 -DOSG_WITH_GLUT
Now just add one of the tutorials to your project and compile. I think
your trouble is related to the -DOSG_WITH_GLUT switch.
Regards,
Dominik
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users