NVAPI code issues

Hello everybody, I have a question to ask, this is a piece of code above NVAPI

typedef struct _SettingDWORDNameString {
NvU32 settingId;
const wchar_t * settingNameString;
NvU32 numSettingValues;
NvU32 * settingValues;
NvU32 defaultValue;
} SettingDWORDNameString;

typedef struct _SettingWSTRINGNameString {
NvU32 settingId;
const wchar_t * settingNameString;
NvU32 numSettingValues;
const wchar_t ** settingValues;
const wchar_t * defaultValue;
} SettingWSTRINGNameString;

Why would an error message after the execution??

Please! Please help me, thank you!!

I’m trying to write a simple code for getting some information from my GPU (NVidia Geforce 760 GTX) such as temperature using NVAPI.
I started with CUDA sample codes. Maybe you see these sample codes provided by NVidia. I copied one of the sample codes (‘CUDA Samples\v6.5\0_Simple\vectorAdd’) to write in this sample. I copied all of ‘.h’ files of NVAPI to ‘CUDA Samples\v6.5\common\inc’ and copied ‘nvapi.lib’ to ‘CUDA Samples\v6.5\common\lib\Win32’ and copied ‘nvapi64.lib’ to ‘CUDA Samples\v6.5\common\lib\x64’.
I preformed these copies to ‘C:\Program Files\CUDA\v6.5\include’ and ‘C:\Program Files\CUDA\v6.5\lib’.

But when I build my code I received these errors:

Error 28 error LNK2019: unresolved external symbol NvAPI_GPU_GetThermalSettings referenced in function...
Error 29 error LNK2019: unresolved external symbol NvAPI_GPU_GetFullName referenced in function...
and some similar errors.