GLUT library not found or too old version. 3.7 (beta) or lat

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
lee
Confed Special Operative
Confed Special Operative
Posts: 322
Joined: Sat Aug 21, 2004 2:17 pm

GLUT library not found or too old version. 3.7 (beta) or lat

Post by lee »

Hi,

I'm trying to compile the sources from cvs and after some trying have come as far as to get the message 'configure: error: GLUT library not found or too old version. 3.7 (beta) or later required.'.

Is there a Debian package for that? I've installed the following (on Sarge):


yun:/home/lee# dpkg --get-selections |grep -i glut
freeglut3 install
freeglut3-dev install
libglut3 install
libglut3-dev install


What am I missing?

The config.log is attached.


GH
You do not have the required permissions to view the files attached to this post.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

for some reason you don't have an libXmu.so in your /usr/X11R6/lib path--do you have said file? if not you'd have to edit configure and replace all instances of -lXmu with nothing
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
lee
Confed Special Operative
Confed Special Operative
Posts: 322
Joined: Sat Aug 21, 2004 2:17 pm

Post by lee »

Thanks a lot, I didn't have that file! The only thing I'm missing now is some crypto support; configure says:


No Crypto++ support


I've installed some crypto-dev files and python support for it, but it seems to need something else.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

it shouldn't *need* crypto at all--we don't use it
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

Actually, I've seen some "crypto" references in the code. Mostly text talking about whether to use it or not. Could it be that someone, intending to use it in multiplayer, added it to the linking?
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

quite possible--feel free to comment out the check in the config--I bet it would still work...
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
lee
Confed Special Operative
Confed Special Operative
Posts: 322
Joined: Sat Aug 21, 2004 2:17 pm

Post by lee »

Well, I just thought I'd loose some feature without crypto that otherwise would be compiled in because configure checked for it.

But it doesn't compile:

saveinterface.cpp: In function `void LoadMissionDialog(char*, int)':
saveinterface.cpp:870: error: parse error before `,' token
saveinterface.cpp: In function `void LoadSaveDialog(char*, char*, int)':
saveinterface.cpp:903: error: parse error before `)' token
saveinterface.cpp: In function `void LoadAutoDialog(char*, char*, int)':
saveinterface.cpp:907: error: parse error before `)' token
{standard input}: Assembler messages:
{standard input}:125: Error: symbol `gtk_widget_show' is already defined
{standard input}:161: Error: symbol `gdk_window_destroy' is already defined
[...]
{standard input}:931: Error: symbol `gtk_widget_show' is already defined
{standard input}:937: Error: symbol `GTK_FILE_SELECTION' is already defined
make[2]: *** [saveinterface.o] Error 1
make[2]: Leaving directory `/home/lee/vegastrike_0_4_3/vegastrike/launcher'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lee/vegastrike_0_4_3/vegastrike'
make: *** [all] Error 2
Error running 'make'


But saveinterface.cpp:870 looks ok to me.


PS: Ah, it starts further above:

/bin/sh: line 1: gtk-config: command not found
saveinterface.cpp:6:21: gtk/gtk.h: No such file or directory
saveinterface.cpp:106: error: `GtkWidget' was not declared in this scope


Seems I should install some more packages first ...
lee
Confed Special Operative
Confed Special Operative
Posts: 322
Joined: Sat Aug 21, 2004 2:17 pm

Post by lee »

Great, it now has been compiled :)
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

yep it should have dumped a src/vegastrike file :-) which you can copy into your data4.x/bin directory
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
lee
Confed Special Operative
Confed Special Operative
Posts: 322
Joined: Sat Aug 21, 2004 2:17 pm

Post by lee »

The shell script did a nice installation under /usr/local/games --- it even asked for the root password to get write access to there :)
Post Reply