From: Doug <dou...@gm...> - 2012-07-26 10:43:06
|
Hey, I wonder if someone here could point out what I'm doing wrong / how to get this working. I was trying to compile and run freeglut on mingw. Initially it failed with the message: make[2]: Entering directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DFREEGLUT_EXPORTS -g -O2 -Wall -pedantic -MT libglut_la-freeglut_callbacks.lo -MD -MP -MF .deps/libglut_la-freeglut_callbacks.Tpo -c -o libglut_la-freeglut_callbacks.lo `test -f 'freeglut_callbacks.c' || echo './'`freeglut_callbacks.c libtool: Version mismatch error. This is libtool 2.4.2 Debian-2.4.2-1, but the libtool: definition of this LT_INIT comes from libtool 2.4. libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2 Debian-2.4.2-1 libtool: and run autoconf again. make[2]: *** [libglut_la-freeglut_callbacks.lo] Error 63 make[2]: Leaving directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0' make: *** [all] Error 2 So I ran: autoreconf --force --install That seemed to get the build running, but it fails out at the link step: libtool: link: ( cd ".libs" && rm -f "libglut.la" && cp -p "../libglut.la" "libglut.la" ) make[2]: Leaving directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0/src' Making all in include make[2]: Entering directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0/include' Making all in GL make[3]: Entering directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0/include/GL' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0/include/GL' make[3]: Entering directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0/include' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0/include' make[2]: Leaving directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0/include' Making all in progs make[2]: Entering directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0/progs' Making all in demos make[3]: Entering directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0/progs/demos' Making all in CallbackMaker make[4]: Entering directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0/progs/demos/CallbackMaker' /bin/sh ../../../libtool --tag=CC --mode=link gcc -I../../../include -g -O2 -Wall -pedantic -export-dynamic -o CallbackMaker.exe CallbackMaker-CallbackMaker.o ../../../src/libglut.la -lopengl32 -lgdi32 -lwinmm libtool: link: gcc -I../../../include -g -O2 -Wall -pedantic -o CallbackMaker.exe CallbackMaker-CallbackMaker.o -Wl,--export-all-symbols ../../../src/.libs/libglut.a -lopengl32 -lgdi32 -lwinmm CallbackMaker-CallbackMaker.o: In function `MenuCallback': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:398: undefined reference to `_imp__glutGetWindow@0' CallbackMaker-CallbackMaker.o: In function `Close': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:299: undefined reference to `_imp__glutGetWindow@0' CallbackMaker-CallbackMaker.o: In function `MenuStatus': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:416: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:420: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `MenuDestroy': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:406: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:410: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `TabletButton': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:388: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:392: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `TabletMotion': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:378: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:382: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `Dials': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:358: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:362: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `ButtonBox': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:368: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:372: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `SpaceButton': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:348: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:352: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `SpaceRotation': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:338: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:342: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `SpaceMotion': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:328: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:332: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `WindowStatus': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:318: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:322: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `OverlayDisplay': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:308: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:312: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `Entry': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:289: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:293: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `PassiveMotion': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:276: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:283: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `Motion': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:263: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:270: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `MouseWheel': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:248: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:257: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `Mouse': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:233: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:242: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `Joystick': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:218: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:227: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `SpecialUp': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:204: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:212: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `KeyUp': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:190: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:198: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `Visibility': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:178: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:184: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `Special': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:164: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:172: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `Key': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:150: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:158: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `Reshape': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:137: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:144: undefined reference to `_imp__glutPostRedisplay@0' CallbackMaker-CallbackMaker.o: In function `bitmapPrintf': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:46: undefined reference to `_imp__glutBitmapString@8' CallbackMaker-CallbackMaker.o: In function `Display': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:53: undefined reference to `_imp__glutGetWindow@0' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:61: undefined reference to `_imp__glutGet@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:131: undefined reference to `_imp__glutSwapBuffers@0' CallbackMaker-CallbackMaker.o: In function `main': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:437: undefined reference to `_imp__glutInitWindowSize@8' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:438: undefined reference to `_imp__glutInitWindowPosition@8' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:439: undefined reference to `_imp__glutInitDisplayMode@4' CallbackMaker-CallbackMaker.o: In function `glutInit_ATEXIT_HACK': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/../../../include/GL/freeglut_std.h:612: undefined reference to `_imp____glutInitWithExit@12' CallbackMaker-CallbackMaker.o: In function `glutCreateWindow_ATEXIT_HACK': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/../../../include/GL/freeglut_std.h:614: undefined reference to `_imp____glutCreateWindowWithExit@8' CallbackMaker-CallbackMaker.o: In function `main': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:447: undefined reference to `_imp__glutDisplayFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:448: undefined reference to `_imp__glutReshapeFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:449: undefined reference to `_imp__glutKeyboardFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:450: undefined reference to `_imp__glutSpecialFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:451: undefined reference to `_imp__glutVisibilityFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:452: undefined reference to `_imp__glutKeyboardUpFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:453: undefined reference to `_imp__glutSpecialUpFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:454: undefined reference to `_imp__glutJoystickFunc@8' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:455: undefined reference to `_imp__glutMouseFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:456: undefined reference to `_imp__glutMouseWheelFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:457: undefined reference to `_imp__glutMotionFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:458: undefined reference to `_imp__glutPassiveMotionFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:459: undefined reference to `_imp__glutEntryFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:460: undefined reference to `_imp__glutCloseFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:461: undefined reference to `_imp__glutOverlayDisplayFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:462: undefined reference to `_imp__glutWindowStatusFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:463: undefined reference to `_imp__glutSpaceballMotionFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:464: undefined reference to `_imp__glutSpaceballRotateFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:465: undefined reference to `_imp__glutSpaceballButtonFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:466: undefined reference to `_imp__glutButtonBoxFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:467: undefined reference to `_imp__glutDialsFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:468: undefined reference to `_imp__glutTabletMotionFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:469: undefined reference to `_imp__glutTabletButtonFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:470: undefined reference to `_imp__glutMenuDestroyFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:471: undefined reference to `_imp__glutMenuStatusFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:472: undefined reference to `_imp__glutSetKeyRepeat@4' CallbackMaker-CallbackMaker.o: In function `glutCreateMenu_ATEXIT_HACK': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/../../../include/GL/freeglut_std.h:616: undefined reference to `_imp____glutCreateMenuWithExit@8' CallbackMaker-CallbackMaker.o: In function `main': d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:475: undefined reference to `_imp__glutAddMenuEntry@8' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:483: undefined reference to `_imp__glutAddSubMenu@8' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:494: undefined reference to `_imp__glutAttachMenu@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:526: undefined reference to `_imp__glutIdleFunc@4' d:\projects\moai-dev\cmake\build\moaideps\3rdparty\glut\freeglut-2.8.0\progs\demos\CallbackMaker/CallbackMaker.c:531: undefined reference to `_imp__glutMainLoop@0' collect2: ld returned 1 exit status make[4]: *** [CallbackMaker.exe] Error 1 make[4]: Leaving directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0/progs/demos/CallbackMaker' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0/progs/demos' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0/progs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/d/projects/moai-dev/cmake/build/moaideps/3rdparty/glut/freeglut-2.8.0' make: *** [all] Error 2 Any ideas? ~ Doug. |