Why is my plugin called "lib[name].a"?

logodae

Registered
The program the plugin is for expects a .lib. How do I edit my target/preferences/whatever to match this, in XCode 1.5? (I'm not even sure if it's just a naming convention, or if an .a is something different from a .lib. Googling "a" is remarkably unhelpful...)

Any help would be appreciated.

-Morgan
 
Hum .lib is a windows thing. Do you have some more info on how you made this plugin and what it is plugging into?
 
Well, it's a dynamically linked library -- a .dll, on Windows, although there it's renamed to an .mll. I believe I used the Carbon dynamic library template in XCode. It's for Autodesk (formerly Alias) Maya, and the plugins included with the Mac version of program all appear to be .lib or .dynlib.

I've tried just renaming it to .lib, thinking it might be cosmetic (like the dll -> mll thing on Windows). It fails to load, but that could be for completely unrelated reasons -- the error message isn't very informative.
 
For posterity's sake:

When I reconstructed the project using the Carbon dynamic library template (I think I may have used static before, and then switched some settings around), I got a .dynlib. I had to rename it to .lib to get Maya to load it, but that does seem like it will work.

Edit: And by "rename it to .lib" I mean "open it's properties using GetInfo and change the extension there." Because if you just try to rename it, you end up with [name].lib.dynlib, only the dynlib is now hidden, so you think you've changed the extension.

I'm sure Windows is at least as frustrating and counter-intuitive to people who are used to Macs. :p
 
Back
Top