[MINC-users] MacOS-X MINC 2.1

Andrew Janke a.janke at gmail.com
Wed Feb 9 18:38:16 EST 2011


Hi Nicolas,

On 10 February 2011 09:27, Nicolas Kassis <nic.kassis at gmail.com> wrote:

> I was just trying out the portfile that Haz-Edine created (Thank you
> for that). I get an error during compilation. It seems to choke on
> image_conversion.c line 206. It can't find MAX_NC_OPEN

Are you sure you are using MINC 2.1?  This bug (MAX_NC_OPEN) was
squashed in MINC 2.0.19 as this is no longer defined in netcdf.

In the meantime, the problem can be worked around by just replacing
all occurrences of MAX_NC_OPEN with 32.

> Here is the tail for the macport install run:
>
> :info:build     if /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.2
> -DHAVE_CONFIG_H -I. -I. -I. -I./libsrc -I./volume_io/Include
> -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema
> -I/opt/local/include -I/opt/local/include  -pipe -O2 -arch x86_64 -MT
> libsrc/image_conversion.lo -MD -MP -MF "$depbase.Tpo" -c -o



-- 
Andrew Janke
(a.janke at gmail.com || http://a.janke.googlepages.com/)
Brisbane->Australia    +61 (402) 700 883


More information about the MINC-users mailing list