Re: [Slightly OT] Scripting Bridge in Leopard
Re: [Slightly OT] Scripting Bridge in Leopard
- Subject: Re: [Slightly OT] Scripting Bridge in Leopard
- From: Philip Aker <email@hidden>
- Date: Thu, 01 Nov 2007 18:17:19 -0700
On 2007-01-11, at 18:10, 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?
Your gcc options?
gcc -framework Foundation -framework ScriptingBridge -o sbit sbit.m;./
sbit
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
_______________________________________________
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