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

Jiří Patrák p_jiri at volny.cz
Sat Mar 31 09:26:13 PDT 2018


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




More information about the osg-users mailing list