[osg-users] [build] osgWidget Visual Studio project is invalid with CMake 3.11.0

Robert Osfield robert.osfield at gmail.com
Sun Apr 1 02:44:16 PDT 2018


Hi Jiří,

That has to be one of the most bizarre errors I've seen in the OSG so
far, amazing it's sat in the code for so long without anyone realizing
it.

I have have removed the stray CMakeLists.txt from the TARGET_SRC and
checked this into OSG master, and the 3.2, 3.4 and 3.6 branches.

Cheers,
Robert.

On 31 March 2018 at 17:26, Jiří Patrák <p_jiri at volny.cz> wrote:
> Maybe this can help somebody or somebody can tell me what I am doing wrong ...
>
> It is not possible to compile Osg with Visual Studio and CMake 3.11.0.
>
> Two months ago i compiled Osg on another machine.
>
> So I generated solution for Visual Studio with CMake 3.9.0 and with CMake 3.11.0.
>
> CMake 3.9.0 generates correct project osgWidget - see 001_ProjectOsgWidgetOK.png.
>
> CMake 3.11.0 generates invalid project osgWidget - see 002_ProjectOsgWidgetNotLoaded.png
>
> Comparison of project files is on the picture 003_OsgWigetProjectsDifference.png
>
> The reason is (I think) the wrong line "CMakelists.txt" - see 004_CMakeListsForOsgWidget.png
>
> I removed the line and after new generating by CMake 3.11.0 is the project correct.
>
> Jiří
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=73213#73213
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/004_cmakelistsforosgwidget_588.png
> http://forum.openscenegraph.org//files/003_osgwigetprojectsdifference_143.png
> http://forum.openscenegraph.org//files/002_projectosgwidgetnotloaded_488.png
> http://forum.openscenegraph.org//files/001_projectosgwidgetok_182.png
>
>
> _______________________________________________
> 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