Hi,

I used cmake-gui to generate Eclipse CDT4 makefiles. No problem then building 
OSG and running the osggeometry sample.

However, whenever I try to debug a sample (I place a breakpoint in main(), then 
click Debug) Eclipse says "No source code is available for main()".
Apparently, this might be because I am not compiling OSG in debug mode. Some 
people say this error might happen if you don't specify "-g -O0" in the 
compiler options.

Again the sample runs just fine, and I can see gdb is correctly doing its work 
in the Eclipse tool windows.

My question is the following:

When I right-click the "OpenSceneGraph@binaries" node and select Properties, I 
see no "Build configurations", typically Release and Debug. I guess Build 
Configurations are reserved for native Eclipse CDT projects, not makefile 
projects.
So - where shall I specify compiler options in Eclipse CDT for makefiles 
projects, in order for the build to be a "debug" build? 

Thank you!

Cheers,
Enzo

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=35903#35903





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to