Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Tools > Re: New error (...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 11 Topic 565 of 637
Post > Topic >>

Re: New error (Was Re: adding include path to xcode project)

by Lawson English <LawsonE@[EMAIL PROTECTED] > Dec 17, 2006 at 04:45 PM

Lawson English wrote:
> Lawson English wrote:
> [...]
>>
>> How do I get the linker to recognize the new dylib file, or otherwise 
>> get rid of the error and get my plug-in to build?
>>
>> Thanks.
> 
> I manually dragged my dynlib file into the main build "folder" and 
> rebuilt and it linked with no problems. The copy procedure wasn't 
> working quite right, but I simply renamed the library to .lib instead of

> .dynlib and dragged it into the maya plug-in folder and Maya recognized 
> it as a dynamic library and loaded it with no problems.
> 
> After that, nada. I assume that it linked properly because Maya 
> recognizes my defined main function "hello" when I type it into the Maya

> command line. However, it doesn't execute as expected. This is obviously

> a maya-specific issue. Thanks for everyone's help in getting me this
far.
> 
> 

Whee. Finally got Maya plug-ins to work. I noted by accident that the 
command "hello stuff" was being echoed to the Mac console window as 
"Hello stuff." I renamed the command to "mello" and it wouldn't notice 
the command, insisting that no such command was available, even though I 
quit and restarted Maya AFTER disabling the auto-load. I renamed the 
project, the library, the source code to melloCmd and the command to 
"mello" and it worked.

Who knows what strange caches were not being reset behind-the-scenes...

Or, maybe I missed a step that I thought I'd done. Either way, the API 
do***entation for Maya now seems to work.

Thanks for everyone's help. My career as a Maya plug-in developer is now 
saved. Now for a brilliant, money-making idea...
 




 11 Posts in Topic:
adding include path to xcode project
Lawson English <Lawson  2006-12-05 14:58:03 
Re: adding include path to xcode project
"vze35xda@[EMAIL PRO  2006-12-05 17:54:33 
Re: adding include path to xcode project
Lawson English <Lawson  2006-12-06 11:31:42 
Re: adding include path to xcode project
Lawson English <Lawson  2006-12-06 17:00:41 
Re: adding include path to xcode project
Chris Hanson <cmh@[EMA  2006-12-07 13:01:45 
Re: adding include path to xcode project
Lawson English <Lawson  2006-12-07 14:34:53 
New error (Was Re: adding include path to xcode project)
Lawson English <Lawson  2006-12-10 13:31:24 
Re: New error (Was Re: adding include path to xcode project)
Lawson English <Lawson  2006-12-11 01:18:49 
Re: New error (Was Re: adding include path to xcode project)
Lawson English <Lawson  2006-12-17 16:45:14 
Re: adding include path to xcode project
"vze35xda@[EMAIL PRO  2006-12-06 16:26:49 
Re: adding include path to xcode project
Lawson English <Lawson  2006-12-06 18:00:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 9:24:10 CST 2008.