Game Development Community

Help building TGE1.5.2

by Igor G · in Torque Game Engine · 09/04/2007 (10:48 am) · 4 replies

I'm having a problem with the linker - it keeps reporting that it can't find -lGLU.

I've downloaded and installed Mesa3D 7.0.1 by doing a make install.

Any ideas or help would be appreciated. I'm fairly new to Linux.

Thanks

#1
09/04/2007 (12:00 pm)
Did you install your libglu and its accompanying dev package(s) ?

On ubuntu feisty, those would be the libglu1-mesa and libglu1-mesa-dev. If you're running a different distro, the package names would likely be different, but close.
#2
09/05/2007 (6:36 am)
I'm running Fedora Core 7.

Doesn't make install on the Mesa3D package automatically build and install libglu?

In any case, I removed the -static link option and it seems to work now.
#3
09/05/2007 (9:02 am)
Ok, I realized removing the -static option wasn't a good thing, so I did a make linux-x86-static on Mesa3D and it works now.
#4
09/05/2007 (9:04 am)
Yeah, it should.

If you can only link against shared libraries, which is what is happening if you removed the -static option from the linker command for linking the game engine, it sounds like your building of MESA isn't making the statis libraries. If this is true, you should be able to reconfigure your MESA build so it builds both static and shared libraries.

..... hehe, got the notification of your most recent post while writing this one. Glad to see you got it working, :-).