[osg-users] [build] CMake can not find include files
Peter Klose
peter_klose at gmx.de
Sun Jun 3 05:30:43 PDT 2018
robertosfield wrote:
> Hi Peter,
>
> You shouldn't need to compile OpenThreads independently, just point
> CMakeSetup at OpenSceneGraph/CMakeLists.txt and OpenThreads will be
> built alongside the rest of the OSG.
>
> Robert.
>
> ------------------
> Post generated by Mail2Forum
Hi Robert,
i have changed the source path in Cmake to the "osg" subdirectory as you suggested, but now comes another error unknown cmake command
"SETUP_LIBRARY"
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 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".
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73926#73926
More information about the osg-users
mailing list