Open GoogleCodeExporter opened 9 years ago
Hi, I am usring ubuntu 10.04, I have install the openGL related development
tools(actually i don't know how to program in 3D with openGL, i just install
them), but i failed while compiling too:
Compiling Cube.logo to Cube.cpp
Compiling Cube.cpp to Cube.o
Compiling wrapper code
Linking wrapper code with Cube.o to produce executable Cube.
wrapper_main.o: In function `main':
wrapper_main.cpp:(.text+0x3bb): undefined reference to `glXSwapIntervalSGI'
collect2: ld returned 1 exit status
any advice?
Original comment by shenjie...@gmail.com
on 17 Dec 2012 at 12:30
WRT the undefined reference to `glXSwapIntervalSGI' error, in main_wrapper.c,
simply comment out this call.
I'm building this on Debian. It looks like it's working correctly, the graphics
come up nicely.
Googled up similar errors to this one to see if there was a way around it. This
is what was suggested.
I know you had this problem years ago, just answering here so that if anyone
wants to make this code work, they should be able to now.
Cheers,
Dave
Original comment by creelman...@gmail.com
on 2 Sep 2014 at 11:06
Original issue reported on code.google.com by
dwinie...@boisestate.edu
on 26 Apr 2012 at 6:23