GLew for MAC

Harry van der Wolf hvdwolf at
Sun Apr 5 23:53:50 PDT 2009

I also tried to compile libGLEW universally, both via MacPorts and outside
macports. The make files and configures scripts are so old that they do not
allow to build a universal dylib on OSX. It doesn't even allow you to just
cross-compile libglew dynamically without lot's of patching in the make
files. I am on intel but managed to compile it for PPC and then got
segfaults in the ppc part, so I abandoned it.
In the end I just sticked to the static universal libGLEW. That compilation
worked on both MacPorts 1.6, 1.7 and 1.7svn on both Tiger and Leopard.


2009/4/6 Joshua Root <jmr at>

> vinitha ks wrote:
> >
> > When i tried sudo port install glew libGLEW.a
> > but when i check its architecture it displays
> >
> "/opt/local/var/macports/software/glew/1.5.1_0+universal/opt/local/lib/libGLEW.a
> > (can't determine architecture for it)" and wouldn't work libGLEW.a file
> > for intel or PPC.
> Any reason you can't use the .dylib?
> - Josh
> _______________________________________________
> macports-users mailing list
> macports-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list