• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Slightly OT] Scripting Bridge in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: [Slightly OT] Scripting Bridge in Leopard (From: Christopher Nebel <email@hidden>)
 >Re: [Slightly OT] Scripting Bridge in Leopard (From: deivy petrescu <email@hidden>)

  • Prev by Date: Re: [Slightly OT] Scripting Bridge in Leopard
  • Next by Date: Re: [Slightly OT] Scripting Bridge in Leopard
  • Previous by thread: Re: [Slightly OT] Scripting Bridge in Leopard
  • Next by thread: Re: [Slightly OT] Scripting Bridge in Leopard
  • Index(es):
    • Date
    • Thread