Build for Intel Mac

nobody wrote on Saturday, April 01, 2006:


Does anyone know what mods I need to make to the makefile to get GLFW to build on an Intel mac? Using make macosx-gcc generates these errors:

make[1]: Nothing to be done for `default’.
/bin/sh Triangle
gcc -I…/include triangle.c -L…/lib/macosx/ -lglfw -framework AGL -framework OpenGL -framework Carbon -o
/usr/bin/ld: warning …/lib/macosx//libglfw.a archive’s cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (can’t load from it)
/usr/bin/ld: Undefined symbols:
collect2: ld returned 1 exit status
make[1]: *** [] Error 1
make: *** [macosx-gcc] Error 2

nobody wrote on Wednesday, April 05, 2006:

On a fresh download of the package, I ran make macosx-gcc and it worked fine

Did you copy the tree from another system where it had already been built?