Re: [Slightly OT] Scripting Bridge in Leopard
Re: [Slightly OT] Scripting Bridge in Leopard
- Subject: Re: [Slightly OT] Scripting Bridge in Leopard
- From: Christopher Nebel <email@hidden>
- Date: Thu, 1 Nov 2007 18:17:37 -0700
On Nov 1, 2007, at 6:10 PM, deivy petrescu wrote:
I'd appreciate it if someone would help me here!
I did created the iTunes.h file, but, when I run (g)cc this file
in terminal (itunes.m for me) I get:
"
Undefined symbols:
"___CFConstantStringClassReference", referenced from:
__cfstring@0 in ccADvb4i.o
".objc_class_name_SBApplication", referenced from:
literal-pointer@__OBJC@__cls_refs@SBApplication in ccADvb4i.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
"
What did I do wrong?
Sounds like you're not linking with ScriptingBridge.framework. Or
Foundation, for that matter. Since you're doing this in Terminal, say
"cc -framework Foundation -framework ScriptingBridge" plus whatever
other options you're using.
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden