PDA

View Full Version : CocoaTechTerminal doesn't compile


grawil
Sep 22, 2006, 01:19 PM
I'm a scientific *nix programmer (C/Fortran/Lisp/matlab/etc) and I am just starting out with Xcode and objC. I would like to build a simple, full-screen terminal application. Nothing fancy, just a stand-alone terminal window on a black screen (aka WriteRoom v1.0 but with a terminal instead of a text document). My plan is to use this for a distraction-free writing environment with vim/emacs and GNU screen. I figured that the CocoaTechTerminal was a good place to start but I'm having trouble compiling the test app. Any hints would be much appreciated.

Here is what I get when I try to build the test:

Building target “CocoaTechTerminal Test” of project “CocoaTechTerminal” with configuration “Development”


Checking Dependencies
JamToolExecution "CocoaTechTerminal Test"
cd "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal"
setenv ASCII_OUTPUT_ANNOTATION YES
setenv ENABLE_APPLE_JAM_EXTENSIONS YES
setenv ENABLE_APPLE_JAM_OUTPUT_ANNOTATION YES
setenv GROUP staff
setenv NATIVE_ARCH ppc
setenv USER grawil
/Developer/Private/jam -d1 -j1 JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase JAMFILE=/Users/grawil/Sync/Code/CocoaTech\ Open\ Source\ 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal\ Test.build/CocoaTechTerminal\ Test.jam build ACTION=build _DEFAULT_GCC_VERSION=4.0 GCC_VERSION_IDENTIFIER=4_0 CONFIGURATION=Development BUILD_STYLE=Development CPP_HEADERMAP_FILE=/Users/grawil/Sync/Code/CocoaTech\ Open\ Source\ 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal\ Test.build/CocoaTechTerminal\ Test.hmap CLEAN_PRECOMPS=YES SRCROOT=/Users/grawil/Sync/Code/CocoaTech\ Open\ Source\ 3.2/Frameworks/CocoaTechTerminal OBJROOT=/Users/grawil/Sync/Code/CocoaTech\ Open\ Source\ 3.2/Frameworks/CocoaTechTerminal/build SYMROOT=/Users/grawil/Sync/Code/CocoaTech\ Open\ Source\ 3.2/Frameworks/CocoaTechTerminal/build DSTROOT=/tmp/CocoaTechTerminal.dst

Mkdir "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app"
/bin/mkdir -p "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app"

Mkdir "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/Resources"
/bin/mkdir -p "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/Resources"

PBXCp "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/Resources/ITTerminalWindow.nib" nibs/ITTerminalWindow.nib
/System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks nibs/ITTerminalWindow.nib "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/Resources"

PBXCp "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/Resources/MainMenu.nib" nibs/MainMenu.nib
/System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks nibs/MainMenu.nib "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/Resources"

PBXCp "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/Resources/Credits.html" Credits.html
/System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks Credits.html "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/Resources"

PBXCp "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/Resources/InfoPlist.strings" InfoPlist.strings
/System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks InfoPlist.strings "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/Resources"

PBXCp "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/Resources/iTerm.icns" iTerm.icns
/System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks iTerm.icns "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/Resources"

Mkdir "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents"
/bin/mkdir -p "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents"

PBXCp "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/Info.plist" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Info.plist"
/System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Info.plist" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents"

PBXCp "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/pbdevelopment.plist" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/pbdevelopment.plist"
/System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/pbdevelopment.plist" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents"

PBXCp "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/PkgInfo" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/PkgInfo"
/System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/PkgInfo" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents"

grawil
Sep 22, 2006, 01:20 PM
Here is the rest...



BuildPhase "<CopyResources>CocoaTechTerminal Test.app" "<CocoaTechTerminal Test>CocoaTechTerminal Test.app"
echo Completed phase "<CopyResources>" for "<CopyResources>CocoaTechTerminal Test.app"
Completed phase <CopyResources> for <CopyResources>CocoaTechTerminal Test.app

Mkdir "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc"
/bin/mkdir -p "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc"

CompileC "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/iTermApplicationDelegate.o" iTermApplicationDelegate.m
/usr/bin/gcc-4.0 -c "-I/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/CocoaTechTerminal Test.hmap" -F"/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development" -I"/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/include" -arch ppc -fno-common -fpascal-strings -O0 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -mdynamic-no-pic -g iTermApplicationDelegate.m -o "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/iTermApplicationDelegate.o"

CompileC "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/ITTerminalWindow.o" ITTerminalWindow.m
/usr/bin/gcc-4.0 -c "-I/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/CocoaTechTerminal Test.hmap" -F"/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development" -I"/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/include" -arch ppc -fno-common -fpascal-strings -O0 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -mdynamic-no-pic -g ITTerminalWindow.m -o "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/ITTerminalWindow.o"
ITTerminalWindow.m:41:2: warning: #warning - why do we need this?

CompileC "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/PTYWindow.o" PTYWindow.m
/usr/bin/gcc-4.0 -c "-I/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/CocoaTechTerminal Test.hmap" -F"/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development" -I"/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/include" -arch ppc -fno-common -fpascal-strings -O0 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -mdynamic-no-pic -g PTYWindow.m -o "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/PTYWindow.o"

CompileC "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/main.o" main.m
/usr/bin/gcc-4.0 -c "-I/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/CocoaTechTerminal Test.hmap" -F"/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development" -I"/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/include" -arch ppc -fno-common -fpascal-strings -O0 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -mdynamic-no-pic -g main.m -o "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/main.o"

BuildPhase "<DeriveAndCompileSources>CocoaTechTerminal Test.app" "<CocoaTechTerminal Test>CocoaTechTerminal Test.app"
echo Completed phase "<DeriveAndCompileSources>" for "<DeriveAndCompileSources>CocoaTechTerminal Test.app"
Completed phase <DeriveAndCompileSources> for <DeriveAndCompileSources>CocoaTechTerminal Test.app

Mkdir "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/MacOS"
/bin/mkdir -p "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/MacOS"

ClearFileList "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/LinkFileList"
/bin/rm -rf "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/LinkFileList"

AppendToFileList "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/LinkFileList" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/iTermApplicationDelegate.o" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/ITTerminalWindow.o" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/PTYWindow.o" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/main.o"
for file_reference in "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/iTermApplicationDelegate.o" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/ITTerminalWindow.o" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/PTYWindow.o" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/main.o"
do
echo "$file_reference" >> "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/LinkFileList"
done

StandaloneExecutable "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/MacOS/CocoaTechTerminal Test" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/iTermApplicationDelegate.o" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/ITTerminalWindow.o" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/PTYWindow.o" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/ppc/main.o" /System/Library/Frameworks/Cocoa.framework


StandaloneExecutable.LinkUsingFileList "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/MacOS/CocoaTechTerminal Test" "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/LinkFileList"
/usr/bin/gcc-4.0 -o "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development/CocoaTechTerminal Test.app/Contents/MacOS/CocoaTechTerminal Test" "-L/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development" "-F/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/Development" -filelist "/Users/grawil/Sync/Code/CocoaTech Open Source 3.2/Frameworks/CocoaTechTerminal/build/CocoaTechTerminal.build/Development/CocoaTechTerminal Test.build/Objects-normal/LinkFileList" "-arch" "ppc" "-prebind" "-Wl,-no_arch_warnings" "-framework" "Cocoa"
/usr/bin/ld: warning prebinding disabled because of undefined symbols
/usr/bin/ld: Undefined symbols:
.objc_class_name_ITTerminal
collect2: ld returned 1 exit status

Steve Gehrman
Sep 23, 2006, 10:44 PM
Probably old code. Email us and we'll send you the lastest versions that do compile. I need to repost my open source. Sorry about that.

.cocoa
Apr 09, 2007, 11:14 PM
where can download the latest CocoaTechTerminal source and doc?
Thanks.

grotsasha
Apr 10, 2007, 02:00 AM
You can download it on our open source page (http://www.cocoatech.com/opensource.php). If you have any problems compiling it or have questions, contact Steve directly at sgehrman at this domain dot com.