file was built for archive which is not the architecture being linked (armv7)
Salut. Je me casse les dents, i need help. J'ai exploité au maximum l'aide de mon ami google, mais là je craque.
Je reprend un projet de jeu vidéo développé développé par un freelance avec le moteur sio2 sur lequel il faut que j'apporte des modifications.
La compilation fonctionne en mode simulation, mais pour ce qui est du mode device, il n'y à rien à faire.
Citation:
Ld /Users/morphee/Library/Developer/Xcode/DerivedData/template-dapllcxsfqdbvkgtcsuialtekrga/Build/Products/Debug-iphoneos/GalamonSpace.app/GalamonSpace normal armv7
cd /Users/morphee/Documents/XCode/GalamonSpace/iphone/Application/template
setenv IPHONEOS_DEPLOYMENT_TARGET 4.2
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 armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -L/Users/morphee/Library/Developer/Xcode/DerivedData/template-dapllcxsfqdbvkgtcsuialtekrga/Build/Products/Debug-iphoneos -L/Users/morphee/Documents/XCode/GalamonSpace/iphone/Application/template/../src/pyro/Lib -L/Users/morphee/Documents/XCode/GalamonSpace/iphone/Application/template/../src/Bulkyservices/lib -L/Users/morphee/Documents/XCode/GalamonSpace/iphone/Application/template/../src/sio2/lib -F/Users/morphee/Library/Developer/Xcode/DerivedData/template-dapllcxsfqdbvkgtcsuialtekrga/Build/Products/Debug-iphoneos -filelist /Users/morphee/Library/Developer/Xcode/DerivedData/template-dapllcxsfqdbvkgtcsuialtekrga/Build/Intermediates/template.build/Debug-iphoneos/GalamonSpace.build/Objects-normal/armv7/GalamonSpace.LinkFileList -dead_strip -miphoneos-version-min=4.2 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -framework AudioToolbox -framework CoreGraphics -framework AVFoundation -framework SystemConfiguration -framework StoreKit -weak_framework GameKit /Users/morphee/Documents/XCode/GalamonSpace/iphone/Application/template/../src/Bulkyservices/lib/debug_libbulkyservices_nothumb_sdk4.2.a -weak-lpyro_ios_dev -weak-lsio2_dev -o /Users/morphee/Library/Developer/Xcode/DerivedData/template-dapllcxsfqdbvkgtcsuialtekrga/Build/Products/Debug-iphoneos/GalamonSpace.app/GalamonSpace
ld: warning: ignoring file /Users/morphee/Documents/XCode/GalamonSpace/iphone/Application/src/sio2/lib/libsio2_dev.a, file was built for archive which is not the architecture being linked (armv7)
Undefined symbols for architecture armv7:
"_sio2Init", referenced from:
-[EAGLView createFramebuffer] in EAGLView.o
"_sio2Shutdown", referenced from:
templateShutdown() in template.o
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status
Je pense que ça vient du fait que la lib d'sio2 que j'ai n'est pas compatible armv7, mais pour l'instant je bosse encore avec les lib du développeur précédant et n'ayant pas de licence pour sio2, je ne peux pas les mettre à jour.
Je suis sous XCode4 avec une OSX 10.6.7 sous VMWare, le SDK iOS 4.3 et un IPhone jail sous IOS 4.2.1 (qui n'est pas à moi).
C'est la première fois que je développe sous mac, je suis un peu perdu. Je suis même pas sûr d'avoir bien compris ce qu'est armv6 et armv7.
Est-ce que je peux forcer la compil en armv6 ? Est ce la bonne solution ? Comment je fais ?
Est ce que le fait que l'iphone ai un IOS plus vieux que le SDK pose pas problème ? Dans ce cas, ne puis je pas compiler sans me préocuper de la version de l'IPhone pour l'instant ?
Merci de votre aide.
PS: on a plus de contact avec le dév précédant.