Building a metadata importer
Building a metadata importer
- Subject: Building a metadata importer
- From: "Kevin Meaney" <email@hidden>
- Date: Wed, 23 Aug 2006 18:10:00 +0100
- Organization: Softpress
Hi,
I am having trouble building a spotlight metadata importer. I am getting
a number of errors at link time.
As part of building our application, we build a number of static
libraries. I have added a new target to our application which builds all
the bits needed for the spotlight importer and build a static library.
To get this to work as a first stage I have just created a new XCode
project based on the spotlight template project.
I added our library to the spotlight template project. Implemented the
GetMetadataForFile function and did all the stuff needed for the Info.plist.
I get a huge number of undefined symbols link error most from the gnu c+
+ standard library. I also get a number of errors for unimplemented C++
class methods of ours which I will have to write empty stubs for and
though tedious that is possible I hope. I'm hoping that name mangling
wont interfere with that.
Originally everything had "Link With Standard Libraries" set for for all
the static libraries and the importer and I got all the errors. I have
tried turning on and off that compiler option for the various libraries
and the spotlight importer without any change. I have also tried turning
on hiding of all symbols except for the required ones and that hasn't
helped any.
Actually when looking at the created library using nm all the functions
and methods are still marked with the uppercase letters. I have tried
removing all intermediate build products that gets built including all
the .o files and architecture libraries built in the build process and I
still get this. So it is not clear whether the "Symbols Hidden by
Default" option is actually doing anything.
Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden