Discussion:
[osg-users] Build error under Windows? Need feedback from Windows users to understand issue
Robert Osfield
2018-06-27 11:10:49 UTC
Permalink
Hi All,

A PR has just been placed on the openscenegraph github repository:

https://github.com/openscenegraph/OpenSceneGraph/pull/567

I am bit surprised by the need for this PR as I had assumed that the
code base was being rested pretty well under Windows with all the
recent stable release work.

I have asked for the author of the PR for clarification.

I would like to know form the Windows experts in the community about
whether this PR is perfectly fine, or there is some simpler resolution
for this users build combination.

As I'm about to make a 3.6.2 I obviously want the code base to be in
place where it's compiling well for a broad range of users, I'm also
keenly aware that a build fix for one user could be a build break for
many others so am super cautious at this point in time.

Robert.
Daniel Emminizer, Code 5773
2018-06-27 11:32:30 UTC
Permalink
Hi Robert,

I can vouch that it compiles on MSVC 2015, MSVC 2010, and g++ 4.4. I did not test 2012 or 2013, since I figured 2010 and 2015 ought to cover (2015 is _MSC_VER 1900). I only tested 64 bit variants. I do not have MSVC 2017 to test against.

I am also not familiar with the code in question, and we don't directly use the osga plugin in our software so I'm not sure how to test beyond ensuring that it compiles. So it does compile and doesn't break my system, that I can tell.

Hope this helps some.

- Dan
-----Original Message-----
Behalf Of Robert Osfield
Sent: Wednesday, June 27, 2018 7:11 AM
To: OpenSceneGraph Users
Subject: [osg-users] Build error under Windows? Need feedback from
Windows users to understand issue
Hi All,
https://github.com/openscenegraph/OpenSceneGraph/pull/567
I am bit surprised by the need for this PR as I had assumed that the
code base was being rested pretty well under Windows with all the
recent stable release work.
I have asked for the author of the PR for clarification.
I would like to know form the Windows experts in the community about
whether this PR is perfectly fine, or there is some simpler resolution
for this users build combination.
As I'm about to make a 3.6.2 I obviously want the code base to be in
place where it's compiling well for a broad range of users, I'm also
keenly aware that a build fix for one user could be a build break for
many others so am super cautious at this point in time.
Robert.
_______________________________________________
osg-users mailing list
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Björn Blissing
2018-06-27 11:48:20 UTC
Permalink
Hi Robert,

I have previously built it using Visual Studio 2017 without problems.

One thing to note is that the user who opened the pull request says he is using Visual Studio version 15.8. This is a version not yet available outside the beta program. The latest stable version available for me is 15.7.4. This might be the reason for his compiler error and also why no one have reported this earlier.

Regards,
Björn

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74189#74189
L. Voerman
2018-06-27 12:55:18 UTC
Permalink
I just updated VS2017 15.7.3 to 15.7.4 and this still compiles just fine.
The entire piece of code worries me, as the position is subtracted from the
offset and then just added again.
Laurens.
Post by Daniel Emminizer, Code 5773
Hi Robert,
I have previously built it using Visual Studio 2017 without problems.
One thing to note is that the user who opened the pull request says he is
using Visual Studio version 15.8. This is a version not yet available
outside the beta program. The latest stable version available for me is
15.7.4. This might be the reason for his compiler error and also why no one
have reported this earlier.
Regards,
Björn
------------------
http://forum.openscenegraph.org/viewtopic.php?p=74189#74189
_______________________________________________
osg-users mailing list
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Loading...