[osg-users] [build] CMake can not find include files

Robert Osfield robert.osfield at gmail.com
Sun Jun 3 09:49:30 PDT 2018


HI Peter,

It's the OpenSceneGraph/CMakeLists.txt that it the one you should open
in CMakeSetup.  All the CMakeLists.txt below this will rely upon all
the setting/includes that it sets up.

Robert.


On 3 June 2018 at 13:30, Peter Klose <peter_klose at gmx.de> wrote:
>
> 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
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


More information about the osg-users mailing list