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                 */usr/include/SDL
 SDL_LIBRARY
*/usr/lib/libSDLmain.a;/usr/lib/libSDL.so;-lpthread

osgviewerSDL.o compiles just fine.
This is with CMake 2.6.2 and the libsdl1.2-dev package installed on Ubuntu
9.04


What version of CMake are you using?  Can you include some more details?



On Wed, May 6, 2009 at 4:43 PM, Francois Genolini <[email protected]>wrote:

>
> 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 manual CFLAGS and CXXFLAGS to have -I/usr/include/SDL fixes the
> compiling
> Link however does not work because linking of the present3d application
> omits to include -lSDL in the Makefile
> Manual modification of Makefile and link.txt allows app to build
>
> ffmpeg also requires a lot of manual modifications (here again #include
> <swscale.h> is used instead of the correct #include <libswscale/swscale.h>).
>  Manual specification of all include folders in cmake-gui allows build
> (strange that cmake finds ffmpeg but does not configure the CMakeFiles
> correctly for actual valid OSG compile).
>
>
> wx does not build either, here again hacking gets through
> ...
>
>
> Thank you!
>
> Cheers,
> Francois Genolini
> Aberdeen, Scotland
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=11558#11558
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



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

Reply via email to