PDA

View Full Version : Errors compiling delimport-spotlight-plugin




JohnWi
Nov 11, 2009, 02:29 AM
Hello everyone,

I hope you can help me: I am trying to play around a little with creating a spotlight plugin. So on http://ianhenderson.org/delimport.html I donwloaded the code provided for the great plugin that allows you to search for del.icio.us bookmarks using spotlight.

But even without editing the code, when I try to compile the delimport.xcodeproj file, I get 34 errors. To start with, it seems that xCode is unable to find certain files even though they exist in the source code's file structure at the path they should be. There are 2 other xcodeprof-files as well, which do not seem to work either.

Does anybody has any ideas how I could tackle the problems?

Cheers

John

PS: The author of the plugin recommends to download the source files using darcs. I used a software called Sitesucker instead to download the whole site including the source code. Might that be the problem?



Cromulent
Nov 11, 2009, 03:45 AM
PS: The author of the plugin recommends to download the source files using darcs. I used a software called Sitesucker instead to download the whole site including the source code. Might that be the problem?

Darcs is version control software in the same vein as Git and Mercurial.

That sounds like the problem to me.

JohnWi
Nov 11, 2009, 04:05 AM
Darcs is version control software in the same vein as Git and Mercurial.

That sounds like the problem to me.

Thx for the advise. Sadly, I just managed to download the code with darcs - I used the command "darcs get http://ianhenderson.org/repos/delimport" as stated on the developer's website. But I still get the same errors.

As I never used darcs before, am I overlooking something when downloading the source code using the command stated above? Or do you have any other ideas?

JohnWi
Nov 11, 2009, 04:47 AM
Ah, made some progress: It had nothing to do with darcs but with the fact, that the required "keychain framework" was not in place. I now get only 3 errors concerning the "Linking" of obejcts... does anyone know what that could mean?

chown33
Nov 11, 2009, 11:39 AM
I now get only 3 errors concerning the "Linking" of obejcts... does anyone know what that could mean?

Post the text of the errors. We can't see your screen from here.

JohnWi
Nov 13, 2009, 03:31 AM
I am down to two errors:
http://img208.imageshack.us/img208/7577/bildschirmfoto20091111ur.png

Hope anyone sees something in that...

Cromulent
Nov 13, 2009, 04:50 AM
If you are on an Intel Mac just disable the PPC build and only build a 32 or 64 bit Intel binary.

JohnWi
Nov 13, 2009, 08:38 AM
If you are on an Intel Mac just disable the PPC build and only build a 32 or 64 bit Intel binary.

Thanks a lot, that helped. The compiler succeeds now, but I now get the following message:

[Session started at 2009-11-13 15:32:56 +0100.]
dyld: Library not loaded: /Library/Frameworks/Keychain.framework/Versions/A/Keychain
Referenced from: /Users/erikwittern/Desktop/Delimport/build/Development/delimport.app/Contents/MacOS/delimport
Reason: image not found

The Debugger has exited due to signal 5 (SIGTRAP).The Debugger has exited due to signal 5 (SIGTRAP).


I am still confused...

JohnWi
Nov 13, 2009, 09:49 AM
Wow, it works now. Just wanted to let you know. What I did: I just copied the "Keychain.framework" into the "Library/Frameworks"-Folder and now it runs smoothly. Thanks again Cromulent.