[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #LYH-549747]: questions about run netcdf examples on C++



Hello,

It sounds like you need to either install the netCDF binary libraries, or 
configure visual studio to link against them.  You can download the binary 
installers from http://www.unidata.ucar.edu/software/netcdf/docs/winbin.html.  
These will install the header files and libraries you require linking against.  
Install this and see if you can resolve the issue, otherwise please follow up 
with me!

I hope this helps,

-Ward

> Dear Unidata officer,
> 
> I'm learning how to read & wrte netcdf datafile in c++. I try
> to run 'simple_xy_wr.cpp', and download netcdf.h, netcdfcpp.h and
> Ncvalues.h. However, I can't run it and Visual Studio showed "unresolved
> external symbol 'symbol' referenced in function 'function' " at function
> NcFile, NcVar.
> 
> Do you have any idea how to solve this problem?
> 
> Best regards,
> 
> Linghui
> 
> 
> 


Ticket Details
===================
Ticket ID: LYH-549747
Department: Support netCDF
Priority: Normal
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.