Jump to content
  • Advertisement
Sign in to follow this  
kospanak

OpenGL Glui on linux

This topic is 3774 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

Hello. i have a problem. I made a program in opengl and now i want to add a glui menu. Unfortunately, i have numerous mistakes when i compile it. It seems unable to compile the elements of glui (spinners, buttons, etc). What could be the problem how can i solve it? PS: I am wondering is it possible to compile a programm with glui through use of gcc?

Share this post


Link to post
Share on other sites
Advertisement
I am sure that it can be compiled with gcc, you will have to give more information though. It would help if you could please post the errors you are receiving? I am assuming you compiled the library yourself? Are you linking it into the executable? Are you including the libraries include path?

Share this post


Link to post
Share on other sites
Here is my makefile:

######################
GLIBS = -lglui -lglut -lGLU -lGL
XLIBS = -L/usr/X11R6/lib -lXext -lX11

cubemap : cubemap.o tga.o
gcc -o $@ -mtune=generic cubemap.o tga.o $(GLIBS) $(XLIBS) -lm

cubemap.o : cubemap.c tga.h
gcc -c cubemap.c

tga.o : tga.c tga.h
gcc -c tga.c

clean:
/bin/rm -f cubemap.o tga.o cubemap

###########################

And here are the mistakes when i compile

/usr/include/GL/glui.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Arcball'
/usr/include/GL/glui.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘RGBc’
/usr/include/GL/glui.h:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_String’
/usr/include/GL/glui.h:212: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI’
/usr/include/GL/glui.h:213: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Control’
/usr/include/GL/glui.h:214: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Listbox’
/usr/include/GL/glui.h:215: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rotation’
/usr/include/GL/glui.h:216: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Translation’
/usr/include/GL/glui.h:217: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Mouse_Interaction’
/usr/include/GL/glui.h:218: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Checkbox’
/usr/include/GL/glui.h:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_HSlider’
/usr/include/GL/glui.h:220: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Button’
/usr/include/GL/glui.h:221: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_StaticText’
/usr/include/GL/glui.h:222: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Bitmap’
/usr/include/GL/glui.h:223: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_EditText’
/usr/include/GL/glui.h:224: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Node’
/usr/include/GL/glui.h:225: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Main’
/usr/include/GL/glui.h:226: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Panel’
/usr/include/GL/glui.h:227: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Spinner’
/usr/include/GL/glui.h:228: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioButton’
/usr/include/GL/glui.h:229: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioGroup’
/usr/include/GL/glui.h:230: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Separator’
/usr/include/GL/glui.h:231: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Column’
/usr/include/GL/glui.h:232: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Master’
/usr/include/GL/glui.h:233: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Glut_Window’
/usr/include/GL/glui.h:234: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rollout’
/usr/include/GL/glui.h:271: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Node’
/usr/include/GL/glui.h:381: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Bitmap’
/usr/include/GL/glui.h:404: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_StdBitmaps’
/usr/include/GL/glui.h:428: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Master_Object’
/usr/include/GL/glui.h:505: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Master’
/usr/include/GL/glui.h:515: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Glut_Window’
/usr/include/GL/glui.h:552: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Main’
/usr/include/GL/glui.h:673: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Control’
/usr/include/GL/glui.h:840: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Button’
/usr/include/GL/glui.h:875: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Checkbox’
/usr/include/GL/glui.h:916: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Column’
/usr/include/GL/glui.h:938: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Panel’
/usr/include/GL/glui.h:966: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rollout’
/usr/include/GL/glui.h:1008: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI’
/usr/include/GL/glui.h:1148: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_EditText’
/usr/include/GL/glui.h:1237: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioGroup’
/usr/include/GL/glui.h:1272: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioButton’
/usr/include/GL/glui.h:1310: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Separator’
/usr/include/GL/glui.h:1342: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Spinner’
/usr/include/GL/glui.h:1431: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_HSlider’
/usr/include/GL/glui.h:1519: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_StaticText’
/usr/include/GL/glui.h:1544: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Listbox_Item’
/usr/include/GL/glui.h:1551: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Listbox’
/usr/include/GL/glui.h:1614: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Mouse_Interaction’
/usr/include/GL/glui.h:1658: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rotation’
/usr/include/GL/glui.h:1706: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Translation’
make: *** [cubemap.o] Error 1


It seems as if the whole glui is a BIG mistake (which is impossible)

Share this post


Link to post
Share on other sites
Here is my makefile:

######################
GLIBS = -lglui -lglut -lGLU -lGL
XLIBS = -L/usr/X11R6/lib -lXext -lX11

cubemap : cubemap.o tga.o
gcc -o $@ -mtune=generic cubemap.o tga.o $(GLIBS) $(XLIBS) -lm

cubemap.o : cubemap.c tga.h
gcc -c cubemap.c

tga.o : tga.c tga.h
gcc -c tga.c

clean:
/bin/rm -f cubemap.o tga.o cubemap

###########################

And here are the mistakes when i compile

/usr/include/GL/glui.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Arcball'
/usr/include/GL/glui.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘RGBc’
/usr/include/GL/glui.h:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_String’
/usr/include/GL/glui.h:212: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI’
/usr/include/GL/glui.h:213: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Control’
/usr/include/GL/glui.h:214: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Listbox’
/usr/include/GL/glui.h:215: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rotation’
/usr/include/GL/glui.h:216: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Translation’
/usr/include/GL/glui.h:217: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Mouse_Interaction’
/usr/include/GL/glui.h:218: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Checkbox’
/usr/include/GL/glui.h:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_HSlider’
/usr/include/GL/glui.h:220: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Button’
/usr/include/GL/glui.h:221: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_StaticText’
/usr/include/GL/glui.h:222: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Bitmap’
/usr/include/GL/glui.h:223: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_EditText’
/usr/include/GL/glui.h:224: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Node’
/usr/include/GL/glui.h:225: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Main’
/usr/include/GL/glui.h:226: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Panel’
/usr/include/GL/glui.h:227: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Spinner’
/usr/include/GL/glui.h:228: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioButton’
/usr/include/GL/glui.h:229: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioGroup’
/usr/include/GL/glui.h:230: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Separator’
/usr/include/GL/glui.h:231: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Column’
/usr/include/GL/glui.h:232: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Master’
/usr/include/GL/glui.h:233: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Glut_Window’
/usr/include/GL/glui.h:234: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rollout’
/usr/include/GL/glui.h:271: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Node’
/usr/include/GL/glui.h:381: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Bitmap’
/usr/include/GL/glui.h:404: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_StdBitmaps’
/usr/include/GL/glui.h:428: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Master_Object’
/usr/include/GL/glui.h:505: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Master’
/usr/include/GL/glui.h:515: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Glut_Window’
/usr/include/GL/glui.h:552: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Main’
/usr/include/GL/glui.h:673: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Control’
/usr/include/GL/glui.h:840: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Button’
/usr/include/GL/glui.h:875: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Checkbox’
/usr/include/GL/glui.h:916: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Column’
/usr/include/GL/glui.h:938: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Panel’
/usr/include/GL/glui.h:966: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rollout’
/usr/include/GL/glui.h:1008: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI’
/usr/include/GL/glui.h:1148: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_EditText’
/usr/include/GL/glui.h:1237: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioGroup’
/usr/include/GL/glui.h:1272: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioButton’
/usr/include/GL/glui.h:1310: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Separator’
/usr/include/GL/glui.h:1342: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Spinner’
/usr/include/GL/glui.h:1431: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_HSlider’
/usr/include/GL/glui.h:1519: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_StaticText’
/usr/include/GL/glui.h:1544: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Listbox_Item’
/usr/include/GL/glui.h:1551: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Listbox’
/usr/include/GL/glui.h:1614: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Mouse_Interaction’
/usr/include/GL/glui.h:1658: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rotation’
/usr/include/GL/glui.h:1706: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Translation’
make: *** [cubemap.o] Error 1


It seems as if the whole glui is a BIG mistake (which is impossible)

Share this post


Link to post
Share on other sites
Here is my makefile:

######################
GLIBS = -lglui -lglut -lGLU -lGL
XLIBS = -L/usr/X11R6/lib -lXext -lX11

cubemap : cubemap.o tga.o
gcc -o $@ -mtune=generic cubemap.o tga.o $(GLIBS) $(XLIBS) -lm

cubemap.o : cubemap.c tga.h
gcc -c cubemap.c

tga.o : tga.c tga.h
gcc -c tga.c

clean:
/bin/rm -f cubemap.o tga.o cubemap

###########################

And here are the mistakes when i compile

/usr/include/GL/glui.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Arcball'
/usr/include/GL/glui.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘RGBc’
/usr/include/GL/glui.h:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_String’
/usr/include/GL/glui.h:212: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI’
/usr/include/GL/glui.h:213: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Control’
/usr/include/GL/glui.h:214: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Listbox’
/usr/include/GL/glui.h:215: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rotation’
/usr/include/GL/glui.h:216: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Translation’
/usr/include/GL/glui.h:217: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Mouse_Interaction’
/usr/include/GL/glui.h:218: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Checkbox’
/usr/include/GL/glui.h:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_HSlider’
/usr/include/GL/glui.h:220: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Button’
/usr/include/GL/glui.h:221: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_StaticText’
/usr/include/GL/glui.h:222: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Bitmap’
/usr/include/GL/glui.h:223: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_EditText’
/usr/include/GL/glui.h:224: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Node’
/usr/include/GL/glui.h:225: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Main’
/usr/include/GL/glui.h:226: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Panel’
/usr/include/GL/glui.h:227: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Spinner’
/usr/include/GL/glui.h:228: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioButton’
/usr/include/GL/glui.h:229: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioGroup’
/usr/include/GL/glui.h:230: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Separator’
/usr/include/GL/glui.h:231: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Column’
/usr/include/GL/glui.h:232: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Master’
/usr/include/GL/glui.h:233: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Glut_Window’
/usr/include/GL/glui.h:234: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rollout’
/usr/include/GL/glui.h:271: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Node’
/usr/include/GL/glui.h:381: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Bitmap’
/usr/include/GL/glui.h:404: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_StdBitmaps’
/usr/include/GL/glui.h:428: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Master_Object’
/usr/include/GL/glui.h:505: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Master’
/usr/include/GL/glui.h:515: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Glut_Window’
/usr/include/GL/glui.h:552: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Main’
/usr/include/GL/glui.h:673: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Control’
/usr/include/GL/glui.h:840: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Button’
/usr/include/GL/glui.h:875: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Checkbox’
/usr/include/GL/glui.h:916: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Column’
/usr/include/GL/glui.h:938: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Panel’
/usr/include/GL/glui.h:966: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rollout’
/usr/include/GL/glui.h:1008: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI’
/usr/include/GL/glui.h:1148: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_EditText’
/usr/include/GL/glui.h:1237: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioGroup’
/usr/include/GL/glui.h:1272: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioButton’
/usr/include/GL/glui.h:1310: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Separator’
/usr/include/GL/glui.h:1342: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Spinner’
/usr/include/GL/glui.h:1431: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_HSlider’
/usr/include/GL/glui.h:1519: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_StaticText’
/usr/include/GL/glui.h:1544: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Listbox_Item’
/usr/include/GL/glui.h:1551: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Listbox’
/usr/include/GL/glui.h:1614: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Mouse_Interaction’
/usr/include/GL/glui.h:1658: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rotation’
/usr/include/GL/glui.h:1706: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Translation’
make: *** [cubemap.o] Error 1


It seems as if the whole glui is a BIG mistake (which is impossible)

Share this post


Link to post
Share on other sites
Here is my makefile:

######################
GLIBS = -lglui -lglut -lGLU -lGL
XLIBS = -L/usr/X11R6/lib -lXext -lX11

cubemap : cubemap.o tga.o
gcc -o $@ -mtune=generic cubemap.o tga.o $(GLIBS) $(XLIBS) -lm

cubemap.o : cubemap.c tga.h
gcc -c cubemap.c

tga.o : tga.c tga.h
gcc -c tga.c

clean:
/bin/rm -f cubemap.o tga.o cubemap

###########################

And here are the mistakes when i compile

/usr/include/GL/glui.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Arcball'
/usr/include/GL/glui.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘RGBc’
/usr/include/GL/glui.h:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_String’
/usr/include/GL/glui.h:212: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI’
/usr/include/GL/glui.h:213: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Control’
/usr/include/GL/glui.h:214: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Listbox’
/usr/include/GL/glui.h:215: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rotation’
/usr/include/GL/glui.h:216: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Translation’
/usr/include/GL/glui.h:217: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Mouse_Interaction’
/usr/include/GL/glui.h:218: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Checkbox’
/usr/include/GL/glui.h:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_HSlider’
/usr/include/GL/glui.h:220: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Button’
/usr/include/GL/glui.h:221: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_StaticText’
/usr/include/GL/glui.h:222: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Bitmap’
/usr/include/GL/glui.h:223: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_EditText’
/usr/include/GL/glui.h:224: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Node’
/usr/include/GL/glui.h:225: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Main’
/usr/include/GL/glui.h:226: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Panel’
/usr/include/GL/glui.h:227: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Spinner’
/usr/include/GL/glui.h:228: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioButton’
/usr/include/GL/glui.h:229: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioGroup’
/usr/include/GL/glui.h:230: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Separator’
/usr/include/GL/glui.h:231: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Column’
/usr/include/GL/glui.h:232: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Master’
/usr/include/GL/glui.h:233: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Glut_Window’
/usr/include/GL/glui.h:234: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rollout’
/usr/include/GL/glui.h:271: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Node’
/usr/include/GL/glui.h:381: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Bitmap’
/usr/include/GL/glui.h:404: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_StdBitmaps’
/usr/include/GL/glui.h:428: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Master_Object’
/usr/include/GL/glui.h:505: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Master’
/usr/include/GL/glui.h:515: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Glut_Window’
/usr/include/GL/glui.h:552: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Main’
/usr/include/GL/glui.h:673: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Control’
/usr/include/GL/glui.h:840: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Button’
/usr/include/GL/glui.h:875: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Checkbox’
/usr/include/GL/glui.h:916: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Column’
/usr/include/GL/glui.h:938: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Panel’
/usr/include/GL/glui.h:966: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rollout’
/usr/include/GL/glui.h:1008: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI’
/usr/include/GL/glui.h:1148: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_EditText’
/usr/include/GL/glui.h:1237: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioGroup’
/usr/include/GL/glui.h:1272: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_RadioButton’
/usr/include/GL/glui.h:1310: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Separator’
/usr/include/GL/glui.h:1342: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Spinner’
/usr/include/GL/glui.h:1431: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_HSlider’
/usr/include/GL/glui.h:1519: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_StaticText’
/usr/include/GL/glui.h:1544: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Listbox_Item’
/usr/include/GL/glui.h:1551: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Listbox’
/usr/include/GL/glui.h:1614: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Mouse_Interaction’
/usr/include/GL/glui.h:1658: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Rotation’
/usr/include/GL/glui.h:1706: error: expected '=', ',', ';', 'asm' or '__attribute__' before ‘GLUI_Translation’
make: *** [cubemap.o] Error 1


It seems as if the whole glui is a BIG mistake (which is impossible)

Share this post


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

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!