Re: xcode and gsl linking problem
Re: xcode and gsl linking problem
- Subject: Re: xcode and gsl linking problem
- From: David Rogers <email@hidden>
- Date: Mon, 18 Feb 2008 11:00:40 -0600
Sounds like you're trying to build a Universal binary and that
libgsl.dylib does not contain both ppc and i386 code.
Running this from a terminal should tell you for sure which
architectures are included in that file:
lipo -info /opt/local/var/macports/software/gsl/1.10_1/opt/local/lib/
libgsl.dylib
Hope this helps. I don't have any experience with macports so I have
no idea how to remedy the situation within that system.
Dave Rogers
On Feb 18, 2008, at 9:53 AM, Rachel Clipp wrote:
Hello,
I have a project that uses c++ and gsl, but I am getting linking
warnings when I attempt to compile, which appears to lead to several
errors. The warning is below:
ld: warning in /opt/local/var/macports
/software/gsl/1.10_1/opt/local/lib/libgsl.dylib, file is not of
required architecture
I have added the libraries to the project, put the search path in
the library search path for both the project settings and the active
target settings and added the full path, including library name (as
it appears in the warning) to the Other linker flags section for
both the active targets settings and project settings.
I am not sure what else to do, so any help would be appreciated.
Thanks!
--
Rachel Clipp
Graduate Student
Joint Biomedical Engineering Department
NC State University & UNC-Chapel HIll
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden