Project

General

Profile

Error with sfc_temp_wr.cpp

Added by Bryan Audic about 7 years ago

Hi all,
I'm working on Windows 8 with MVS2013, I'm trying to use sfc_pres_temp_wr.c, but even though I followed this tutorial to configure the path, http://stackoverflow.com/questions/34331969/visual-studio-adding-netcdf-library . I have these errors :

1>------ Build started: Project: ConsoleApplication4, Configuration: Debug Win32 ------
1> sfc_pres_temp_wr.c
1>c:\users\support\documents\visual studio 2013\projects\consoleapplication4\consoleapplication4\sfc_pres_temp_wr.c(87): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
1>c:\users\support\documents\visual studio 2013\projects\consoleapplication4\consoleapplication4\sfc_pres_temp_wr.c(89): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
1>c:\users\support\documents\visual studio 2013\projects\consoleapplication4\consoleapplication4\sfc_pres_temp_wr.c(94): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
1>c:\users\support\documents\visual studio 2013\projects\consoleapplication4\consoleapplication4\sfc_pres_temp_wr.c(95): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
1>sfc_pres_temp_wr.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:LBR' specification
1>sfc_pres_temp_wr.obj : error LNK2019: unresolved external symbol _nc_strerror referenced in function _main
1>sfc_pres_temp_wr.obj : error LNK2019: unresolved external symbol _nc_create referenced in function _main
1>sfc_pres_temp_wr.obj : error LNK2019: unresolved external symbol _nc_enddef referenced in function _main
1>sfc_pres_temp_wr.obj : error LNK2019: unresolved external symbol _nc_close referenced in function _main
1>sfc_pres_temp_wr.obj : error LNK2019: unresolved external symbol _nc_def_dim referenced in function _main
1>sfc_pres_temp_wr.obj : error LNK2019: unresolved external symbol _nc_put_att_text referenced in function _main
1>sfc_pres_temp_wr.obj : error LNK2019: unresolved external symbol _nc_def_var referenced in function _main
1>sfc_pres_temp_wr.obj : error LNK2019: unresolved external symbol _nc_put_var_float referenced in function _main
1>C:\Users\Support\Documents\Visual Studio 2013\Projects\ConsoleApplication4\Debug\ConsoleApplication4.exe : fatal error LNK1120: 8 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Thanks in advance.


Replies (1)

RE: Error with sfc_temp_wr.cpp - Added by Bryan Audic about 7 years ago

It's on a C file

    (1-1/1)