[MINC-users] Problems with linking libraries using Xcode

Jason Lerch jason at bic.mni.mcgill.ca
Thu Jun 22 11:31:51 EDT 2006


Have you tried rerunning ranlib on each of the .a files?

(I've never used Xcode for minc stuff, but that appears to be what  
the error message suggests)

Jason

On 22-Jun-06, at 9:40 AM, Ed Gronenschild wrote:

> Hi,
>
> I'm building my own image processing application with Apple's
> Xcode 2.3 on a Mac with OS X 10.4.6. I'm linking against the libraries
> libbicpl.a, libminc.a, libnetcdf.a and libvolume_io.a, all from the
> minc-1.4 package for OSX 10.3. In Xcode I've set OS X 10.3.9
> as cross-develop target SDK.
> The application runs fine in debug mode, but as soon as I switch
> to release mode (the application will be used by others) I get
> linking errors, the same for each of  the minc libraries. For instance
> for libbicpl.a:
>
> "table of contents for archive: /...../libbicpl.a is out of date;
> rerun ranlib(1)
> (can't load from it)"
>
> and finally
>
> "/usr/bin/gcc-4.0 failed with exit code 1"
>
> Does anybody know what to do?
>
> Regards,
>
> Ed
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users



More information about the MINC-users mailing list