To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.macOpen lugnet.cad.dev.mac in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Macintosh / 882
881  |  883
Subject: 
Re: Copy of MacMegaPov 0.7
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Sat, 28 Jul 2007 05:01:20 GMT
Viewed: 
7279 times
  
In lugnet.cad.dev.mac, Jim DeVona wrote:
   I’m not sure if it’s much help in the long run without notes on how it was actually built, but maybe it’ll provide a few leads.

For reference, here is a script that builds a static univeral libpng library, and then copies it into /usr/local/lib with a u appended to the filename (libpng12u.a):

http://www.halibut.com/~tcobbs/ldraw/private/buildpngu.sh

In order for it to work, png.h has to be modified. In 1.2.18, line 497 needs to be changed like so:

Old:
#ifdef PNG_USE_PNGGCRD

New:
#if defined(PNG_USE_PNGGCCRD) && defined(PNG_HAVE_MMX_COMBINE_ROW)

Run buildpngu.sh while in the main directory of the libpng source distribution. I used it with 1.2.18; hopefully it will continue to work.

--Travis



Message is in Reply To:
  Re: Copy of MacMegaPov 0.7
 
(...) I see there is universal build of libpng 1.2.17 (URL) here>, but I have not tested it. From the installer notes: "Installs static (.a) and dynamic (.dylib) universal binaries of libpng, as provided by the official libpng reference release: (...) (17 years ago, 27-Jul-07, to lugnet.cad.dev.mac, FTX)

18 Messages in This Thread:








Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR