[osg-users] OpenSceneGraph-3.4.0-rc11 tagged

Glen A Johnson Jr. glenajohnsonjr at msn.com
Sun Aug 9 14:49:05 PDT 2015


Robert,

In General 

Visual Studio 2015 _MSC_VER = 1900

Visual Studio 2013 _MSC_VER = 1800

Visual Studio 2012 _MSC_VER = 1700

Visual Studio 2010 _MSC_VER = 1600

Visual Studio 2008 _MSC_VER = 1500

Prior to Visual Studio 2010 Microsoft did not include <stdint.h> in the Visual studio distribution however it was included in vs2010 and subsequent versions since then.

It would appear that <stdint.h> is now included somewhere prior to including <osg/types> in John’s build.

 

“Changing line 17 in  D:\appl\OSG\OpenSceneGraph-3.4\include\osg/Types

"#if defined(_MSC_VER) && _MSC_VER <= 1800" 

to 

"#if defined(_MSC_VER) && _MSC_VER < 1600”

 

rather than 1800 would be a safest course of action since this will compile on all versions of visual studio.

 

Sincerely,

Glen Johnson

Phone: 321-696-3122

Email: glenajohnsonjr at msn.com

 

From: osg-users [mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Robert Osfield
Sent: Sunday, August 9, 2015 3:20 PM
To: OpenSceneGraph Users <osg-users at lists.openscenegraph.org>
Subject: Re: [osg-users] OpenSceneGraph-3.4.0-rc11 tagged

 

Hi John,

Thanks for the error report.  It's curious that I haven't modified include/osg/Types throughout the rc series and not heard of any problem reports till yours.  The only change I've made is to include types from include/osg/GL by adding #include<osg/Types> to the src/osg/GL.in that CMake uses to generate osg/GL.

When I first introduce the Types header we had a few iteration refining the _MSC_VER number so had assumed that it was now solid.  This makes me wonder what might be going on.  

A question for everyone, is there a formal listing of the _MSC_VER for the various VisualStudio versions?

Robert.

 

 

On 9 August 2015 at 19:54, John Ivar Haugland <john.haugland at gmail.com <mailto:john.haugland at gmail.com> > wrote:

Hi, 

 

Build with Windows 7, x64 GL2 Visual Studio 2013

 

Errors: 

 

>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdint.h(8): error C2371: 'int8_t' : redefinition; different basic types

3>          D:\appl\OSG\OpenSceneGraph-3.4\include\osg/Types(18) : see declaration of 'int8_t'

 

the stdint.h file has the following line: 

 

typedef signed char        int8_t;

 

while Types has the following conflic line: 

 

typedef __int8 int8_t;

 

Changing line 17 in  D:\appl\OSG\OpenSceneGraph-3.4\include\osg/Types

"#if defined(_MSC_VER) && _MSC_VER <= 1800" 

to 

"#if defined(_MSC_VER) && _MSC_VER < 1800 

 

to drop the  typedefs for Visual Studio 2013 is a possible fix, however I have not tested this with Visual Studio 2012 or older. 

 

 

Kind regards

John Ivar Haugland

 

 

On Sun, Aug 9, 2015 at 12:37 PM, Robert Osfield <robert.osfield at gmail.com <mailto:robert.osfield at gmail.com> > wrote:

Hi All,

Just when we thought it was safe to tag 3.4.0 a build error gets reported, another found, and another bug spotted and resolved.  Time for another RC, this time number 11, Whoooohooo!!!

*         Zip file containing source code :  <http://trac.openscenegraph.org/downloads/developer_releases/OpenSceneGraph-3.4.0-rc10.zip> OpenSceneGraph-3.4.0-rc10.zip

*         Subversion tag for 3.4.0-rc10 : svn co  <http://svn.openscenegraph.org/osg/OpenSceneGraph/tags/OpenSceneGraph-3.4.0-rc10> http://svn.openscenegraph.org/osg/OpenSceneGraph/tags/OpenSceneGraph-3.4.0-rc10 OpenSceneGraph

Also now available is the data to go along with 3.4.0:

*	OpenSceneGraph-Data-3.4.0.zip <http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-3.4.0/data/OpenSceneGraph-Data-3.4.0.zip> 

Please, please test,

Robert.

-- ChangeLog since rc10

 

2015-08-09 10:16  robert

    * CMakeLists.txt: Updated RC number to 11.

2015-08-09 10:16  robert

    * src/osg/GL.in: Changed GLint64 and GLuint64 to use int64_t and
      uint64_t (pulled in via include/osg/Types) to avoid conflict with
      Qt5 definitions

2015-08-09 09:40  robert

    * include/osgViewer/api/X11/PixelBufferX11,
      src/osgViewer/PixelBufferX11.cpp: Added #idef guards for SGIX
      usage

2015-08-08 08:49  robert

    * src/osgPlugins/zip/ZipArchive.cpp: From Glenn Waldron, fix error
      in ZIP plugin handling of memory buffer



 

 

_______________________________________________
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

 


_______________________________________________
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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150809/5a11f16a/attachment-0003.htm>


More information about the osg-users mailing list