How to check if an File/Directory Exists?

Aya Koshigaya Aya at animes.de
Tue Jan 1 15:30:44 PST 2008


Ahh, ok thanks :)

I now encountered a new problem.. (hopefully the last one)
I tried to compile a plugin on my Intel-Mac for an old PPC-Mac.. when  
I load the plugin, I get this error message:

PID:    2502
Thread: Unknown

Link (dyld) error:

Symbol not found: _fcntl$UNIX2003
   Referenced from: /Users/Shared/Alias/maya/plug-ins/test.lib
   Expected in: /usr/lib/libSystem.B.dylib

What can I do here? :/

Aya



On Jan 2, 2008, at 00:20, Sherm Pendley wrote:

> On Jan 1, 2008 5:49 PM, Aya Koshigaya <Aya at animes.de> wrote:
> Thanks,
>
> here are the errors I get when compiling with GCC 3.3 (only the first
> three):
>
> /usr/include/objc/objc-auto.h:72: error: declaration of C function
> `objc_object* objc_assign_ivar(objc_object*, objc_object*, int)'
> conflicts with
>
> /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:62:
> error: parse error before `__attribute__'
>
> You're trying to use the old compiler with a recent ( 10.4u or 10.5)  
> SDK. If you want to compile for 10.4 or 10.5, use GCC 4. If you want  
> to use GCC 3.3, use the 10.3.9 SDK.
>
> sherm--
>



More information about the MacOSX-dev mailing list