trouble installing glew

harsha
Unregistered
 
Post: #1
I downloaded the 1.3.6 glew source code. I'm still using 10.3.9. I typed:
> cd glew
> make
It gives me:
> : bad interpreter: No such file or directory
> : bad interpreter: No such file or directory
> Makefile:40: *** "Platform '' not supported". Stop.
Does glew1.3.6 work in Tiger only? Or have I done something else wrong?

When I downloaded the AGL 1.3.6 binary I wasn't sure quite what to do with the files. Am I supposed to place them in each project, or is there a way of linking all projects to a single glew directory? If so where do I put the files?

I'm guessing to link in Xcode (1.5) you go Project->Edit Active Target->Header Search Paths to point to the include directory and Project->Edit Active Target->Library Search Paths to point to the lib directory.

Setup
1.3.6 glew
10.3.9 osx
1.5 xcode
ibook 1.2

Cheers for reading. I'm a definite nubby, so if you need more information feel free to guide me on what info you need.
Quote this message in a reply
Moderator
Posts: 608
Joined: 2002.04
Post: #2
You need to run ./configure before you run make. Read the INSTALL file first, it should tell you everything you need to know.
Quote this message in a reply
harsha
Unregistered
 
Post: #3
Problem solved.

The readme says:
Quote:If you downloaded the tarball from the GLEW website, you just need to:

Unix:

make

I had actually downloaded the .zip rather than the .tgz. When I typed make it produced the previous error. I re-read the readme and thought I'd go and download the tarball. Now the make does work. Smile

Why does the zip version compile and the tarball version not?
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Installing and Using SDL DudetheCreator 3 2,832 May 22, 2005 08:42 AM
Last Post: DudetheCreator
  Installing SDL AndyWanKenobi 1 2,488 Dec 12, 2002 03:41 PM
Last Post: OneSadCookie