|
|
In article <3913088E.C534BA89@earthlink.net> , Moon47 <rdm### [at] earthlinknet>
wrote:
> So the problems with sysMacPict exist in the makefile and not the .c &
> .h files for sysMacPict...? It would help if i knew where to hunt down
> the problem... Once again i have fixed current problems up until
> sysMacPict. It has given me the most trouble...?
No, the problem is rather strange: The early versions of POV-Ray 3.1,
including at least 3.1 and 3.1a used a different sysMacPict code.
I then rewrote it and placed it into a two classes and wrote an adaptation
layer (from C++ to the C function POV-Ray expects) to more easily switch
between Pict and Movie output. As CodeWarrior allows to mix C and C++
source files without requiring to switch compilers there are no problems
there. With the MPW MrC compiler things are different and you actually need
MrC to compile most of the source and MrCpp to compile sysMacPict.cp .
there is only one catch: The linker does not like the slightly different
object formats, at least the last time I tried.
The real solution to the problem would involve the following steps in
splitting up the MPW makefile:
- move the PNG sources into a static library -> new makefile using MrC
- move the ZLIB sources into a static librar y -> new makefile using MrC
- remove the PNG and ZLIb sources from the current POV-Ray makefile
- add the PNG and ZLIB static libraries to the current POV-Ray makefile
- change the POV-Ray makefile to use MrCpp
- build PNG and ZLIb libraries, then build POV-Ray
I will do this for the POV-Ray Mac 3.5 source files, but my time does not
permit me to do this for 3.1 right now :-(
Thorsten
____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg
I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|