I just got the new Bullet 2.64 and the "AllBulletDemos" does not compile with GCC 4.x (tested on AMD64 and x86):
Code: Select all
In file included from Demos/AllBulletDemos/Main.cpp:21:
./Extras/glui/GL/glui.h:377: error: ISO C++ forbids declaration of ‘GLUI_Rollout’ with no type
./Extras/glui/GL/glui.h:377: error: ‘GLUI_Rollout’ declared as a ‘virtual’ field
./Extras/glui/GL/glui.h:377: error: expected ‘;’ before ‘*’ token
./Extras/glui/GL/glui.h:382: error: expected `;' before ‘virtual’
./Extras/glui/GL/glui.h:382: error: ISO C++ forbids declaration of ‘GLUI_Tree’ with no type
./Extras/glui/GL/glui.h:382: error: ‘GLUI_Tree’ declared as a ‘virtual’ field
./Extras/glui/GL/glui.h:382: error: expected ‘;’ before ‘*’ token
./Extras/glui/GL/glui.h:387: error: expected `;' before ‘virtual’
Demos/AllBulletDemos/Main.cpp: In function ‘void Resize(int, int)’:
Demos/AllBulletDemos/Main.cpp:68: warning: unused variable ‘ratio’
Demos/AllBulletDemos/Main.cpp:46: warning: '<unnamed>::z' defined but not used
All in all it would be better to use a maybe available GLUI installation. Most Linux distributions come with GLUI and GLUI-dev packages, so it should be no problem. Don't care for Windows though
I have seen some new warnings...I will see if I can find time to fix them
Best regards,
Enrico