Hi Robert, CMAKE_VS_PLATFORM_TOOLSET is not set unless the user explicitely specifies a toolset when invoking cmake :
cmake -G "Visual Studio XX" -T v1YY srcDir If the user does not specify a toolset, the default toolset of the chosen Visual Studio version will be used, but the CMAKE_VS_PLATFORM_TOOLSET variable will not be set, and this is what is causing the problem here. Cheers, Mourad On Mon, May 15, 2017 at 1:23 PM, Robert Osfield <robert.osfi...@gmail.com> wrote: > Hi Stuart, > > On 15 May 2017 at 12:07, Stuart Mentzer <stuart_ment...@objexx.com> wrote: > > https://cmake.org/cmake/help/v3.0/variable/CMAKE_VS_ > PLATFORM_TOOLSET.html > > > > Which mentons that it's set for VC10 and above. Torben uses the > > CMAKE_VS_PLATFORM_TOOLSET for vc8 and vc9 above, so I'm not what would > > happen here. > > > > What VC number is reported on your system? > > > > Visual C++ 2015 corresponds to MSVC14. > > Looking at the CMake docs it would seem CMAKE_VS_PLATFORM_TOOLSET > should be defined, but given your error it would seem on your system > it's not. > > Could you check whether CMAKE_VS_PLATFORM_TOOLSET is defined and what > it's value is? > > > > [Separate issue: curl 7.54.0 (latest) has a build error under VC++ 2015 > but > > the prev version builds OK] > > > > Is this a build error in curl, or the OSG plugin building against curl > > 7.54.0? > > > > It is in the curl build itself. Here is the bug report I filed: > > https://github.com/curl/curl/issues/1482 > > OK, this isn't an OSG issue then so I can safely leave this to someone > else to resolve:-) > > Robert. > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org