[osg-users] OpenSceneGraph-3.4.0-rc11 tagged

Robert Osfield robert.osfield at gmail.com
Sun Aug 9 12:20:20 PDT 2015


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>
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>
> 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 : OpenSceneGraph-3.4.0-rc10.zip
>>    <http://trac.openscenegraph.org/downloads/developer_releases/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.
>>    <http://svn.openscenegraph.org/osg/OpenSceneGraph/tags/OpenSceneGraph-3.4.0-rc10>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
>> 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/20150809/14779a62/attachment-0003.htm>


More information about the osg-users mailing list