I've found a few references, and everything seems like it should be
easy, but I'm making some simple mistakes.
Here is the general "using webkit from carbon" notes from Apple:
http://developer.apple.com/documentation/Carbon/Reference/Web_Kit_C/index.html
And here is a quick sample of how to do so:
http://developer.apple.com/documentation/Cocoa/Conceptual/DisplayWebContent/Tasks/CarbonApps.html
Seems straightforward, but I can't get things to compile. I've got
the Carbon and WebKit frameworks added to my XCode project, my source
file includes "Carbon/Carbon.h", which those first apple docs suggest
should suffice. But my first call to WebInitForCarbon() won't
compile as it is not declared in that scope.
If I add includes for "HIWebView.h" and "CarbonUtils.h" then _those_
files are unfindable.
Generally, frameworks don't give me any hassle, so I'm not sure what
I've done wrong. I'm using XCode 2.4, and I've tried removing and
adding the frameworks a couple of times but I must just be repeating
the same wrong steps or overlooking an important one.
Thanks for any help,
Chris
Now it won't link. I'm getting hundreds of statements like this:
_SEC_IA5StringTemplate referenced from WebKit expected to be defined
in ApplicationServices
What library am I missing?
Let me guess, if I had to add the framework headers manually, then
that probably means that somehow "Add...Existing Frameworks" didn't do
it magic, so maybe I need to add some library manually too. Anyone
know which one or where? Or what user error I am making when adding
the framework?
Chris