Re: [osg-users] OpenSceneGraph-3.4.0 release candidate 7

2015-07-29 Thread Alexpux

 29 июля 2015 г., в 10:33, Alexpux alex...@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@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenSceneGraph-3.4.0 release candidate 7

2015-07-29 Thread Alexpux

 29 июля 2015 г., в 10:57, Sebastian Messerschmidt 
 sebastian.messerschm...@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 alex...@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@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] OpenSceneGraph-3.4.0 release candidate 7

2015-07-29 Thread Alexpux
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.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenSceneGraph-3.4.0 release candidate 7

2015-07-29 Thread Sebastian Messerschmidt

Hi Alex?

Can you please send the complete modified file to the osg-submission list?
Cheers
Sebastian

29 июля 2015 г., в 10:33, Alexpux alex...@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@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenSceneGraph-3.4.0 release candidate 7 tagged

2015-07-24 Thread Pjotr Svetachov
The changed for VS2015 look good. I still get the following warning:
3I:\Libraries\OpenSceneGraphTrunk\include\osg/GraphicsThread(45): warning 
C4589: Constructor of abstract class 'osg::GraphicsOperation' ignores 
initializer for virtual base class 'osg::Referenced' (compiling source file 
I:\Libraries\OpenSceneGraphTrunk\src\osg\TextureCubeMap.cpp)
3  I:\Libraries\OpenSceneGraphTrunk\include\osg/GraphicsThread(45): note: 
virtual base classes are only initialized by the most-derived type (compiling 
source file I:\Libraries\OpenSceneGraphTrunk\src\osg\TextureCubeMap.cpp)
3  I:\Libraries\OpenSceneGraphTrunk\include\osg/GraphicsThread(45): note: This 
diagnostic occurred in the compiler generated function 
'osg::GraphicsOperation::GraphicsOperation(const osg::GraphicsOperation )' 
(compiling source file 
I:\Libraries\OpenSceneGraphTrunk\src\osg\TextureCubeMap.cpp)

But according Microsoft it's a vs2015 bug that will be fixed in the next update 
(https://connect.microsoft.com/VisualStudio/feedback/details/1570496/vs-2015-generates-a-copy-constructor-and-then-complains-about-it)

Btw VS2015 now also warns when a variable is shadowing another one, this 
amounts to over 600 warnings. In gcc or clang you can probably turn them on 
with -Wshadow. Some of them are in osg core, I'll look into those when I get 
back from vacation.

Cheers,
Pjotr

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64461#64461





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] OpenSceneGraph-3.4.0 release candidate 7 tagged

2015-07-23 Thread Robert Osfield
Hi All,

Just when I thought it was safe to tag 3.4.0 along came a few reports of
compile errors with new compilers and GL header variants.

I've spent the day fixing warnings reported by Clang and compile warnings
for VS2015, merged a compile fix for VS2015, and made a few tweaks to the
include/osg/GL header Cmake setup to automatically detect whether the GL
header provides GLuint64 and GLint64 or not.  Phew... busy busy day...

   - Zip file containing source code : OpenSceneGraph-3.4.0-rc7.zip
   
http://www.openscenegraph.org/downloads/developer_releases/OpenSceneGraph-3.4.0-rc7.zip
   - Subversion tag for 3.4.0-rc7 : svn co
   http://svn.openscenegraph.org/osg/OpenSceneGraph/tags/OpenSceneGraph-3.4.
   
http://svn.openscenegraph.org/osg/OpenSceneGraph/tags/OpenSceneGraph-3.4.0-rc70-rc7
   OpenSceneGraph

My plan was to make the 3.4.0 stable release today but with so many changes
checked in today it's not safe to tag now, we unfortunately need more
testing.  I'm in holiday mode next week so not coding so won't be pushing
out a release, but may occasionally check my mail.  This gives you plenty
more opportunities for testing out the OSG-3.4 branch or the 3.4.0-rc7.

In the week of the 3rd of August I'll be back pushing forward for the 3.4.0
and 3.2.2 stable releases so they be out before Siggraph.

Thanks to all those who've been testing and help fix up problems we've
spotted.  Please test more folks, the more testing the better we can make
3.4.

Cheers,

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org