<div dir="ltr">Hi Robert,<div><br></div><div><span style="font-size:12.8px">CMAKE_VS_PLATFORM_TOOLSET is not set unless the user explicitely specifies a toolset when invoking cmake :</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">cmake -G "Visual Studio XX" -T v1YY srcDir</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">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.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Cheers,</span></div><div><span style="font-size:12.8px">Mourad</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 15, 2017 at 1:23 PM, Robert Osfield <span dir="ltr"><<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Stuart,<br>
<span class=""><br>
On 15 May 2017 at 12:07, Stuart Mentzer <<a href="mailto:Stuart_Mentzer@objexx.com">Stuart_Mentzer@objexx.com</a>> wrote:<br>
> <a href="https://cmake.org/cmake/help/v3.0/variable/CMAKE_VS_PLATFORM_TOOLSET.html" rel="noreferrer" target="_blank">https://cmake.org/cmake/help/<wbr>v3.0/variable/CMAKE_VS_<wbr>PLATFORM_TOOLSET.html</a><br>
><br>
> Which mentons that it's set for VC10 and above. Torben uses the<br>
> CMAKE_VS_PLATFORM_TOOLSET for vc8 and vc9 above, so I'm not what would<br>
> happen here.<br>
><br>
> What VC number is reported on your system?<br>
><br>
> Visual C++ 2015 corresponds to MSVC14.<br>
<br>
</span>Looking at the CMake docs it would seem CMAKE_VS_PLATFORM_TOOLSET<br>
should be defined, but given your error it would seem on your system<br>
it's not.<br>
<br>
Could you check whether CMAKE_VS_PLATFORM_TOOLSET is defined and what<br>
it's value is?<br>
<span class=""><br>
<br>
> [Separate issue: curl 7.54.0 (latest) has a build error under VC++ 2015 but<br>
> the prev version builds OK]<br>
><br>
> Is this a build error in curl, or the OSG plugin building against curl<br>
> 7.54.0?<br>
><br>
> It is in the curl build itself. Here is the bug report I filed:<br>
> <a href="https://github.com/curl/curl/issues/1482" rel="noreferrer" target="_blank">https://github.com/curl/curl/<wbr>issues/1482</a><br>
<br>
</span>OK, this isn't an OSG issue then so I can safely leave this to someone<br>
else to resolve:-)<br>
<div class="HOEnZb"><div class="h5"><br>
Robert.<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</div></div></blockquote></div><br></div>