Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: [netcdfgroup] Compiling with Mingw-w64

On Fri, Nov 12, 2010 at 3:38 PM, Ed Hartnett <ed@xxxxxxxxxxxxxxxx> wrote:
> NightStrike <nightstrike@xxxxxxxxx> writes:
>
>> I am trying to compile netcdf with Mingw-w64.  I use the following:
>>
>> ../configure --prefix=/home/NightStrike/netcdf --host=x86_64-w64-mingw32
>>
>>
>> It dies with this:
>>
>> ../../libsrc/v2i.c: In function `nvdims':
>> ../../libsrc/v2i.c:39:2: error: `NC' undeclared (first use in this function)
>> ../../libsrc/v2i.c:39:2: note: each undeclared identifier is reported
>> only once for each function it appears in
>> ../../libsrc/v2i.c:39:6: error: `ncp' undeclared (first use in this function)
>> ../../libsrc/v2i.c:43:16: error: expected `=', `,', `;', `asm' or
>> `__attribute__' before `*' token
>> ../../libsrc/v2i.c:43:17: error: expected expression before `const'
>> ../../libsrc/v2i.c:44:6: error: `varp' undeclared (first use in this 
>> function)
>> make[2]: *** [v2i.lo] Error 1
>>
>> Any suggestions?
>>
>
> Try configuring with --disable-v2.
>

Thanks, that did it!  Now to see if the resulting lib works....



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: