Re: OpenGL: Linker errors when trying to compile w/GLUI

2008-05-16 Thread André Bleau
godescbach wrote: > Hi, > > I am trying to compile example1.cpp in > /var/share/doc/opengl-1.1.0/GLUIexamples/Cygwin. After trying numerous > possibilities, I am at a loss. And there is no information on the web > about this specific issue. Please advise. > > $ uname -a > CYGWIN_NT-5.1 esche

Re: OpenGL: Linker errors when trying to compile w/GLUI

2008-05-16 Thread Brian Dessent
godescbach wrote: > $ g++ -O2 -mno-cygwin example1.cpp -o example1 -L/usr/lib/w32api -lglui > -lglut3 > 2 -lglu32 -lopengl32 > /usr/lib/w32api/libglui.a(glui_spinner.o):glui_spinner.cpp:(.text+0xd): > undefine > d reference to `___getreent' This error means you're trying to use a Cygwin library

OpenGL: Linker errors when trying to compile w/GLUI

2008-05-16 Thread godescbach
Hi, I am trying to compile example1.cpp in /var/share/doc/opengl-1.1.0/GLUIexamples/Cygwin. After trying numerous possibilities, I am at a loss. And there is no information on the web about this specific issue. Please advise. $ uname -a CYGWIN_NT-5.1 escher_notebook 1.5.25(0.156/4/2) 2008-04-1