Lawson English wrote:
> vze35xda@[EMAIL PROTECTED]
wrote:
>> Lawson English wrote:
>>> I'm a complete xcode newbie. I'm trying to complile the simple
>>> helloworld Maya plug-in using the Maya 6.0 dev kit. How the bleep do I
>>> add an include path to an xcode project?
>>>
>>> Thanks....
>>
>> If Maya doesn't have a framework to include in the project, then just
>> drag the include files to your XCode project. You will be putting the
>> paths into search during the compile. You can drag whole folders to
>> the project if you wish. Note if they have C files in them you don't
>> want compiled you will have to remove those.
>>
>> --jim
>>
>
> That's one of those too simple to be obvious solutions. Sigh...
>
>
> Thanks very much. I was trying to add it via the QuickOpen paths thing
> and it didn't work...
OK, I found that there are already build files for xcode, but I
attempted to follow the API manual instructions and ran one. It updates
the project file and then gives the following error message. Any
suggestions?
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
__ZTI10MPxCommand
/Applications/Alias/maya6.0/devkit/plug-ins/build/helloCmd.build/Development/helloCmd.build/Objects-normal/ppc/helloCmd.o
reference to undefined __ZTI10MPxCommand
/usr/bin/libtool: internal link edit command failed
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
__ZTI10MPxCommand
/Applications/Alias/maya6.0/devkit/plug-ins/build/helloCmd.build/Development/helloCmd.build/Objects-normal/ppc/helloCmd.o
reference to undefined __ZTI10MPxCommand
/usr/bin/libtool: internal link edit command failed
Build failed (2 errors, 1 warning)
Full text follows:
Building target “helloCmd” of project “helloCmd” with configuration
“Development” — (2 errors, 1 warning)
Checking Dependencies cd /Applications/Alias/maya6.0/devkit/plug-ins
/usr/bin/g++-4.0 -o
/Applications/Alias/maya6.0/devkit/plug-ins/build/Development/helloCmd.dylib
-L/Applications/Alias/maya6.0/devkit/plug-ins/build/Development
-L/Applications/Alias/maya6.0/Maya.app/Contents/MacOS
-F/Applications/Alias/maya6.0/devkit/plug-ins/build/Development
-filelist
/Applications/Alias/maya6.0/devkit/plug-ins/build/helloCmd.build/Development/helloCmd.build/Objects-normal/ppc/helloCmd.LinkFileList
-arch ppc -prebind -Wl,-single_module -compatibility_version 1
-current_version 1 -install_name /usr/local/lib/helloCmd.dylib
-Wl,-Y,1455 -dynamiclib -lOpenMaya -lFoundation -dylib_file
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
@[EMAIL PROTECTED]
warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
__ZTI10MPxCommand
/Applications/Alias/maya6.0/devkit/plug-ins/build/helloCmd.build/Development/helloCmd.build/Objects-normal/ppc/helloCmd.o
reference to undefined __ZTI10MPxCommand
/usr/bin/libtool: internal link edit command failed
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
__ZTI10MPxCommand
/Applications/Alias/maya6.0/devkit/plug-ins/build/helloCmd.build/Development/helloCmd.build/Objects-normal/ppc/helloCmd.o
reference to undefined __ZTI10MPxCommand
/usr/bin/libtool: internal link edit command failed
Build failed (2 errors, 1 warning)


|