Hi,
Much like Jeremy Higgs, I tried to follow the Spotlight metadata importer tutorial. I also ran into the "Undefined symbols: _GetMetadataForFile" thing, but I think this is because the example uses Cocoa's Foundation framework, but doesn't instruct in adding the framework and #import line.
So I added that line and added the Foundation framework and arrived at a compiled thing with no warnings (and without including the .c file.)
Then, when I test the plugin, I arrive at the same error: Cannot find function pointer MetadataImporterPluginFactory.
Is there something about compiling Objective-C metadata importers, that requires an extra step which is being left out of the documentation? Has anyone else been able to make a metadata importer without running into this problem, using Objective-C?
|