| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Aug 6, 2006, at 17:24, Chris Espinosa wrote:
Well I've now narrowed the problem down to this: When I stick my static library (libsqlite3.a) in the Frameworks section, Xcode does the inexplicable and magically adds -lsqlite3 into the Ld phase. When I remove that file, though, that flag goes away from the transcript. I can't quite figure out why this is. Yet when I add in the the proper search paths for both the headers and the library into the project "Search Path" settings, I only get undefined symbol errors. I don't understand why this linking thing isn't working. This is the transcript from using my search paths: Ld /Users/rsesek/Projects/Tindex/build/SQLiteLibrary.build/Release/SQLiteLibrary.build/Objects-normal/ppc/SQLiteLibrary normal ppc cd /Users/rsesek/Projects/Tindex /usr/bin/gcc-4.0 -o /Users/rsesek/Projects/Tindex/build/SQLiteLibrary.build/Release/SQLiteLibrary.build/Objects-normal/ppc/SQLiteLibrary -L/Users/rsesek/Projects/Tindex/build/Release -L/Users/rsesek/Projects/Tindex/sqlite/lib -F/Users/rsesek/Projects/Tindex/build/Release -filelist /Users/rsesek/Projects/Tindex/build/SQLiteLibrary.build/Release/SQLiteLibrary.build/Objects-normal/ppc/SQLiteLibrary.LinkFileList -framework Cocoa -arch ppc -Wl,-single_module -compatibility_version 1 -current_version 1 -install_name @executable_path/../Frameworks/SQLiteLibrary.framework/Versions/A/SQLiteLibrary -Wl,-Y,1455 -dynamiclib -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk And it is linking to /Useres/rsesek/Projects/Tindex/sqlite/lib where I have the library compiled. |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden This email sent to email@hidden
| References: | |
| >Random /usr/lib/libsqlite3.0.dylib Linking in Release Mode ONLY (From: Robert Sesek <email@hidden>) | |
| >Re: Random /usr/lib/libsqlite3.0.dylib Linking in Release Mode ONLY (From: Chris Espinosa <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.