[osg-users] error compiling osg 2.6.1 on mac os x 10.4.11

2009-01-03 Thread Francesco Argese
Hi guys,

i'm trying to install OSG 2.6.1 on Mac OS X 10.4.11.
The version of cmake is 2.6-patch 2.
The version of gcc is i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple
Computer, Inc. build 5250)
The version of g++ is i686-apple-darwin8-g++-4.0.1 (GCC) 4.0.1 (Apple
Computer, Inc. build 5250)
I have typed the following commands (as written on documentation):

./configure
make

The compilation start until 20% when it told me this error (it seems
to be a compiler problem):

[ 20%] Building CXX object src/osgUtil/CMakeFiles/osgUtil.dir/Tessellator.cpp.o
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp: In member
function 'void osgUtil::Tessellator::beginTessellation()':
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:44: error:
invalid conversion from 'void (*)()' to 'GLvoid
(*)(...)'/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp: In member
function 'void osgUtil::Tessellator::beginTessellation()':
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:44: error:
invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:44: error:
initializing argument 3 of 'void gluTessCallback(GLUtesselator*,
GLenum, GLvoid (*)(...))'
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:45: error:
invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:45: error:
initializing argument 3 of 'void gluTessCallback(GLUtesselator*,
GLenum, GLvoid (*)(...))'

/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:44: error:
initializing argument 3 of 'void gluTessCallback(GLUtesselator*,
GLenum, GLvoid (*)(...))'/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:46: error:
invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:46: error:
initializing argument 3 of 'void gluTessCallback(GLUtesselator*,
GLenum, GLvoid (*)(...))'
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:47: error:
invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:47: error:
initializing argument 3 of 'void gluTessCallback(GLUtesselator*,
GLenum, GLvoid (*)(...))'
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:48: error:
invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'

/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:48: error:
initializing argument 3 of 'void gluTessCallback(GLUtesselator*,
GLenum, GLvoid (*)(...))'
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:45: error:
invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:45: error:
initializing argument 3 of 'void gluTessCallback(GLUtesselator*,
GLenum, GLvoid (*)(...))'
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:46: error:
invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:46: error:
initializing argument 3 of 'void gluTessCallback(GLUtesselator*,
GLenum, GLvoid (*)(...))'
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:47: error:
invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:47: error:
initializing argument 3 of 'void gluTessCallback(GLUtesselator*,
GLenum, GLvoid (*)(...))'
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:48: error:
invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
/Users/argesino/Development/3D
Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:48: error:
initializing argument 3 of 'void gluTessCallback(GLUtesselator*,
GLenum, GLvoid (*)(...))'
lipo: can't figure out the architecture type of: /var/tmp//ccn3IWWi.out
make[2]: *** [src/osgUtil/CMakeFiles/osgUtil.dir/Tessellator.cpp.o] Error 1
make[1]: *** [src/osgUtil/CMakeFiles/osgUtil.dir/all] Error 2
make: *** [all] Error 2

Anyone have the same problem? How can i resolve it?

Thanks in advance
Francesco Argese
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] error compiling osg 2.6.1 on mac os x 10.4.11

2009-01-03 Thread Paul Fotheringham
--- On Sat, 3/1/09, Francesco Argese kekk...@gmail.com wrote:

 From: Francesco Argese kekk...@gmail.com
 Subject: [osg-users] error compiling osg 2.6.1 on mac os x 10.4.11
 To: OpenSceneGraph Users osg-users@lists.openscenegraph.org
 Date: Saturday, 3 January, 2009, 11:51 AM
 Hi guys,
 
 i'm trying to install OSG 2.6.1 on Mac OS X 10.4.11.
 The version of cmake is 2.6-patch 2.
 The version of gcc is i686-apple-darwin8-gcc-4.0.1 (GCC)
 4.0.1 (Apple
 Computer, Inc. build 5250)
 The version of g++ is i686-apple-darwin8-g++-4.0.1 (GCC)
 4.0.1 (Apple
 Computer, Inc. build 5250)
 I have typed the following commands (as written on
 documentation):
 
 ./configure
 make
 
 The compilation start until 20% when it told me this error
 (it seems
 to be a compiler problem):
 
 [ 20%] Building CXX object
 src/osgUtil/CMakeFiles/osgUtil.dir/Tessellator.cpp.o
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:
 In member
 function 'void
 osgUtil::Tessellator::beginTessellation()':
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:44:
 error:
 invalid conversion from 'void (*)()' to 'GLvoid
 (*)(...)'/Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:
 In member
 function 'void
 osgUtil::Tessellator::beginTessellation()':
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:44:
 error:
 invalid conversion from 'void (*)()' to 'GLvoid
 (*)(...)'
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:44:
 error:
 initializing argument 3 of 'void
 gluTessCallback(GLUtesselator*,
 GLenum, GLvoid (*)(...))'
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:45:
 error:
 invalid conversion from 'void (*)()' to 'GLvoid
 (*)(...)'
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:45:
 error:
 initializing argument 3 of 'void
 gluTessCallback(GLUtesselator*,
 GLenum, GLvoid (*)(...))'
 
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:44:
 error:
 initializing argument 3 of 'void
 gluTessCallback(GLUtesselator*,
 GLenum, GLvoid (*)(...))'/Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:46:
 error:
 invalid conversion from 'void (*)()' to 'GLvoid
 (*)(...)'
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:46:
 error:
 initializing argument 3 of 'void
 gluTessCallback(GLUtesselator*,
 GLenum, GLvoid (*)(...))'
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:47:
 error:
 invalid conversion from 'void (*)()' to 'GLvoid
 (*)(...)'
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:47:
 error:
 initializing argument 3 of 'void
 gluTessCallback(GLUtesselator*,
 GLenum, GLvoid (*)(...))'
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:48:
 error:
 invalid conversion from 'void (*)()' to 'GLvoid
 (*)(...)'
 
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:48:
 error:
 initializing argument 3 of 'void
 gluTessCallback(GLUtesselator*,
 GLenum, GLvoid (*)(...))'
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:45:
 error:
 invalid conversion from 'void (*)()' to 'GLvoid
 (*)(...)'
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:45:
 error:
 initializing argument 3 of 'void
 gluTessCallback(GLUtesselator*,
 GLenum, GLvoid (*)(...))'
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:46:
 error:
 invalid conversion from 'void (*)()' to 'GLvoid
 (*)(...)'
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:46:
 error:
 initializing argument 3 of 'void
 gluTessCallback(GLUtesselator*,
 GLenum, GLvoid (*)(...))'
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:47:
 error:
 invalid conversion from 'void (*)()' to 'GLvoid
 (*)(...)'
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:47:
 error:
 initializing argument 3 of 'void
 gluTessCallback(GLUtesselator*,
 GLenum, GLvoid (*)(...))'
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:48:
 error:
 invalid conversion from 'void (*)()' to 'GLvoid
 (*)(...)'
 /Users/argesino/Development/3D
 Graphics/OpenSceneGraph-2.6.1/src/osgUtil/Tessellator.cpp:48:
 error:
 initializing argument 3 of 'void
 gluTessCallback(GLUtesselator*,
 GLenum, GLvoid (*)(...))'
 lipo: can't figure out the architecture type of:
 /var/tmp//ccn3IWWi.out
 make[2]: ***
 [src/osgUtil/CMakeFiles/osgUtil.dir/Tessellator.cpp.o] Error
 1
 make[1]: *** [src/osgUtil/CMakeFiles/osgUtil.dir/all] Error