Hi, I am not too bothered by it, and it does appear that I am a unique case, though I will have a look a bit later at the cmake rules. I noticed that it does correctly find the dynamic libs but since I do not have the static library installed that is where it gets stuck. I will let you know what I find.
And thanks for the helpful feedback. Cheers, Chris On Mon, Jun 20, 2011 at 4:06 PM, Robert Osfield <robert.osfi...@gmail.com>wrote: > Hi Chris, > > On Mon, Jun 20, 2011 at 2:52 PM, Chris Jaquet <chrisjaq...@gmail.com> > wrote: > > It seems I only had the dynamic SDL library installed. After I > > installed the static library (for SDL) cmake automatically picks up > > /usr/lib/libSDLmain.a. > > > > Funny thing is that when I manually set SDLMAIN_LIBRARY to the > > shared object (prior to installing the static library), the example > > application worked fine, it is only cmake that complains. > > > > I am using cmake 2.8.4. Oh well, I guess it is just one of those things > ;-) > > Thanks again. > > > > Cheers and have a good day, > > Chris > > > > > > > > On Mon, Jun 20, 2011 at 9:53 AM, Robert Osfield < > robert.osfi...@gmail.com> > > wrote: > >> > >> Hi Chris, > >> > >> I haven't seen problems with compiling SDL myself and don't recall > >> others having the problem you are having. From your description I > >> can't work out what might be amiss. > >> > >> If the CMake build doesn't find SDL then it should happily just ignore > >> the build of the osgviewerSDL pluigin, it shouldn't reported an error. > >> > >> Is that CMake partially found your SDL install? > >> > >> What version of the CMake are you using? > > I wonder if this is a CMake issue as we are relying upon it's > FindSDL.cmake implementation. > > On my Kubuntu 11.04 system it finds my libsdl-dev install just fine, > finding both the static and dynamic libs, the values I get are: > > SDL_INCLUDE_DIR /usr/include/SDL > SDL_LIBRARY /usr/lib/libSDLmain.a;/usr/lib/libSDL.so;-lpthread > > I have CMake 2.8.3 on this system. > > Given we don't provide a FindSDL.cmake I'm not sure what else we can > do other than have you look into CMake's own implementation of > FindSDL.cmake to see if that is causing issues with picking up on > dynamic library only install of libsdl. > > Robert. > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org