POV-Ray : Newsgroups : povray.programming : Atempting MPW Compile ? : Re: Atempting MPW Compile ? Server Time
28 Jul 2024 22:23:56 EDT (-0400)
  Re: Atempting MPW Compile ?  
From: Thorsten Froehlich
Date: 10 May 2000 10:07:50
Message: <39196d36$1@news.povray.org>
In article <3917AD3C.3087475B@earthlink.net> , Moon47 <rdm### [at] earthlinknet>
wrote:

> # 5/8/00 11:53:02 PM ----- Building :mpwobj:OPTIN.c.o
> MrC C Compiler 4.1.0f1c1
> Copyright (C) 1994-1999 by Apple Computer, Inc.
>
>              Histogram_File_Handle = GET_SYS_FILE_HANDLE () ;
>                                                             ^
> File ":SOURCE:OPTIN.c"; line 1653 #Error: cannot implicitly convert
> from: (int)
> to  : (struct file_handle_struct *)

If you are compiling without sysMacPict.cp you need to fix config.h. To do
so remove there lines from config.h:

// Machine-specific image_map file routines (PICT for the Mac, sysMacPict.c)
#define GET_SYS_FILE_HANDLE() MacFile_GetFileHandle()
#define READ_SYS_IMAGE(i,n)  MacFile_ReadImage((i),(n))
#define SYS_DEF_EXT    ".pict"



       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.