Re: [osg-users] [build] SDL no longer builds

2009-05-08 Thread Robert Osfield
Hi Francois, I've just cleaned up the present3D optional build with SDL so it's similar to that of osgviewerSDL, as well as some other clean ups. You may need to remove you OpenSceneGraph/CMakeCache.txt and then re-run ./configure. By default the SDL support should be off but you'll be able to

Re: [osg-users] [build] SDL no longer builds

2009-05-08 Thread Jean-Sébastien Guay
Hi François, Good to see you've got your issues sorted. That's the power of a large community, more testing and more eyeballs means fewer bugs! Aberdeen, nae as bonny as Montreal I've had a laugh at all your signatures, you have a vivid imagination to come up with a different one each

Re: [osg-users] [build] SDL no longer builds

2009-05-07 Thread Robert Osfield
Hi Francois, I'm working on Kubuntu 9.04 and haven't seen any of these problems, but I'm using the standard CMake built Makefiles for build the OSG. Could you build Makefiles and see if the build works fine as it code be that CMake CodeBlocks support isn't 100%. Robert. On Wed, May 6, 2009 at

Re: [osg-users] [build] SDL no longer builds

2009-05-07 Thread Francois Genolini
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

Re: [osg-users] [build] SDL no longer builds

2009-05-07 Thread Francois Genolini
I compared examples/osgviewerSDL (which does compile) with applications/present3D osgviewerSDL/CMakeFiles/CMakeDirectoryInformation.cmake does contain /usr/include/SDL in its CMAKE_C_INCLUDE_PATH but present3D/CMakeFiles/CMakeDirectoryInformation.cmake does NOT contain /usr/include/SDL in its

Re: [osg-users] [build] SDL no longer builds

2009-05-07 Thread Francois Genolini
in applications/present3D/CMakeLists.txt I have added the following 2 lines SET(TARGET_EXTERNAL_LIBRARIES ${SDL_LIBRARY} ) INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR} ) just before IF (SDL_FOUND) and present3D now compiles and links As my understanding of cmake is very patchy, I have no idea if

Re: [osg-users] [build] SDL no longer builds

2009-05-07 Thread Francois Genolini
As for Wx 2.8, a quick search on Google shows that this could be a bug with the ubuntu package (__WXDEBUG__ not defined) [ 99%] Building CXX object examples/osgviewerWX/CMakeFiles/example_osgviewerWX.dir/osgviewerWX.o cd ~/Projects/osg/build/examples/osgviewerWX /usr/bin/c++

Re: [osg-users] [build] SDL no longer builds

2009-05-07 Thread Francois Genolini
ah, sorry, a clear case of RTFM here for me I read the manual and the posts related to Wx a bit more carefully this time, installed the debug version of the Wx libs, set wxWidgets_USE_DEBUG in osg's cmake, and ... it now compiles and links ;-) The only one which is odd is FFMPEG which now

[osg-users] [build] SDL no longer builds

2009-05-06 Thread Francois Genolini
Hi, Ubuntu Linux 9.04, latest svn (6th May 2009) cmake-gui to enable all features (including SDL, ffmpeg, wxwidgets, etc...) to generate CodeBlocks Makefiles SDL does not compile (#include SDL.h instead of #include SDL/SDL.h) even if the correct include path is specified in cmake adding a

Re: [osg-users] [build] SDL no longer builds

2009-05-06 Thread Jean-Sébastien Guay
Hello François, Nice to see you on this mailing list :-) I can't comment for SDL or WxWidgets, it's been ages since I've compiled those at all. But in general, manually tweaking the makefiles won't help long term, you need to find out why CMake is generating the makefiles that don't work

Re: [osg-users] [build] SDL no longer builds

2009-05-06 Thread Philip Lowman
I can't replicate the SDL problems (and haven't tried the other ones). After enabling BUILD_OSG_EXAMPLES in ccmake I have the following values for the SDL visible under the advanced section of the cache: SDLMAIN_LIBRARY */usr/lib/libSDLmain.a SDL_INCLUDE_DIR