[Plib-users] Cannot compile examples
Brought to you by:
sjbaker
From: Risto S V. <rva...@cc...> - 2000-07-19 13:56:04
|
I was trying to compile the example programs for PLIB-1.1.8 or later. All other examples compile fine, but in the sg examples I run into errors. I am using recently updated Debian Potato, Mesa 3.1, GLUT 3.7 and plib 1.2. Here's the error: fun13:/usr/src/plib-1.2.0/examples/plib_examples-1.1.8$ make Making all in examples make[1]: Entering directory `/usr/src/plib-1.2.0/examples/plib_examples-1.1.8/examples' Making all in js /* Everything went well for the first few directories, so not pasting them here */ Making all in sg make[2]: Entering directory `/usr/src/plib-1.2.0/examples/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. -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 `/usr/src/plib-1.2.0/examples/plib_examples-1.1.8/examples/sg' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/plib-1.2.0/examples/plib_examples-1.1.8/examples' make: *** [all-recursive] Error 1 -- Risto Varanka | http://www.helsinki.fi/~rvaranka/ ris...@he... |