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...


|