I plugged Include folder (Additional Include Directories),
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\include;%(AdditionalIncludeDirectories)
plugged the Lib folder (Additional Library Directories),
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\lib\x64;%(AdditionalLibraryDirectories)
but I still get a linker error. The same thing happens with nvapi. The example code which is distributed with SDK has the same problem with the linker. What should I do?
|Error|LNK2001|unresolved external symbol nvmlDeviceGetUtilizationRates|
etc.
UPD, ERROR fixed:
Linker → Input → Additional Dependencies → nvml.lib