[osg-users] [build] CMake can not find include files
sam
brkopac at gmail.com
Sun Jun 3 10:54:19 PDT 2018
Hi Peter,
Not sure how you're attempting to compile OSG but I'd recommend you'd do
the following:
[image: osg1.png]
>From here I would hit Configure and then Generate. Open up the ALL_BUILD
project and right-click OpenThreads and hit build. This will ensure all the
dependencies are in place.
On Sun, Jun 3, 2018 at 9:49 AM Robert Osfield <robert.osfield at gmail.com>
wrote:
> 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
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180603/8358fbb0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osg1.png
Type: image/png
Size: 24563 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180603/8358fbb0/attachment.png>
More information about the osg-users
mailing list