Game Development Community

iT2D 1.4.1 compile errors

by Can Aksoy · in iTorque 2D · 02/18/2011 (10:02 am) · 3 replies

trying to compile sample project fails with these errors...
how can I fix?


Build iTorque2DGame_device of project iTorque2D with configuration Debug

Check dependencies

[WARN]warning: no rule to process file '$(PROJECT_DIR)/../../projectFiles/main.cs' of type text for architecture armv6

CpResource build/Debug-iphoneos/iTorque2DGame.app/main.cs ../../projectFiles/main.cs
cd /Applications/iTorque2D_1_4_1/MyProjects/MyGame/buildFiles/XCode_iPhone
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -resolve-src-symlinks /Applications/iTorque2D_1_4_1/MyProjects/MyGame/buildFiles/XCode_iPhone/../../projectFiles/main.cs /Applications/iTorque2D_1_4_1/MyProjects/MyGame/buildFiles/XCode_iPhone/build/Debug-iphoneos/iTorque2DGame.app

pbxcp: main.cs: No such file or directory

Ld build/Debug-iphoneos/iTorque2DGame.app/iTorque2DGame normal armv6
cd /Applications/iTorque2D_1_4_1/MyProjects/MyGame/buildFiles/XCode_iPhone
setenv IPHONEOS_DEPLOYMENT_TARGET 2.2.1
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -L/Applications/iTorque2D_1_4_1/MyProjects/MyGame/buildFiles/XCode_iPhone/build/Debug-iphoneos -L\\\"/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/CoreGraphics.framework\\\" -F/Applications/iTorque2D_1_4_1/MyProjects/MyGame/buildFiles/XCode_iPhone/build/Debug-iphoneos -F\\\"/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks\\\" -F\\\"/Applications/iTorque2D_1_4_1/MyProjects/MyGame/buildFiles/XCode_iPhone/../../../../engine/lib/xiph/iPhone\\\" -filelist /Applications/iTorque2D_1_4_1/MyProjects/MyGame/buildFiles/XCode_iPhone/build/iTorque2D.build/Debug-iphoneos/iTorque2DGame_device.build/Objects-normal/armv6/iTorque2DGame.LinkFileList -dead_strip -miphoneos-version-min=2.2.1 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -lz -framework CoreGraphics -framework AudioToolbox -framework OpenAL -framework CoreAudio -o /Applications/iTorque2D_1_4_1/MyProjects/MyGame/buildFiles/XCode_iPhone/build/Debug-iphoneos/iTorque2DGame.app/iTorque2DGame

ld: warning: directory '\\\"/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/CoreGraphics.framework\\\"' following -L not found
ld: warning: directory '\\\"/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks\\\"' following -F not found
ld: warning: directory '\\\"/Applications/iTorque2D_1_4_1/MyProjects/MyGame/buildFiles/XCode_iPhone/../../../../engine/lib/xiph/iPhone\\\"' following -F not found
Undefined symbols:
"_OBJC_CLASS_$_MPMusicPlayerController", referenced from:
objc-class-ref-to-MPMusicPlayerController in iPhoneUserMusicLibrary.o
"_MPMediaItemPropertyTitle", referenced from:
_MPMediaItemPropertyTitle$non_lazy_ptr in iPhoneUserMusicLibrary.o
(maybe you meant: _MPMediaItemPropertyTitle$non_lazy_ptr)
"_OBJC_CLASS_$_MPMediaQuery", referenced from:
objc-class-ref-to-MPMediaQuery in iPhoneUserMusicLibrary.o
"_MPMediaItemPropertyArtist", referenced from:
_MPMediaItemPropertyArtist$non_lazy_ptr in iPhoneUserMusicLibrary.o
(maybe you meant: _MPMediaItemPropertyArtist$non_lazy_ptr)
ld: symbol(s) not found
collect2: ld returned 1 exit status

About the author

Recent Threads


#1
02/18/2011 (10:25 am)
It looks like you've set the configuration to use iOS SDK 4.2, but don't have that installed.
#2
02/19/2011 (1:17 pm)
Of course i have 4.2 installed and using wih other iphone projects
#3
02/21/2011 (3:53 am)
I am getting a few of the same errors and like CanAksoy I can build other projects using XCode 4.2.