#113 ✓resolved

Missing dependencies in source

Reported by codykrieger | December 27th, 2010 @ 10:07 AM | in 0.0.3

After solving the libcss issue for the most part, I started running into issues with missing dependencies and frameworks.

Kod currently fails to build for me in Xcode, primarily due to the fact that the following three frameworks are not able to be found:

  • Breakpad.framework (Xcode thinks this should be at deps/Breakpad.framework)
  • FScript.framework (Xcode thinks this should be at /Library/Frameworks/FScript.framework)
  • YAML.framework (Xcode thinks this should be at deps/syck/ext/cocoa/build/Deployment/YAML.framework)

The FScript one was easily solvable - just downloaded FScript and plopped the framework in /Library/Frameworks.

The Breakpad one was also easy enough - just grabbed the source and built it, then put the resulting Breakpad.framework in deps.

The YAML one is more interesting, though. According to its supposed path, it's supposed to be in deps/syck/ext/cocoa/build/Deployment/YAML.framework, but the deps/syck folder doesn't exist. So it looks like we've got a rogue dependency.

Additionally, I get a host of other compiler errors due to missing Interface Builder plugins, and issues with ChromiumTabs:

/* com.apple.ibtool.errors */
/Users/codykrieger/projects/kod/resources/BrowserWindow.xib: error: Unable to resolve plug-in dependency for "BrowserWindow.xib".
    Recovery Suggestion: Locate the com.brandonwalkin.BWToolkit Interface Builder plug-in to continue opening this document. Consider using the --plugin option or Interface Builder's plug-in preferences to resolve this dependency.
    Underlying Errors:
        Description: Could not load plug-in.
        Failure Reason: Could not determine the location of the plug-in with the identifier com.brandonwalkin.BWToolkit

Most of the rest of the errors go like this:

In file included from /Users/codykrieger/projects/kod/src/KAppDelegate.mm:3:
/Users/codykrieger/projects/kod/src/KBrowser.h:1:38: error: ChromiumTabs/ChromiumTabs.h: No such file or directory
In file included from /Users/codykrieger/projects/kod/src/KAppDelegate.mm:3:
/Users/codykrieger/projects/kod/src/KBrowser.h:6: error: cannot find interface declaration for 'CTBrowser', superclass of 'KBrowser'
In file included from /Users/codykrieger/projects/kod/src/KAppDelegate.mm:4:
/Users/codykrieger/projects/kod/src/KBrowserWindowController.h:6: error: cannot find interface declaration for 'CTBrowserWindowController', superclass of 'KBrowserWindowController'
In file included from /Users/codykrieger/projects/kod/src/KAppDelegate.mm:6:
/Users/codykrieger/projects/kod/src/KTabContents.h:16: error: cannot find interface declaration for 'CTTabContents', superclass of 'KTabContents'
/Users/codykrieger/projects/kod/src/KAppDelegate.mm: In function 'void -[KAppDelegate newWindow:](KAppDelegate*, objc_selector*, objc_object*)':
/Users/codykrieger/projects/kod/src/KAppDelegate.mm:40: warning: 'KBrowserWindowController' may not respond to '+browserWindowController'
/Users/codykrieger/projects/kod/src/KAppDelegate.mm:40: warning: (Messages without a matching method signature
/Users/codykrieger/projects/kod/src/KAppDelegate.mm:40: warning: will be assumed to return 'id' and accept
/Users/codykrieger/projects/kod/src/KAppDelegate.mm:40: warning: '...' as arguments.)
/Users/codykrieger/projects/kod/src/KAppDelegate.mm:41: warning: 'KBrowserWindowController' may not respond to '-newDocument:'
/Users/codykrieger/projects/kod/src/KAppDelegate.mm:42: warning: 'KBrowserWindowController' may not respond to '-showWindow:'
/Users/codykrieger/projects/kod/src/KAppDelegate.mm: In function 'void -[KAppDelegate application:openFiles:](KAppDelegate*, objc_selector*, NSApplication*, NSArray*)':
/Users/codykrieger/projects/kod/src/KAppDelegate.mm:190: warning: 'KBrowserWindowController' may not respond to '+mainBrowserWindowController'

By the way, Rasmus, great work so far. :) Really looking forward to helping hack on Kod. Sorry to bombard you with this stuff!

Comments and changes to this ticket

  • rsms

    rsms December 27th, 2010 @ 02:43 PM

    • Milestone set to 0.0.3
    • State changed from “new” to “open”
    • Tag changed from interface builder, breakpad, building, chromiumtabs, compiling, dependencies, fscript, plugin, syck, yaml to interface builder, building, chromiumtabs, compiling, dependencies, project
    • Milestone order changed from “75” to “0”

    I'm sorry the source is still a mess — working on cleaning it up.

    The frameworks YAML and Breakpad are no longer used (and should no longer be referenced by the Xcode project).

    FScript is optional and can be disabled by removing "-framework FScript" in "OTHER_LDFLAGS" for "Debug" in the "Kod" target.

    Would be nice to have a functionality like:

    if -f /Library/Frameworks/FScript.framework then
      OTHER_LDFLAGS += "-framework FScript"

    Next, the BWToolkit interface builder issue is probably due to me experimenting with BWToolkit but later stopped using it. IB must have left references to it in the XIB. I'll try to manually remove those references (BWToolkit isn't used except from a patched version of a subset of it's source).

  • rsms

    rsms December 27th, 2010 @ 06:56 PM

    • State changed from “open” to “resolved”
  • Pgslot123

    Pgslot123 May 28th, 2022 @ 08:41 AM

    เล่น pg ได้เงินดีกว่าเล่น fb วันนี้เรามีเว็บมาแนะนำ นั่นก็คือ เว็บ pg สล็อตซึ่งเป้นเว็บให้บริการเกมสล็อตที่มาแรงที่สุดในตอนนี้ เพียงแค่คุณแบ่งเวลาจากการเล่น Facebook มาเล่น pg slot ของเรา

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A text editor for Mac OS X

People watching this ticket