code-google-com / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

Trunk: Building failed on Linux #284

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Checkout latest revision from SVN (r1788)
2. cmake Project
3. make

What is the expected output? What do you see instead?
make
Building CXX object Demos/OpenGL/CMakeFiles/OpenGLSupport.dir/GL_DialogWindow.o
/home/markus/Desktop/bullet-read-only/Demos/OpenGL/GL_DialogWindow.cpp:38:
error: ‘void (* glTexImage3D)(GLenum, GLint, GLint, GLsizei, GLsizei,
GLsizei, GLint, GLenum, GLenum, const GLvoid*)’ redeclared as different
kind of symbol                                                            

/usr/include/GL/gl.h:1532: error: previous declaration of ‘void
glTexImage3D(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint,
GLenum, GLenum, const GLvoid*)’                                           

/home/markus/Desktop/bullet-read-only/Demos/OpenGL/GL_DialogWindow.cpp:39:
error: ‘void (* glActiveTextureARB)(GLenum)’ redeclared as different kind
of symbol                                                       
/usr/include/GL/gl.h:2071: error: previous declaration of ‘void
glActiveTextureARB(GLenum)’                                               

/home/markus/Desktop/bullet-read-only/Demos/OpenGL/GL_DialogWindow.cpp:40:
error: ‘void (* glClientActiveTextureARB)(GLenum)’ redeclared as different
kind of symbol                                                 
/usr/include/GL/gl.h:2072: error: previous declaration of ‘void
glClientActiveTextureARB(GLenum)’                                         

/home/markus/Desktop/bullet-read-only/Demos/OpenGL/GL_DialogWindow.cpp:41:
error: ‘void (* glBlendEquation)(GLenum)’ redeclared as different kind of
symbol                                                          
/usr/include/GL/gl.h:1664: error: previous declaration of ‘void
glBlendEquation(GLenum)’                                                  

/home/markus/Desktop/bullet-read-only/Demos/OpenGL/GL_DialogWindow.cpp: In
member function ‘void GL_DialogWindow::restoreOpenGLState()’:             

/home/markus/Desktop/bullet-read-only/Demos/OpenGL/GL_DialogWindow.cpp:398:
error: invalid conversion from ‘void*’ to ‘GLuint’                      

make[2]: *** [Demos/OpenGL/CMakeFiles/OpenGLSupport.dir/GL_DialogWindow.o]
Error 1                                                                   

make[1]: *** [Demos/OpenGL/CMakeFiles/OpenGLSupport.dir/all] Error 2      

make: *** [all] Error 2    

What version of the product are you using? On what operating system?
r1788 on Debian unstable (sid)

Please provide any additional information below.
Version 2.75 builds fine without any issues.

Original issue reported on code.google.com by webmas...@pirchnerast.at on 27 Sep 2009 at 1:47

GoogleCodeExporter commented 9 years ago
Could you remove the offending lines until it compiles?

You probably need to comment-out the whole block (that says #ifndef __APPLE__, 
and then a lot of the 
backup/restore OpenGL state)

We'll fix it soon,
Thanks,
Erwin

Original comment by erwin.coumans on 27 Sep 2009 at 7:58

GoogleCodeExporter commented 9 years ago
latest trunk should build fine.

Original comment by erwin.coumans on 3 Nov 2009 at 6:14