jessegrosjean / quickcursor

496 stars 74 forks source link

Building out-of-the-box fails on 10.5.8, Xcode 3.1.3 #5

Closed rsms closed 14 years ago

rsms commented 14 years ago

ref: master rev: e94354c40e8ac62291e296b9cf9d68676870ed33 uname: Darwin x.spotify.net 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

Building target “ShortcutRecorder.ibplugin” of project “ShortcutRecorder” with configuration “Debug” — (11 errors)
        cd /Users/rasmus/src/quickcursor/shortcutrecorder-read-only
    setenv MACOSX_DEPLOYMENT_TARGET 10.5
    /Developer/usr/bin/gcc-4.0 -arch x86_64 -bundle -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Users/rasmus/src/quickcursor/shortcutrecorder-read-only/build/Debug -F/Users/rasmus/src/quickcursor/shortcutrecorder-read-only/build/Debug -F/Developer/Library/Frameworks -F/Users/rasmus/src/quickcursor/shortcutrecorder-read-only/build/Debug -filelist /Users/rasmus/src/quickcursor/shortcutrecorder-read-only/build/ShortcutRecorder.build/Debug/ShortcutRecorder.ibplugin.build/Objects-normal/x86_64/ShortcutRecorder.LinkFileList -mmacosx-version-min=10.5 -framework Foundation -framework AppKit -framework Cocoa -framework Carbon -framework ShortcutRecorder -framework InterfaceBuilderKit -o /Users/rasmus/src/quickcursor/shortcutrecorder-read-only/build/ShortcutRecorder.build/Debug/ShortcutRecorder.ibplugin.build/Objects-normal/x86_64/ShortcutRecorder
ld warning: in /Developer/Library/Frameworks/InterfaceBuilderKit.framework/InterfaceBuilderKit, missing required architecture x86_64 in file
Undefined symbols:
  "_IBAttributeKeyPaths", referenced from:
      -[SRRecorderControl(LeopardIB) ibPopulateKeyPaths:] in SRRecorderControl+LeopardIB.o
  "_OBJC_CLASS_$_IBPlugin", referenced from:
      _OBJC_CLASS_$_SR_Leopard in SR_Leopard.o
  "_OBJC_METACLASS_$_IBInspector", referenced from:
      _OBJC_METACLASS_$_SR_LeopardInspector in SR_LeopardInspector.o
  "_OBJC_METACLASS_$_IBPlugin", referenced from:
      _OBJC_METACLASS_$_SR_Leopard in SR_Leopard.o
  "_OBJC_CLASS_$_IBInspector", referenced from:
      _OBJC_CLASS_$_SR_LeopardInspector in SR_LeopardInspector.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
          "_IBAttributeKeyPaths", referenced from:
              -[SRRecorderControl(LeopardIB) ibPopulateKeyPaths:] in SRRecorderControl+LeopardIB.o
          "_OBJC_CLASS_$_IBPlugin", referenced from:
              _OBJC_CLASS_$_SR_Leopard in SR_Leopard.o
          "_OBJC_METACLASS_$_IBInspector", referenced from:
              _OBJC_METACLASS_$_SR_LeopardInspector in SR_LeopardInspector.o
          "_OBJC_METACLASS_$_IBPlugin", referenced from:
              _OBJC_METACLASS_$_SR_Leopard in SR_Leopard.o
          "_OBJC_CLASS_$_IBInspector", referenced from:
              _OBJC_CLASS_$_SR_LeopardInspector in SR_LeopardInspector.o
        ld: symbol(s) not found
        collect2: ld returned 1 exit status
        cd /Users/rasmus/src/quickcursor/shortcutrecorder-read-only
    setenv MACOSX_DEPLOYMENT_TARGET 10.5
    /Developer/usr/bin/gcc-4.0 -arch ppc64 -bundle -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Users/rasmus/src/quickcursor/shortcutrecorder-read-only/build/Debug -F/Users/rasmus/src/quickcursor/shortcutrecorder-read-only/build/Debug -F/Developer/Library/Frameworks -F/Users/rasmus/src/quickcursor/shortcutrecorder-read-only/build/Debug -filelist /Users/rasmus/src/quickcursor/shortcutrecorder-read-only/build/ShortcutRecorder.build/Debug/ShortcutRecorder.ibplugin.build/Objects-normal/ppc64/ShortcutRecorder.LinkFileList -mmacosx-version-min=10.5 -framework Foundation -framework AppKit -framework Cocoa -framework Carbon -framework ShortcutRecorder -framework InterfaceBuilderKit -o /Users/rasmus/src/quickcursor/shortcutrecorder-read-only/build/ShortcutRecorder.build/Debug/ShortcutRecorder.ibplugin.build/Objects-normal/ppc64/ShortcutRecorder
ld warning: in /Developer/Library/Frameworks/InterfaceBuilderKit.framework/InterfaceBuilderKit, missing required architecture ppc64 in file
Undefined symbols:
  "_IBAttributeKeyPaths", referenced from:
      _IBAttributeKeyPaths$non_lazy_ptr in SRRecorderControl+LeopardIB.o
  "_OBJC_CLASS_$_IBPlugin", referenced from:
      _OBJC_CLASS_$_SR_Leopard in SR_Leopard.o
  "_OBJC_METACLASS_$_IBInspector", referenced from:
      _OBJC_METACLASS_$_SR_LeopardInspector in SR_LeopardInspector.o
  "_OBJC_METACLASS_$_IBPlugin", referenced from:
      _OBJC_METACLASS_$_SR_Leopard in SR_Leopard.o
  "_OBJC_CLASS_$_IBInspector", referenced from:
      _OBJC_CLASS_$_SR_LeopardInspector in SR_LeopardInspector.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
          "_IBAttributeKeyPaths", referenced from:
              _IBAttributeKeyPaths$non_lazy_ptr in SRRecorderControl+LeopardIB.o
          "_OBJC_CLASS_$_IBPlugin", referenced from:
              _OBJC_CLASS_$_SR_Leopard in SR_Leopard.o
          "_OBJC_METACLASS_$_IBInspector", referenced from:
              _OBJC_METACLASS_$_SR_LeopardInspector in SR_LeopardInspector.o
          "_OBJC_METACLASS_$_IBPlugin", referenced from:
              _OBJC_METACLASS_$_SR_Leopard in SR_Leopard.o
          "_OBJC_CLASS_$_IBInspector", referenced from:
              _OBJC_CLASS_$_SR_LeopardInspector in SR_LeopardInspector.o
        ld: symbol(s) not found
        collect2: ld returned 1 exit status
        cd /Users/rasmus/src/quickcursor/shortcutrecorder-read-only
    /bin/sh -c /Users/rasmus/src/quickcursor/shortcutrecorder-read-only/build/ShortcutRecorder.build/Debug/ShortcutRecorder.ibplugin.build/Script-939838C20DA430FB007F53F3.sh
install_name_tool: can't open file: /Users/rasmus/src/quickcursor/shortcutrecorder-read-only/build/Debug/ShortcutRecorder.ibplugin/Contents/MacOS/ShortcutRecorder (No such file or directory)
        install_name_tool: can't open file: /Users/rasmus/src/quickcursor/shortcutrecorder-read-only/build/Debug/ShortcutRecorder.ibplugin/Contents/MacOS/ShortcutRecorder (No such file or directory)
        install_name_tool: can't open file: /Users/rasmus/src/quickcursor/shortcutrecorder-read-only/build/Debug/ShortcutRecorder.ibplugin/Contents/MacOS/ShortcutRecorder (No such file or directory)
Building target “QuickCursor” of project “QuickCursor” with configuration “Debug” — (19 errors, 3 warnings)
        cd /Users/rasmus/src/quickcursor
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/rasmus/src/quickcursor/build/Debug/QuickCursor.app/Contents/Resources/English.lproj/MainMenu.nib /Users/rasmus/src/quickcursor/English.lproj/MainMenu.xib
/* com.apple.ibtool.errors */
Internal Error:
    Description: Unable to resolve plug-in dependency for "MainMenu.xib".
    Recovery Suggestion: Locate the net.wafflesoftware.ShortcutRecorder.IB.Leopard 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.
            Recovery Suggestion: Locate the net.wafflesoftware.ShortcutRecorder.IB.Leopard 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.
            Recovery Suggestion: Locate the net.wafflesoftware.ShortcutRecorder.IB.Leopard 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.
            Recovery Suggestion: Locate the net.wafflesoftware.ShortcutRecorder.IB.Leopard 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.
            Recovery Suggestion: Locate the net.wafflesoftware.ShortcutRecorder.IB.Leopard 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.
            Recovery Suggestion: Locate the net.wafflesoftware.ShortcutRecorder.IB.Leopard 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.
        cd /Users/rasmus/src/quickcursor
    /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.5.sdk -mfix-and-continue -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/rasmus/src/quickcursor/build/QuickCursor.build/Debug/QuickCursor.build/QuickCursor-generated-files.hmap -I/Users/rasmus/src/quickcursor/build/QuickCursor.build/Debug/QuickCursor.build/QuickCursor-own-target-headers.hmap -I/Users/rasmus/src/quickcursor/build/QuickCursor.build/Debug/QuickCursor.build/QuickCursor-all-target-headers.hmap -iquote /Users/rasmus/src/quickcursor/build/QuickCursor.build/Debug/QuickCursor.build/QuickCursor-project-headers.hmap -F/Users/rasmus/src/quickcursor/build/Debug -F/Users/rasmus/src/quickcursor -I/Users/rasmus/src/quickcursor/build/Debug/include -I/Users/rasmus/src/quickcursor/build/QuickCursor.build/Debug/QuickCursor.build/DerivedSources/i386 -I/Users/rasmus/src/quickcursor/build/QuickCursor.build/Debug/QuickCursor.build/DerivedSources -include /var/folders/lW/lWT+1xQGHBaBZeF7WDOTs++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/QuickCursor_Prefix-daacrltupbajcadjfvwbxwyyhexu/QuickCursor_Prefix.pch -c /Users/rasmus/src/quickcursor/QCAppDelegate.m -o /Users/rasmus/src/quickcursor/build/QuickCursor.build/Debug/QuickCursor.build/Objects-normal/i386/QCAppDelegate.o
In file included from /Users/rasmus/src/quickcursor/QCAppDelegate.m:9:
/Users/rasmus/src/quickcursor/QCAppDelegate.h:11:46: error: ShortcutRecorder/ShortcutRecorder.h: No such file or directory
In file included from /Users/rasmus/src/quickcursor/QCAppDelegate.m:9:
/Users/rasmus/src/quickcursor/QCAppDelegate.h:19: error: syntax error before ‘SRRecorderControl’
/Users/rasmus/src/quickcursor/QCAppDelegate.m: In function ‘-[QCAppDelegate validateMenuItem:]’:
/Users/rasmus/src/quickcursor/QCAppDelegate.m:94: warning: implicit declaration of function ‘SRCharacterForKeyCodeAndCarbonFlags’
/Users/rasmus/src/quickcursor/QCAppDelegate.m:94: warning: initialization makes pointer from integer without a cast
/Users/rasmus/src/quickcursor/QCAppDelegate.m:98: error: ‘shortcutRecorder’ undeclared (first use in this function)
/Users/rasmus/src/quickcursor/QCAppDelegate.m:98: error: (Each undeclared identifier is reported only once
/Users/rasmus/src/quickcursor/QCAppDelegate.m:98: error: for each function it appears in.)
/Users/rasmus/src/quickcursor/QCAppDelegate.m: In function ‘-[QCAppDelegate showPreferences:]’:
/Users/rasmus/src/quickcursor/QCAppDelegate.m:243: error: ‘shortcutRecorder’ undeclared (first use in this function)
/Users/rasmus/src/quickcursor/QCAppDelegate.m: In function ‘-[QCAppDelegate editInPopUpButtonClicked:]’:
/Users/rasmus/src/quickcursor/QCAppDelegate.m:272: error: ‘KeyCombo’ undeclared (first use in this function)
/Users/rasmus/src/quickcursor/QCAppDelegate.m:272: error: syntax error before ‘keyCombo’
/Users/rasmus/src/quickcursor/QCAppDelegate.m:274: error: ‘keyCombo’ undeclared (first use in this function)
/Users/rasmus/src/quickcursor/QCAppDelegate.m:275: error: ‘shortcutRecorder’ undeclared (first use in this function)
/Users/rasmus/src/quickcursor/QCAppDelegate.m:278: warning: implicit declaration of function ‘SRMakeKeyCombo’
/Users/rasmus/src/quickcursor/QCAppDelegate.m:278: error: ‘ShortcutRecorderEmptyCode’ undeclared (first use in this function)
/Users/rasmus/src/quickcursor/QCAppDelegate.m:278: error: ‘ShortcutRecorderEmptyFlags’ undeclared (first use in this function)
/Users/rasmus/src/quickcursor/QCAppDelegate.m: At top level:
/Users/rasmus/src/quickcursor/QCAppDelegate.m:335: error: syntax error before ‘SRRecorderControl’
/Users/rasmus/src/quickcursor/QCAppDelegate.m:339: error: syntax error before ‘SRRecorderControl’
/Users/rasmus/src/quickcursor/QCAppDelegate.m:341: error: ‘aRecorder’ undeclared here (not in a function)
/Users/rasmus/src/quickcursor/QCAppDelegate.m:341: error: ‘newKeyCombo’ undeclared here (not in a function)
/Users/rasmus/src/quickcursor/QCAppDelegate.m:342: error: ‘code’ undeclared here (not in a function)
/Users/rasmus/src/quickcursor/QCAppDelegate.m:342: error: initializer element is not constant
/Users/rasmus/src/quickcursor/QCAppDelegate.m:343: error: initializer element is not constant
/Users/rasmus/src/quickcursor/QCAppDelegate.m:344: error: syntax error before ‘[’ token
        In file included from /Users/rasmus/src/quickcursor/QCAppDelegate.m:9:
            /Users/rasmus/src/quickcursor/QCAppDelegate.h:11:46: error: ShortcutRecorder/ShortcutRecorder.h: No such file or directory
        In file included from /Users/rasmus/src/quickcursor/QCAppDelegate.m:9:
            /Users/rasmus/src/quickcursor/QCAppDelegate.h:19: error: syntax error before ‘SRRecorderControl’
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:94: warning: implicit declaration of function ‘SRCharacterForKeyCodeAndCarbonFlags’
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:94: warning: initialization makes pointer from integer without a cast
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:98: error: ‘shortcutRecorder’ undeclared (first use in this function)
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:243: error: ‘shortcutRecorder’ undeclared (first use in this function)
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:272: error: ‘KeyCombo’ undeclared (first use in this function)
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:272: error: syntax error before ‘keyCombo’
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:274: error: ‘keyCombo’ undeclared (first use in this function)
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:275: error: ‘shortcutRecorder’ undeclared (first use in this function)
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:278: warning: implicit declaration of function ‘SRMakeKeyCombo’
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:278: error: ‘ShortcutRecorderEmptyCode’ undeclared (first use in this function)
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:278: error: ‘ShortcutRecorderEmptyFlags’ undeclared (first use in this function)
        /Users/rasmus/src/quickcursor/QCAppDelegate.m: At top level:
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:335: error: syntax error before ‘SRRecorderControl’
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:339: error: syntax error before ‘SRRecorderControl’
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:341: error: ‘aRecorder’ undeclared here (not in a function)
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:341: error: ‘newKeyCombo’ undeclared here (not in a function)
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:342: error: ‘code’ undeclared here (not in a function)
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:342: error: initializer element is not constant
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:343: error: initializer element is not constant
        /Users/rasmus/src/quickcursor/QCAppDelegate.m:344: error: syntax error before ‘[’ token
Build failed (30 errors, 3 warnings)
jessegrosjean commented 14 years ago

I think these might all be related to the same problem. To fix try:

  1. Open the "ShrotcutRecorder" subproject.
  2. Build a "Release" version of the "ShortcutRecorderFramework_tester".
  3. Now try to go back and build QuickCursor.