[MINC-users] 64-bit build on OSX 10.5

Alexandre CARMEL-VEILLEUX acveilleux at mrs.mni.mcgill.ca
Tue Apr 1 17:17:51 EDT 2008


	Well, if I run:
	
./configure CFLAGS="-O2 -arch x86_64" CXXFLAGS="-O2 -arch x86_64" --prefix=/usr/local --with-zlib=yes --with-szlib=yes

	for both hdf5 1.8.0 and 1.6.7 and then copy the libtool from 1.8.0 to
1.6.7, then 1.6.7 builds properly in 64-bit on OS X. Minc 2.0.15 links against
it and appears to work (though I haven't done extensive testing yet, it won't
Segfault anymore).

	So problem "solved".

Alex

On Tue, Apr 01, 2008 at 04:27:32PM -0400, Claude LEPAGE wrote:
> Date: Tue, 1 Apr 2008 16:27:32 -0400 (EDT)
> From: Claude LEPAGE <claude at bic.mni.mcgill.ca>
> To: MINC users mailing list <minc-users at bic.mni.mcgill.ca>
> Subject: Re: [MINC-users] 64-bit build on OSX 10.5
> 
> Hi,
> 
> You definitely cannot use hdf5 1.8.0 in minc2. The API has changed from 1.6.X
> and minc2 is not compatible with the new API. I haven't tried 1.6.7, but 1.6.6
> works on Linux 32 and 64 bits. As far as minc2.0.15 is concerned, there is a
> known (and fixed) bug in dcm2mnc in 64 bits (will go in next release). But all
> other minc tools should be expected to work in 64 bits, even on a Mac.
> 
> Claude
> 
> > 	I'm trying to get a clean build of Minc 2.0.15 for OSX 10.5 in
> > 64-bit mode. Now I've got 32-bit working (thanks Andrew) but for some
> > reason I can't build hdf5 1.6 (either 1.6.1 or 1.6.7) in 64-bit and I
> > get segfaults if I link 1.8.0 in 1.6 compatiblity mode with minc2.
> > 
> > 	Has anyone got this working and can clue me in on to this?
> > 
> > Alex
> > _______________________________________________
> > MINC-users at bic.mni.mcgill.ca
> > http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> > 
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users


More information about the MINC-users mailing list