Link problem on vs2010

I’m getting 25 link problem on VS2010, all look like this one …

error LNK2019: unresolved external symbol “…” referenced in function public: __thiscall “…”

I think it’s about some missing libraries .

This are my include directories :

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\include;(VCInstallDir)include;(VCInstallDir)atlmfc\include;(WindowsSdkDir)include;(FrameworkSDKDir)\include

and these are my library directories :

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\lib\Win32;(FrameworkSDKDir)\lib;(WindowsSdkDir)lib;(VCInstallDir)atlmfc\lib;(VCInstallDir)lib

I’d appreciate any help …

Hi,

if you are using any functions from NVIDIA GPU Computing SDK 4.0 (like cutilSafeCall and so on…) you should add for include directory C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\common\inc and for lib C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\common\lib\x64 (remember to compile once C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\common\cutil_vs2010.sln ).

If you are not using GPU SDK have you add in linker all libs that your application needs??