[osg-users] [build] CMake can not find include files
Peter Klose
peter_klose at gmx.de
Sun Jun 3 03:51:49 PDT 2018
Hi,
i am trying to build OSG with MS Visual Studio 2013 on Windows7.
I have downloaded the latest release from git, same with CMake, but it seems that there are some files missing?
Any helb would be appreciated.
Thank you!
Cheers,
Peter
the cmake-messages:
------------------------------
The C compiler identification is MSVC 18.0.21005.1
The CXX compiler identification is MSVC 18.0.21005.1
Check for working C compiler: C:/Program Files/Microsoft Visual Studio 12.0/VC/bin/cl.exe
Check for working C compiler: C:/Program Files/Microsoft Visual Studio 12.0/VC/bin/cl.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 12.0/VC/bin/cl.exe
Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 12.0/VC/bin/cl.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
CMake Error at OpenThreads/CMakeLists.txt:13 (INCLUDE):
INCLUDE could not find load file:
CheckAtomicOps
CMake Error: File C:/0_Arbeiten/OpenSceneGraph/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 pthread.h
Looking for pthread.h - not found
Found Threads: TRUE
CMake Error: File C:/0_Arbeiten/OpenSceneGraph/src/packaging/pkgconfig/openthreads.pc.in does not exist.
CMake Error at OpenThreads/CMakeLists.txt:111 (CONFIGURE_FILE):
CONFIGURE_FILE Problem configuring file
CMake Error at osg/CMakeLists.txt:460 (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 3.11)
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!
See also "C:/0_Arbeiten/OpenSceneGraph/BuildMSV2013/CMakeFiles/CMakeOutput.log".
See also "C:/0_Arbeiten/OpenSceneGraph/BuildMSV2013/CMakeFiles/CMakeError.log".
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73923#73923
More information about the osg-users
mailing list