[osg-users] Call for testing, preparing for 3.5.6 dev release again :-)
Mourad Boufarguine
mourad.boufarguine at gmail.com
Mon May 15 04:58:50 PDT 2017
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>
wrote:
> Hi Stuart,
>
> On 15 May 2017 at 12:07, Stuart Mentzer <Stuart_Mentzer at 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 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/fe1c482d/attachment-0003.htm>
More information about the osg-users
mailing list