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.

[netcdfgroup] compilation bug with netcdf-3.6.2 - openSUSE 11.2 - solved

When I tried to compile netcdf-3.6.2 on an openSUSE 11.2, I got two errors
which said: "*** was not declared in this scope"

The solution is simple just add the line below:
include "string.h"

To these files:
netcdf-3.6.2/examples/CXX/sfc_pres_temp_rd.cpp
netcdf-3.6.2/cxx/ncvalues.cpp


-----------------
Sincerely yours,
Siavash Ghiasvand
  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: