Hi Dominic et al. What os are you using? Some sort of mac?
Am I right in thinking you're using CMake 2.8? I didn't realise that had been released yet, I'll have to test. It's odd because nobody else has reported these errors and I thought if it worked on Linux it would work on a mac... I'll have a go with 2.8 to see if the problem arises there. Kim. 2009/12/1 Ulrich Hertlein <[email protected]>: > Hi Dominic, > > to solve the 'install TARGETS given no FRAMEWORK DESTINATION for shared > library FRAMEWORK target "osgOcean"' error I added the following to > src/osgOcean/CMakeLists.txt: > > --- src/osgOcean/CMakeLists.txt (revision 189) > +++ src/osgOcean/CMakeLists.txt (working copy) > @@ -130,6 +130,7 @@ > RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin > ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib > PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_PREFIX}/include/osgOcean > + FRAMEWORK DESTINATION "/Library/Frameworks" > ) > > INSTALL( > > AFAIK it isn't actually building frameworks though. > > Cheers, > /ulrich > > On 1/12/09 8:56 AM, Dominic Stalder wrote: >> >> thanks for the feedback. I have the following folder structure: >> >> / >> /includes >> /resources >> /src >> /oceanExample >> /osgOcean >> >> When i try to first compile in the /srce/osgOcean with cmake . it brings >> me the following error: >> >> dst-osx-001:osgocean dst$ cmake src/osgOcean/ >> -- The C compiler identification is GNU >> -- The CXX compiler identification is GNU >> -- Checking whether C compiler has -isysroot >> -- Checking whether C compiler has -isysroot - yes >> -- Check for working C compiler: /usr/bin/gcc >> -- Check for working C compiler: /usr/bin/gcc -- works >> -- Detecting C compiler ABI info >> -- Detecting C compiler ABI info - done >> -- Checking whether CXX compiler has -isysroot >> -- Checking whether CXX compiler has -isysroot - yes >> -- Check for working CXX compiler: /usr/bin/c++ >> -- Check for working CXX compiler: /usr/bin/c++ -- works >> -- Detecting CXX compiler ABI info >> -- Detecting CXX compiler ABI info - done >> CMake Warning (dev) at CMakeLists.txt:105 (TARGET_LINK_LIBRARIES): >> Link library type specifier "optimized" is followed by specifier "debug" >> instead of a library name. The first specifier will be ignored. >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> ... more warnings ... >> >> CMake Error at CMakeLists.txt:105 (TARGET_LINK_LIBRARIES): >> The "debug" argument must be followed by a library. >> >> >> CMake Warning (dev) in CMakeLists.txt: >> No cmake_minimum_required command is present. A line of code such as >> >> cmake_minimum_required(VERSION 2.8) >> >> should be added at the top of the file. The version specified may be lower >> if you wish to support older CMake versions for this project. For more >> information run "cmake --help-policy CMP0000". >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> -- Configuring incomplete, errors occurred! >> >> Regards >> Dominic >> >> Tian Ma schrieb: >>> >>> Hi Ice-D: >>> >>> I think you need to compile the "osgocean" project first, and then the >>> 'example' and 'install' projects. >>> >>> Cheers, >>> Tian >>> >>> >>> Ice-D wrote: >>>> >>>> Here some more information. >>>> >>>> I think it is not a problem with the FFTSS library, instead cmake has >>>> a problem: >>>> >>>> CMake Error at src/osgOcean/CMakeLists.txt:123 (INSTALL): >>>> install TARGETS given no FRAMEWORK DESTINATION for shared library >>>> FRAMEWORK >>>> target "osgOcean". >>>> >>>> Does someone know how to solve this? > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

