Menu

#24 error: `nc_strerror' undeclared

v1.1.10
open-accepted
5
2010-07-26
2010-07-26
aurangzeb
No

/usr/local/include/ncvalues.h:39: error: `NC_INT' was not declared in this scope
/usr/local/include/ncvalues.h:39: error: enumerator value for `ncInt' not integer constant
/usr/local/include/ncvalues.h:46: error: `NC_FILL_BYTE' was not declared in this scope
/usr/local/include/ncvalues.h:47: error: `NC_FILL_CHAR' was not declared in this scope
/usr/local/include/ncvalues.h:48: error: `NC_FILL_SHORT' was not declared in this scope
/usr/local/include/ncvalues.h:50: error: `NC_FILL_INT' was not declared in this scope
/usr/local/include/ncvalues.h:52: error: `NC_FILL_FLOAT' was not declared in this scope
/usr/local/include/ncvalues.h:53: error: `NC_FILL_DOUBLE' was not declared in this scope
In file included from IO.h:34,
from GlobalClimate.cc:33:
/usr/local/include/netcdfcpp.h: In member function `const char* NcError::get_errmsg()':
/usr/local/include/netcdfcpp.h:459: error: `nc_strerror' undeclared (first use this function)
/usr/local/include/netcdfcpp.h:459: error: (Each undeclared identifier is reported only once for each function it appears in.)

Discussion

  • Carsten Lemmen

    Carsten Lemmen - 2010-07-26

    On platform Solaris/SPARC

    after configuration warning that netcdf was found but could not be compiled

     
  • Carsten Lemmen

    Carsten Lemmen - 2010-07-26
    • status: open --> open-accepted
     
  • Carsten Lemmen

    Carsten Lemmen - 2010-07-26

    Possibly, the compiler-dependent netcdf version has to be selected in the ./configure statement's --with-netcdf option

     

Log in to post a comment.

MongoDB Logo MongoDB