POV-Ray : Newsgroups : povray.macintosh : How to compile POV-Ray with MPW? : Re: How to compile POV-Ray with MPW? Server Time
1 Jun 2024 22:11:44 EDT (-0400)
  Re: How to compile POV-Ray with MPW?  
From: Thorsten Froehlich
Date: 18 Mar 2001 19:50:10
Message: <3ab557c2$1@news.povray.org>
In article <3AB553CA.26C9387A@nexxium.de> , Fabian Herb 
<com### [at] nexxiumde>  wrote:

> i've been trying to compile POV-Ray with MPW for a while. I eliminated
> some problems concerning sysMacPict.cp in the makefile. But now the
> linker reports these errors:
>
> # Error:  File ":mpwobj:POVRAY.c.o"
> #         Reference to unresolved symbol ".MacFile_GetFileHandle"
> # Error:  File ":mpwobj:PARSTXTR.c.o"
> #         Reference to unresolved symbol ".MacFile_ReadImage"
>
> I've tried to compile other files than sysMacPict.cp with MrCpp. None of
> the functions in these files can be accessed from outside.

The MPW makefiles that come with 3.1g don't work if Mac Pict support is
enabled.  The simplest solution is to remove the following lines from
config.h:

#define GET_SYS_FILE_HANDLE() MacFile_GetFileHandle()
#define READ_SYS_IMAGE(i,n)  MacFile_ReadImage((i),(n))
#define SYS_DEF_EXT    ".pict"

and near the end

#define GET_SYS_FILE_HANDLE() MacFile_GetFileHandle()


> I'm quite new to MPW and have no idea what to do.

To be honest (and very direct), compiling POV-Ray is not an easy task
for a beginner.  The source code is complex and not well commented, and
when you run into problems you should be able to resolve them on your
own.  If you don't know how, compiling the source code will most likely
be a very frustrating and discouraging experience.

There are more rewarding, smaller programs (like the Apple sample code)
out there that can get you started to learn programming and using MPW.
If you search a bit on Apples developer website, you will probably find
some good tutorial or other information that will be really helpful
getting started, too.


    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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.