Ok, I have a 2.8 GHz Itel Core 2 duo iMac, so I was following this tutorial (the 64 bit one), so I installed xcode, then installed nvidia cgtoolkit, then it got a bit confusing when I was installing libglew. (Because I don't fully understand what he meant by "add "-arch x86_64" as compilateur and linker flags") So I downloaded libglew (the zip one) from sourceforge.net, and opened the Makefile with TextEdit and added "-arch x86_64 " to "CFLAGS = $(OPT) $(WARN) $(INCLUDE) $(CFLAGS.EXTRA)" and "LIB.LDFLAGS = $(LDFLAGS.EXTRA) $(LDFLAGS.GL)" to the end of both. Then I used Terminal to go to the glew folder then typed "make" in to Terminal and it gave me this"/bin/sh: config/config.guess: /bin/sh^M: bad interpreter: No such file or directory
/bin/sh: config/config.guess: /bin/sh^M: bad interpreter: No such file or directory
Makefile:40: *** "Platform '' not supported". Stop."?!?!?! Please help me.
Thanks!
/bin/sh: config/config.guess: /bin/sh^M: bad interpreter: No such file or directory
Makefile:40: *** "Platform '' not supported". Stop."?!?!?! Please help me.
Thanks!