./configure fails, reporting libglut 3.7 or bigger is missing.
well, i HAVE libglut 3.7 (+ symlinks on libglut.so, .so.3)
and it proviedes the missing function (KeyboardUpFunc)
does anyone know about this error ???
thx
Linux -- -lglut
I have this problem too, with linux glut
I don't know what's up? I think problem is name of library. But i try to change with symbolic link's and nothing. HELP PLEASE!!!!!!!
3 things
i am using debian potato 2.2r4 / 2.2.19
at first, i had the same problems, i got into the configure script and figured out what it tries to check:
aha.
it turned out that it did not find some stuff that is imported from the Xmu lib. that means: the glut would work perfectly, but the check fails because of an other missing lib. (...missing to be included i mean)
when i tried it with
it worked. so (shame on me for that ugly hack) i simply changed the configure script:
search for "line 1760"
that is at the glut lib check.
directly above that is a LIBS=... line.
i changed it to:
and then it worked.
well. no, not really :) but that was another problem:
i had an too old version of Mesa.
some things about Mesa:
Mesa 4 did not work with celestia (i just did a quick check), so i downloaded 3.4.2.
MesaDemos had to be installed, too, because it contained a glut version!
(downloading glut seperatly and compiling is a complete mess!)
i hope that did help a bit.
please correct me, if what i did to fix is crap :) i usually only do perl and compilers and makefiles and configure scripts seem to me a little bit...ehrm...weird ;)
btw:
anybody please embeds eperl into the .ssc syntax? :))
so i can control behavior of objects from outside with perl?
no, not kidding, just imagining!!!
oh my god, if i just could script celestia with perl or python!!!
what possibilities! :))
at first, i had the same problems, i got into the configure script and figured out what it tries to check:
Code: Select all
#include "confdefs.h"
char glutKeyboardUpFunc();
int main() {
glutKeyboardUpFunc()
return 0; }
aha.
it turned out that it did not find some stuff that is imported from the Xmu lib. that means: the glut would work perfectly, but the check fails because of an other missing lib. (...missing to be included i mean)
when i tried it with
Code: Select all
gcc test.c -lglut -lGL -lGLU -lm -lXmu -L /usr/X11R6/lib/
it worked. so (shame on me for that ugly hack) i simply changed the configure script:
search for "line 1760"
that is at the glut lib check.
directly above that is a LIBS=... line.
i changed it to:
Code: Select all
LIBS="-lglut -lXmu -L /usr/X11R6/lib $LIBS"
and then it worked.
well. no, not really :) but that was another problem:
i had an too old version of Mesa.
some things about Mesa:
Mesa 4 did not work with celestia (i just did a quick check), so i downloaded 3.4.2.
MesaDemos had to be installed, too, because it contained a glut version!
(downloading glut seperatly and compiling is a complete mess!)
i hope that did help a bit.
please correct me, if what i did to fix is crap :) i usually only do perl and compilers and makefiles and configure scripts seem to me a little bit...ehrm...weird ;)
btw:
anybody please embeds eperl into the .ssc syntax? :))
so i can control behavior of objects from outside with perl?
Code: Select all
loop {
if (simulation->just_started()) {
object->setSelection('earth');
object->centerSelection();
object->speed=(0.1,0,0);
}
}
no, not kidding, just imagining!!!
oh my god, if i just could script celestia with perl or python!!!
what possibilities! :))
it's just about a single parameter
after fingering about with the configure script I guessed and tried with just one simple parameter to configure:
./configure --with-x
and that did it too. Never mind and never go nuts
./configure --with-x
and that did it too. Never mind and never go nuts