NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdfgroup] Compiling with Mingw-w64

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?



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