[Plib-users] Can't compile examples
Brought to you by:
sjbaker
From: Peter A B. <p.a...@la...> - 2000-07-12 18:36:41
|
I recently downloaded plib-1.2.0 and set it up fine, now I am trying to do the same for the "plib_examples-1.1.8" but when i do a make on it i get: Making all in sg make[2]: Entering directory `/devices/plib_examples-1.1.8/examples/sg' c++ -DPACKAGE=\"plib_examples\" -DVERSION=\"1.1.8\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBGLUT=1 -DSTDC_HEADERS=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLUT_H=1 -DHAVE_PLIB_SG_H=1 -DHAVE_PLIB_SL_H=1 -DHAVE_PLIB_SSG_H=1 -DHAVE_PLIB_FNT_H=1 -DHAVE_PLIB_PU_H=1 -DHAVE_PLIB_JS_H=1 -DLINUX_JOYSTICK_IS_PRESENT=1 -I. -I. -g -O2 -O6 -Wall -c sg_quat_test.cxx sg_quat_test.cxx: In function `int main(int, char **)': sg_quat_test.cxx:49: implicit declaration of function `int sgMakeQuat(...)' sg_quat_test.cxx:50: no matching function for call to `sgMakeRotMat4 (float[4][4], float (*)[4])' /usr/include/plib/sg.h:131: candidates are: void sgMakeRotMat4(float (*)[4], float, const float *) /usr/include/plib/sg.h:134: void sgMakeRotMat4(float (*)[4], const float *) /usr/include/plib/sg.h:139: void sgMakeRotMat4(float (*)[4], float, float, float) make[2]: *** [sg_quat_test.o] Error 1 make[2]: Leaving directory `/devices/plib_examples-1.1.8/examples/sg' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/devices/plib_examples-1.1.8/examples' make: *** [all-recursive] Error 1 here's my info Redhat 6.2 kernel is 2.2.14 i686 Pentium II w/ 400 MHz gcc 2.95.2 any idea how to fix this problem? Thanks! |