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.
Harry 2009/4/6 Joshua Root <j...@macports.org> > vinitha ks wrote: > > > > When i tried sudo port install glew +universal.got 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@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users