I’m trying to compile the SDK sample projet “SobelFilter” on code::blocks on windows XP.
I’ve done all compilation settings in code::blocks and in the nvcc.profile.
I’ve also written a makefile.
I’ve the following error on building :
#$ cudafe -E -DCUDA_FLOAT_MATH_FUNCTIONS -DCUDA_NO_SM_11_ATOMIC_INTRINSICS “-IC:\Dev\CUDA\include;C:\Dev\CUDA\include\crt;C:\Dev\MinGW\include;C:\Dev\MinGW\include\GL;C:\Dev\MinGW\lib\gcc\mingw32\3.4.5\include” -I. -D__CUDACC__ -C --preinclude “cuda_runtime.h” -o “C:\WINNT\TEMP/tmpxft_00000d44_00000000-3.ii” “SobelFilter.cu”
Catastrophic error: could not open source file “cuda_runtime.h”
1 catastrophic error detected in the compilation of “SobelFilter.cu”.
My error seems to come from the option: --preinclude “cuda_runtime.h”.
However, my includes path looks like good…
How can i specify path for that preinclude option ?