Jump to content
  • Advertisement
Sign in to follow this  
LordG

Compiling error when trying to install Glui on Linux

This topic is 5470 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was trying to install Glui on Linux, and I got this error when trying to compile the source. g++ -O3 -c -I/usr/include/ glui_add_controls.cpp In file included from glui_add_controls.cpp:19: glui.h:298: error: friend declaration requires class-key, i.e. `friend struct GLUI_Rollout' glui.h:299: error: friend declaration requires class-key, i.e. `friend struct GLUI_Main' glui.h:562: error: friend declaration requires class-key, i.e. `friend struct GLUI_Control' glui.h:563: error: friend declaration requires class-key, i.e. `friend struct GLUI_Rotation' glui.h:564: error: friend declaration requires class-key, i.e. `friend struct GLUI_Translation' glui.h:565: error: friend declaration requires class-key, i.e. `friend struct GLUI' glui.h:566: error: friend declaration requires class-key, i.e. `friend class GLUI_Master_Object' make: *** [glui_add_controls.o] Error 1 Does anyone know what the error message mean??

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!