You are not logged in.

#1 2013-06-16 16:20:22

musasabi
Member
From: Chicago, IL
Registered: 2011-06-23
Posts: 63

arcsynthesis.org's GL tutorials

I'm attempting to compile and run the latest source for Jason L. McKesson's tutorial. For those who don't know, it's distributed with a modified copy of the unofficial OpenGL SDK that you build and all of the examples link against. This package includes glload, glimg, freeglut, glutil, and glmesh. Those all compile fine. The examples also rely on a "framework" project from another directory that does the GLUT window and context handling business. That also seems to compile just fine.

However, when I try to build the Test project, I get the following:

patrick@blackbox ~/Tutorial 0.3.8/Test $ make
==== Building framework (debug) ====
==== Building Test (debug) ====
Linking Test
/usr/bin/ld: ../glsdk/freeglut/lib/libfreeglutD.a(freeglut_main.o): undefined reference to symbol 'XPending'
/usr/bin/ld: note: 'XPending' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [TestD] Error 1
make: *** [Test] Error 2

I am unsure where in the build structure I need to add a -lX11 if that's even what's needed. The framework project and freeglut have their own Makefiles, of course.

Any tips?

Offline

#2 2013-07-21 04:09:01

patstew
Member
Registered: 2008-08-04
Posts: 10

Re: arcsynthesis.org's GL tutorials

Offline

Board footer

Powered by FluxBB