out of source build
source in ~/Projects/osg/OpenSceneGraph
build in ~/Projects/osg/build

[ 88%] Building CXX object 
applications/present3D/CMakeFiles/application_present3D-osg.dir/present3D.o
cd ~/Projects/osg/build/applications/present3D && /usr/bin/c++   
-DOSG_DEBUG_POSTFIX=d -DUSE_SDL -Wall -Wparentheses -Wno-long-long -Wno-import 
-pedantic -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused 
-fpermissive -g -D_DEBUG -I~/Projects/osg/build/include 
-I~/Projects/osg/OpenSceneGraph/include   -o 
CMakeFiles/application_present3D-osg.dir/present3D.o -c 
~/Projects/osg/OpenSceneGraph/applications/present3D/present3D.cpp
In file included from 
~/Projects/osg/OpenSceneGraph/applications/present3D/present3D.cpp:54:
~/Projects/osg/OpenSceneGraph/applications/present3D/SDLIntegration.h:16:17: 
error: SDL.h: No such file or directory
~/Projects/osg/OpenSceneGraph/applications/present3D/SDLIntegration.h:17:24: 
error: SDL_events.h: No such file or directory
~/Projects/osg/OpenSceneGraph/applications/present3D/SDLIntegration.h:18:26: 
error: SDL_joystick.h: No such file or directory
[...]
make[2]: *** 
[applications/present3D/CMakeFiles/application_present3D-osg.dir/present3D.o] 
Error 1
make[2]: Leaving directory `~/Projects/osg/build'
make[1]: *** 
[applications/present3D/CMakeFiles/application_present3D-osg.dir/all] Error 2

same error as before
when I fix it, all the other errors also turn up
so not a problem with CodeBlocks Makefile

As you can see there is no -I/usr/include/SDL in the "verbose" command line.  
So cmake has failed to create the correct Makefile for this build



Regards,
Francois Genolini
Aberdeen, Aberdeenshire

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





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

Reply via email to