sqlite3 xcode libsqlite3.dylib

pauljean

Membre enregistré
22 Mars 2011
1
0
salut tout le monde,

lors de la compilation de mon projet sur xcode je trouve des erreurs mais seulement je sais pas où est la source d'erreur.

j'ai importé le framwork libsqlite3.dylib puis ajouté le #import "sqlite3.h" rien à faire le pb persiste.

symbol not found sqlite3_open() et sqlite3_close.

bref voici les erreurs du compilateur xcode:


ld warning: in /install/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/usr/lib/libsqlite3.dylib, file is not of required architecture

ld warning: in /install/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/usr/lib/libsqlite3.0.dylib, file is not of required architecture Undefined symbols:"_sqlite3_open", referenced from: -[LiteSqlViewController openDB] in LiteSqlViewController.o "_sqlite3_close", referenced from: -[LiteSqlViewController openDB] in LiteSqlViewController.o

ld: symbol(s) not found collect2: ld returned 1 exit status _sqlite3_open", referenced from:-[LiteSqlViewController openDB] in LiteSqlViewController.o "_sqlite3_close", referenced from:-[LiteSqlViewController openDB] in LiteSqlViewController.o

ld: symbol(s) not found collect2: ld returned 1 exit status Build failed (2 errors)


j'utlise un mac osx 10.5.8 xcode 3.1.2 ipone simulator 2.2.1 architecture ppc.


merci dejà pour votre aide !