[osg-users] Call for testing, preparing for 3.5.6 dev release again :-)

Stuart Mentzer Stuart_Mentzer at objexx.com
Mon May 15 05:05:32 PDT 2017


Hi Robert (and Mourad),

I tried -T v140 but I still didn't seem to get that variable set, with or without the -G option. And note that I use MinGW makefiles even when building with MSVC so deducing partially from -G won't work right in that case anyway.

 From this page (https://cmake.org/cmake/help/latest/variable/CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION.html) it looks like Windows 10 may do things a little differently (I'm on Win10).

I guess the discussion from http://forum.openscenegraph.org/viewtopic.php?t=16592 may not be fully resolved yet.

Cheers,
Stuart
--
Stuart Mentzer
Objexx Engineering
/Office/  +1 781 455 1150 x11
/Mobile/ +1 781 708 3872

On 5/15/2017 7:58 AM, Mourad Boufarguine wrote:
> 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.osfield at gmail.com <mailto:robert.osfield at gmail.com>> wrote:
>
>     Hi Stuart,
>
>     On 15 May 2017 at 12:07, Stuart Mentzer <Stuart_Mentzer at objexx.com <mailto:Stuart_Mentzer at objexx.com>> wrote:
>     > https://cmake.org/cmake/help/v3.0/variable/CMAKE_VS_PLATFORM_TOOLSET.html <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 <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 at lists.openscenegraph.org <mailto:osg-users at lists.openscenegraph.org>
>     http://lists.openscenegraph.org/listinfo.cgi/osg-users-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/20170515/da3f5af4/attachment-0003.htm>


More information about the osg-users mailing list