"Edit In Textmate" compile broken, I'm not familiar with objectc, I have installed command line of Xcode
$ g++ -v Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~28/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~28/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) It seems system frameworks are not found, I am sorry to ask you help again -_-!, pointing out directions to google is enough.
edit-in-textmate $ make mkdir '/tmp/Edit in TextMate' cp 'rsrc/Info' '/tmp/Edit in TextMate/Info' mkdir '/tmp/Edit in TextMate/Edit in TextMate.bundle' mkdir '/tmp/Edit in TextMate/Edit in TextMate.bundle/Contents' cp 'rsrc/Info.plist' '/tmp/Edit in TextMate/Edit in TextMate.bundle/Contents/Info.plist' mkdir '/tmp/Edit in TextMate/Edit in TextMate.bundle/Contents/MacOS' g++ -bundle -pipe -fPIC -Os -DNDEBUG -m32 -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -funsigned-char -fvisibility=hidden -DNS_BUILD_32_LIKE_64 -Wall -Wwrite-strings -Wformat=2 -Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch -o '/tmp/Edit in TextMate/Edit in TextMate.bundle/Contents/MacOS/Edit in TextMate' src/.mm -framework Cocoa -framework Carbon -framework WebKit src/Edit in TextMate.mm:8:26: error: WebKit/WebKit.h: No such file or directory src/Edit in TextMate.mm:9:26: error: Carbon/Carbon.h: No such file or directory src/Edit in TextMate.mm:10:14: error: map: No such file or directory In file included from src/Edit in TextMate.mm:11: src/Edit in TextMate.h:8:24: error: Cocoa/Cocoa.h: No such file or directory In file included from src/Edit in TextMate.mm:11: src/Edit in TextMate.h:14: error: cannot find interface declaration for ‘NSObject’, superclass of ‘EditInTextMate’ src/Edit in TextMate.h:17: error: expected type-specifier before ‘NSString’ src/Edit in TextMate.h:17: error: expected )' before ‘NSString’ src/Edit in TextMate.h:17: error: expected;' before ‘*’ token src/Edit in TextMate.h:18: error: expected type-specifier before ‘NSString’ src/Edit in TextMate.h:18: error: expected )' before ‘NSString’ src/Edit in TextMate.h:18: error: expected;' before ‘*’ token src/Edit in TextMate.mm:19: error: expected initializer before ‘*’ token src/Edit in TextMate.mm:20: error: expected initializer before ‘*’ token src/Edit in TextMate.mm:21: error: expected initializer before ‘*’ token src/Edit in TextMate.mm: In function ‘void +EditInTextMate setODBEventHandlers’: src/Edit in TextMate.mm:41: error: ‘NSAppleEventManager’ was not declared in this scope src/Edit in TextMate.mm:41: error: ‘eventManager’ was not declared in this scope src/Edit in TextMate.mm: In function ‘void +EditInTextMate removeODBEventHandlers’: src/Edit in TextMate.mm:48: error: ‘NSAppleEventManager’ was not declared in this scope src/Edit in TextMate.mm:48: error: ‘eventManager’ was not declared in this scope src/Edit in TextMate.mm: At global scope: src/Edit in TextMate.mm:53: error: expected type-specifier before ‘BOOL’ src/Edit in TextMate.mm:53: error: expected )' before ‘BOOL’ src/Edit in TextMate.mm: In function ‘<typeprefixerror>+[EditInTextMate BOOL](objc_object*, objc_selector*)’: src/Edit in TextMate.mm:53: error: return type ‘<type error>’ is incomplete src/Edit in TextMate.mm:53: confused by earlier errors, bailing out In file included from src/NSTextView: Edit in TextMate.mm:8: src/Edit in TextMate.h:8:24: error: Cocoa/Cocoa.h: No such file or directory In file included from src/NSTextView: Edit in TextMate.mm:8: src/Edit in TextMate.h:14: error: cannot find interface declaration for ‘NSObject’, superclass of ‘EditInTextMate’ src/Edit in TextMate.h:17: error: expected type-specifier before ‘NSString’ src/Edit in TextMate.h:17: error: expected)' before ‘NSString’ src/Edit in TextMate.h:17: error: expected ;' before ‘*’ token src/Edit in TextMate.h:18: error: expected type-specifier before ‘NSString’ src/Edit in TextMate.h:18: error: expected)' before ‘NSString’ src/Edit in TextMate.h:18: error: expected ;' before ‘*’ token src/NSTextView: Edit in TextMate.mm:10: error: cannot find interface declaration for ‘NSTextView’ src/WebView: Edit in TextMate.mm:8:26: error: WebKit/WebKit.h: No such file or directory src/WebView: Edit in TextMate.mm:9:17: error: vector: No such file or directory In file included from src/WebView: Edit in TextMate.mm:10: src/Edit in TextMate.h:8:24: error: Cocoa/Cocoa.h: No such file or directory In file included from src/WebView: Edit in TextMate.mm:10: src/Edit in TextMate.h:14: error: cannot find interface declaration for ‘NSObject’, superclass of ‘EditInTextMate’ src/Edit in TextMate.h:17: error: expected type-specifier before ‘NSString’ src/Edit in TextMate.h:17: error: expected)' before ‘NSString’ src/Edit in TextMate.h:17: error: expected ;' before ‘*’ token src/Edit in TextMate.h:18: error: expected type-specifier before ‘NSString’ src/Edit in TextMate.h:18: error: expected)' before ‘NSString’ src/Edit in TextMate.h:18: error: expected `;' before ‘*’ token src/WebView: Edit in TextMate.mm:17: error: cannot find interface declaration for ‘DOMHTMLTextAreaElement’ make: ** [/tmp/Edit in TextMate/Edit in TextMate.bundle/Contents/MacOS/Edit in TextMate] Error 1
On Aug 26, 2012, at 4:12 PM, jason chen janckerchen@gmail.com wrote:
"Edit In Textmate" compile broken […]
Try remove ‘-mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk’ from the Makefile, as it should then build w/o the 10.5 SDK.