<div dir="ltr"><div>Hi Peter,</div><div><br></div><div>Not sure how you're attempting to compile OSG but I'd recommend you'd do the following:</div><div><br></div><div><div><img src="cid:ii_jhz4jvbh0" alt="osg1.png" width="561" height="263"><br></div></div><div>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.<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Jun 3, 2018 at 9:49 AM Robert Osfield <<a href="mailto:robert.osfield@gmail.com">robert.osfield@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">HI Peter,<br>
<br>
It's the OpenSceneGraph/CMakeLists.txt that it the one you should open<br>
in CMakeSetup. All the CMakeLists.txt below this will rely upon all<br>
the setting/includes that it sets up.<br>
<br>
Robert.<br>
<br>
<br>
On 3 June 2018 at 13:30, Peter Klose <<a href="mailto:peter_klose@gmx.de" target="_blank">peter_klose@gmx.de</a>> wrote:<br>
><br>
> robertosfield wrote:<br>
>> Hi Peter,<br>
>><br>
>> You shouldn't need to compile OpenThreads independently, just point<br>
>> CMakeSetup at OpenSceneGraph/CMakeLists.txt and OpenThreads will be<br>
>> built alongside the rest of the OSG.<br>
>><br>
>> Robert.<br>
>><br>
>> ------------------<br>
>> Post generated by Mail2Forum<br>
><br>
><br>
> Hi Robert,<br>
> i have changed the source path in Cmake to the "osg" subdirectory as you suggested, but now comes another error unknown cmake command<br>
> "SETUP_LIBRARY"<br>
><br>
> The C compiler identification is MSVC 18.0.21005.1<br>
> The CXX compiler identification is MSVC 18.0.21005.1<br>
> Check for working C compiler: C:/Program Files/Microsoft Visual Studio 12.0/VC/bin/cl.exe<br>
> Check for working C compiler: C:/Program Files/Microsoft Visual Studio 12.0/VC/bin/cl.exe -- works<br>
> Detecting C compiler ABI info<br>
> Detecting C compiler ABI info - done<br>
> Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 12.0/VC/bin/cl.exe<br>
> Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 12.0/VC/bin/cl.exe -- works<br>
> Detecting CXX compiler ABI info<br>
> Detecting CXX compiler ABI info - done<br>
> Detecting CXX compile features<br>
> Detecting CXX compile features - done<br>
> CMake Error at CMakeLists.txt:460 (SETUP_LIBRARY):<br>
> Unknown CMake command "SETUP_LIBRARY".<br>
><br>
><br>
> CMake Warning (dev) in CMakeLists.txt:<br>
> No cmake_minimum_required command is present. A line of code such as<br>
><br>
> cmake_minimum_required(VERSION 3.11)<br>
><br>
> should be added at the top of the file. The version specified may be lower<br>
> if you wish to support older CMake versions for this project. For more<br>
> information run "cmake --help-policy CMP0000".<br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> Configuring incomplete, errors occurred!<br>
> See also "C:/0_Arbeiten/OpenSceneGraph/BuildMSV2013/CMakeFiles/CMakeOutput.log".<br>
><br>
> ------------------<br>
> Read this topic online here:<br>
> <a href="http://forum.openscenegraph.org/viewtopic.php?p=73926#73926" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=73926#73926</a><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> osg-users mailing list<br>
> <a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
> <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div>