This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hello, How are you trying to compile your project? It appears that the issue is you are not linking against the C++ library you have installed. If you provide details, we can confirm this and perhaps I can advise how you might properly link against the netCDF libraries. Thank you, have a great day, -Ward > Full Name: Rutvik Marathe > Email Address: address@hidden > Organization: University of Michigan CLaSP > Package Version: > Operating System: Windows (compiling on WSL) > Hardware: > Description of problem: Hello, > > I am working on a project using the NetCDF library, and am having some issues > with compilation. I have a version of netCDF4 c++ downloaded through wsl (apt > install), but get the error during compilation in the attached image. > This is for a specific file I wrote, but trying to compile demos from the > UCAR website also gives the same type of error where certain types say > "undefined reference". Was wondering if you could help debug this issue. > > Thanks! > Rutvik > > > Ticket Details =================== Ticket ID: UEJ-530615 Department: Support netCDF Priority: High Status: Closed =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.