fjolnir / xnomad

A tiling window manager for OS X, written in tranquil.
484 stars 28 forks source link

No file found for 'AppKit' #46

Closed davecahill closed 10 years ago

davecahill commented 11 years ago

From README.md, it looks like the only dependency is tranquil.

However, having installed tranquil using the binary package and having cloned xnomad, I get:

$ ./xnomad
No file found for 'AppKit'

Do users need to download the AppKit framework? If so, maybe it should be added in the README.md.

fjolnir commented 11 years ago

AppKit.framework should be in /System/Library/Frameworks Maybe you need to fix permissions in Disk Utility

davecahill commented 11 years ago

Looks like it's there:

$ ls /System/Library/Frameworks/AppKit.framework
AppKit      Resources   Versions    XPCServices

Ran a Disk Utility repair, then a verify, and all is fine, however I still get the "No file found for 'AppKit'" error.

I also tried running ./makeapp.sh and running the resulting app, but it doesn't seem to do anything.

fjolnir commented 11 years ago

what about the headers, are they in there?

find /System/Library/Frameworks/AppKit.framework | grep AppKit.h

for me the contents of AppKit.framework are

%  ls /System/Library/Frameworks/AppKit.framework
AppKit      Headers     Resources   Versions    XPCServices

Important bit being the "Headers" directory. You have Xcode installed right?

P.S. Sorry for the delay, I was busy and then I went on vacation.

idonthack commented 11 years ago

I'm having this same issue on Mountain Lion

Your find command returns nothing, and my Headers directory is missing as well.

$ ls /System/Library/Frameworks/AppKit.framework/
AppKit      Resources   Versions    XPCServices

I do have Xcode installed.

fjolnir commented 11 years ago

That's weird, you could edit TQProgram.mm around line 104 to include /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/ (I need to make the search paths a compiler flag soon)