[osg-users] OpenSceneGraph-3.4.0 release candidate 7

Alexpux alexpux at gmail.com
Wed Jul 29 01:00:03 PDT 2015


> 29 июля 2015 г., в 10:57, Sebastian Messerschmidt <sebastian.messerschmidt at gmx.de> написал(а):
> 
> Hi Alex?
> 
> Can you please send the complete modified file to the osg-submission list?

ok.

> Cheers
> Sebastian
>>> 29 июля 2015 г., в 10:33, Alexpux <alexpux at gmail.com> написал(а):
>>> 
>>> I have build error using mingw-w64 with GCC-5.2.0.
>>> 
>>> [  0%] [  0%] [  0%] Building CXX object src/osg/CMakeFiles/osg.dir/Billboard.obj
>>> Building CXX object src/osg/CMakeFiles/osg.dir/AudioStream.obj
>>> Building CXX object src/osg/CMakeFiles/osg.dir/AutoTransform.obj
>>> In file included from C:/repo/mingw-w64-openscenegraph/src/OpenSceneGraph-3.4.0-rc7/include/osg/BufferObject:18:0,
>>>                 from C:/repo/mingw-w64-openscenegraph/src/OpenSceneGraph-3.4.0-rc7/include/osg/Image:17,
>>>                 from C:/repo/mingw-w64-openscenegraph/src/OpenSceneGraph-3.4.0-rc7/include/osg/AudioStream:17,
>>>                 from C:/repo/mingw-w64-openscenegraph/src/OpenSceneGraph-3.4.0-rc7/src/osg/AudioStream.cpp:14:
>>> C:/repo/mingw-w64-openscenegraph/src/Release-x86_64-w64-mingw32/include/osg/GL:100:32: error: redeclaration of C++ built-in type 'wchar_t' [-fpermissive]
>>>         typedef unsigned short wchar_t;
>>>                                ^
>>> src/osg/CMakeFiles/osg.dir/build.make:192: recipe for target 'src/osg/CMakeFiles/osg.dir/AudioStream.obj' failed
>>> make[2]: *** [src/osg/CMakeFiles/osg.dir/AudioStream.obj] Error 1
>>> make[2]: *** Waiting for unfinished jobs….
>>> 
>>> Regards,
>>> Alexey.
>> I’m fix it by next patch:
>> 
>> --- OpenSceneGraph-3.4.0-rc7/src/osg/GL.in.orig	2015-07-29 10:38:24.890785100 +0300
>> +++ OpenSceneGraph-3.4.0-rc7/src/osg/GL.in	2015-07-29 10:38:31.384135700 +0300
>> @@ -96,7 +96,7 @@
>>      #endif
>>        // XXX This is from Win32's <ctype.h>
>> -    #if !defined(_WCHAR_T_DEFINED) && !(defined(__GNUC__)&&((__GNUC__ == 3)||(__GNUC__ == 4)))
>> +    #if !defined(_WCHAR_T_DEFINED) && !(defined(__GNUC__)&&(__GNUC__ > 2))
>>          typedef unsigned short wchar_t;
>>          #define _WCHAR_T_DEFINED
>>      #endif
>> _______________________________________________
>> 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




More information about the osg-users mailing list