• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: xcode and gsl linking problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcode and gsl linking problem


  • Subject: Re: xcode and gsl linking problem
  • From: "Rachel Clipp" <email@hidden>
  • Date: Mon, 18 Feb 2008 12:20:15 -0500

They .dylib files are i386 architecture files.  So I was able to compile when I changed everything to i386 and 10.5 instead of i386 and ppc and 10.4u in the project settings and target settings.

Thank you very much!

On Feb 18, 2008 12:00 PM, David Rogers <email@hidden> wrote:
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.
>
> This email sent to email@hidden




--
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

References: 
 >xcode and gsl linking problem (From: "Rachel Clipp" <email@hidden>)
 >Re: xcode and gsl linking problem (From: David Rogers <email@hidden>)

  • Prev by Date: Re: xcode and gsl linking problem
  • Next by Date: problem with research assistant
  • Previous by thread: Re: xcode and gsl linking problem
  • Next by thread: problem with research assistant
  • Index(es):
    • Date
    • Thread