cuda_ByExample- julia

i’ve problems with the julia’s project in chapter 4.

Errore 1 error : a host function call cannot be configured C:\Users\Simone\Documents\Visual Studio 2013\Projects\cuda_by_example\chapter04\ 69 1 giulia2

Errore 2 error MSB3721: uscita dal comando ““C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\bin\nvcc.exe” -gencode=arch=compute_20,code=“sm_20,compute_20” --use-local-env --cl-version 2013 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin” -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include” -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -G --keep-dir Debug -maxrregcount=0 --machine 32 --compile -cudart static -g -DWIN32 -D_DEBUG -D_CONSOLE -D_MBCS -Xcompiler “/EHsc /W3 /nologo /Od /Zi /RTC1 /MDd " -o Debug\ “C:\Users\Simone\Documents\Visual Studio 2013\Projects\cuda_by_example\chapter04\”” con codice 2. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 6.5.targets 593 9 giulia2


Post the actual code of that is causing this error. Did you modify the source code in any way? Because I don’t see a function call of any kind on line 69 of the original file.