Re: [osg-users] CMake issue with OpenTheads?
Hi Philip, Just try: Where is the source code: C:/Projects/OSG/OpenSceneGraph/trunk Greets, Rafa. 2011/3/26 Philip Taylor phili...@ntlworld.com: I just tried to regenerate my OSG build system and have come unstuck with an OpenThreads CMake issue, with the directive IF(NOT ANDROID) INCLUDE(CheckAtomicOps) ENDIF() Running CMake 2.8.4 on WinXP with VS2008 Where is the source code: C:/Projects/OSG/OpenSceneGraph/trunk/src Where to build the binaries: C:/Projects/OSG_build/trunk/bin Is it me??? I am following the http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio guidance. PhilT Check for working C compiler using: Visual Studio 9 2008 Check for working C compiler using: Visual Studio 9 2008 -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working CXX compiler using: Visual Studio 9 2008 Check for working CXX compiler using: Visual Studio 9 2008 -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done CMake Error at OpenThreads/CMakeLists.txt:13 (INCLUDE): include could not find load file: CheckAtomicOps CMake Error: File C:/Projects/OSG/OpenSceneGraph/trunk/src/PlatformSpecifics/Windows/OpenThreadsVersionInfo.rc.in does not exist. CMake Error at OpenThreads/CMakeLists.txt:42 (CONFIGURE_FILE): configure_file Problem configuring file Looking for include files CMAKE_HAVE_PTHREAD_H Looking for include files CMAKE_HAVE_PTHREAD_H - not found. Found Threads: TRUE CMake Error: File C:/Projects/OSG/OpenSceneGraph/trunk/src/packaging/pkgconfig/openthreads.pc.in does not exist. CMake Error at OpenThreads/CMakeLists.txt:119 (CONFIGURE_FILE): configure_file Problem configuring file CMake Error at osg/CMakeLists.txt:393 (SETUP_LIBRARY): Unknown CMake command SETUP_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 CMP. This warning is for project developers. Use -Wno-dev to suppress it. Configuring incomplete, errors occurred! ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Rafael Gaitán Linares Instituto de Automática e Informática Industrial http://www.ai2.upv.es http://gvsig3d.blogspot.com Ciudad Politécnica de la Innovación Universidad Politécnica de Valencia ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] CMake issue with OpenTheads?
Many thanks Rafa - your CMAKE suggestion worked for me Where is the source code: C:/Projects/OSG/OpenSceneGraph/trunk PhilT Just for reference - I'm saw a lot of CMAKE 2.8.4 (16 Feb 2011) warnings: This warning is for project developers. Use -Wno-dev to suppress it. The cause is simple to fix - don't use backslashes in the third party path name - forward slashes only! This is not mentioned on the PlatformSpecifics help page for Visual Studio -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Rafa Gaitan Sent: 27 March 2011 17:38 To: OpenSceneGraph Users Subject: Re: [osg-users] CMake issue with OpenTheads? Hi Philip, Just try: Where is the source code: C:/Projects/OSG/OpenSceneGraph/trunk Greets, Rafa. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] CMake issue with OpenTheads?
I just tried to regenerate my OSG build system and have come unstuck with an OpenThreads CMake issue, with the directive IF(NOT ANDROID) INCLUDE(CheckAtomicOps) ENDIF() Running CMake 2.8.4 on WinXP with VS2008 Where is the source code: C:/Projects/OSG/OpenSceneGraph/trunk/src Where to build the binaries: C:/Projects/OSG_build/trunk/bin Is it me??? I am following the http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Vi sualStudio guidance. PhilT Check for working C compiler using: Visual Studio 9 2008 Check for working C compiler using: Visual Studio 9 2008 -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working CXX compiler using: Visual Studio 9 2008 Check for working CXX compiler using: Visual Studio 9 2008 -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done CMake Error at OpenThreads/CMakeLists.txt:13 (INCLUDE): include could not find load file: CheckAtomicOps CMake Error: File C:/Projects/OSG/OpenSceneGraph/trunk/src/PlatformSpecifics/Windows/OpenThrea dsVersionInfo.rc.in does not exist. CMake Error at OpenThreads/CMakeLists.txt:42 (CONFIGURE_FILE): configure_file Problem configuring file Looking for include files CMAKE_HAVE_PTHREAD_H Looking for include files CMAKE_HAVE_PTHREAD_H - not found. Found Threads: TRUE CMake Error: File C:/Projects/OSG/OpenSceneGraph/trunk/src/packaging/pkgconfig/openthreads.pc. in does not exist. CMake Error at OpenThreads/CMakeLists.txt:119 (CONFIGURE_FILE): configure_file Problem configuring file CMake Error at osg/CMakeLists.txt:393 (SETUP_LIBRARY): Unknown CMake command SETUP_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 CMP. This warning is for project developers. Use -Wno-dev to suppress it. Configuring incomplete, errors occurred! ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org