[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-users] re: compiling on the mac
From: |
Alexander Pipelka |
Subject: |
Re: [paragui-users] re: compiling on the mac |
Date: |
01 May 2002 09:21:05 +0200 |
Am Die, 2002-04-30 um 20.20 schrieb keith:
> the following is a compiler dump of all the reamining errors to compile
> paragui on the mac.
> Most of them are in the physFS and i am sure that one error relates to many
> more.
> But on the up side the errors are down from about 3000 this morning to about
> 150 now.
Much better :))
> So if anyone has ideas on anything you see below, let me know......i'm still
> working on it, but then second error there in stdlib.h has me stumped.
>
> --Keith
>
> Error : undefined identifier 'strdup'
> pglayout.cpp line 138 parm = strdup(c);
No idea if strdup is ANSI C or not.
If there isn't any similar function it shouldn't be too hard top write a
replacement.
> Error : undefined identifier 'std::getenv'
> stdlib.h line 22 using std::getenv;
Strange.
Please try SDL_getenv()
> //--------------------------
> all from the PHYSFS
There is a newer version than the one used for ParaGUI.
The new one has definitely support for "MacOS classic".
There are 2 ways:
- merge in the platform file from the newer version
tricky because the API changed
- replace the current physfs version with the newer one
It's at:
www.icculus.org/physfs
Hopefully this will help you
Alex
- Re: [paragui-users] re: compiling on the mac,
Alexander Pipelka <=