[Bf-committers] error compiling with cycles

Thomas Dinges blender at dingto.org
Sun Apr 29 23:55:48 CEST 2012


Hi,
you have to specify the path to nvcc in your user-config.py.
Example: BF_CYCLES_CUDA_NVCC = "C:/Program Files/NVIDIA GPU Computing 
Toolkit/CUDA/v4.2/bin/nvcc.exe"

Regards,
Thomas


Am 29.04.2012 23:40, schrieb Yousef Hurfoush:
> hi
>
> i get this error trying to compile with msvcsp1 and scons on windows 7 x64:
> -----------------------------------------
> Install file: "intern\cycles\doc\license\ILM.txt" as "Z:\Development\blender\ins
> tall\win64-temp\2.63\scripts\addons\cycles\license\ILM.txt"
> Install file: "intern\cycles\doc\license\NVidia.txt" as "Z:\Development\blender\
> install\win64-temp\2.63\scripts\addons\cycles\license\NVidia.txt"
> Install file: "intern\cycles\doc\license\OSL.txt" as "Z:\Development\blender\ins
> tall\win64-temp\2.63\scripts\addons\cycles\license\OSL.txt"
> Install file: "intern\cycles\doc\license\readme.txt" as "Z:\Development\blender\
> install\win64-temp\2.63\scripts\addons\cycles\license\readme.txt"
> Install file: "intern\cycles\doc\license\Sobol.txt" as "Z:\Development\blender\i
> nstall\win64-temp\2.63\scripts\addons\cycles\license\Sobol.txt"
> "" -arch=sm_13 -m64 --cubin -use_fast_math --ptxas-options="-v" --maxrregcount=2
> 4 --opencc-options -OPT:Olimit=0 -DCCL_NAMESPACE_BEGIN= -DCCL_NAMESPACE_END= -DN
> VCC -I "intern\cycles\kernel\../util" -I "intern\cycles\kernel\../svm" "intern\c
> ycles\kernel\kernel.cu" -o "Z:\Development\blender\build\win64-temp\intern/cycle
> s/kernel\kernel_sm_13.cubin"
> '""' is not recognized as an internal or external command,
> operable program or batch file.
> sIcons: *** [Z:\Development\blender\build\win64-temp\intern\cycles\kernel\kernel
> _sm_13.cubin] Error 1
> nstall file: "release\datafiles\fonts\droidsans.ttf.gz" as "Z:\Development\blend
> er\install\win64-temp\2.63\datafiles\fonts\droidsans.ttf.gz"
>     Creating library Z:\Development\blender\build\win64-temp\bin\blenderplayer.li
> b and object Z:\Development\blender\build\win64-temp\bin\blenderplayer.exp
> ge_videotex.lib(Texture.obj) : warning LNK4217: locally defined symbol __GLEW_AR
> B_texture_non_power_of_two imported in function "struct _object * __cdecl Textur
> e_refresh(struct Texture *,struct _object *)" (?Texture_refresh@@YAPEAU_object@@
> PEAUTexture@@PEAU1@@Z)
>     Creating library Z:\Development\blender\build\win64-temp\bin\blender.lib and
> object Z:\Development\blender\build\win64-temp\bin\blender.exp
> ge_videotex.lib(Texture.obj) : warning LNK4217: locally defined symbol __GLEW_AR
> B_texture_non_power_of_two imported in function "struct _object * __cdecl Textur
> e_refresh(struct Texture *,struct _object *)" (?Texture_refresh@@YAPEAU_object@@
> PEAUTexture@@PEAU1@@Z)
> bf_intern_cycles.lib(device_cuda.obj) : warning LNK4217: locally defined symbol
> __glewBufferData imported in function "public: virtual void __cdecl ccl::CUDADev
> ice::pixels_alloc(class ccl::device_memory&)" (?pixels_alloc at CUDADevice@ccl@@UE
> AAXAEAVdevice_memory at 2@@Z)
> bf_intern_cycles.lib(device_cuda.obj) : warning LNK4217: locally defined symbol
> __glewBindBuffer imported in function "public: virtual void __cdecl ccl::CUDADev
> ice::pixels_alloc(class ccl::device_memory&)" (?pixels_alloc at CUDADevice@ccl@@UE
> AAXAEAVdevice_memory at 2@@Z)
> bf_intern_cycles.lib(device_cuda.obj) : warning LNK4217: locally defined symbol
> __glewGenBuffers imported in function "public: virtual void __cdecl ccl::CUDADev
> ice::pixels_alloc(class ccl::device_memory&)" (?pixels_alloc at CUDADevice@ccl@@UE
> AAXAEAVdevice_memory at 2@@Z)
> bf_intern_cycles.lib(device_cuda.obj) : warning LNK4217: locally defined symbol
> __glewUnmapBuffer imported in function "public: virtual void __cdecl ccl::CUDADe
> vice::pixels_copy_from(class ccl::device_memory&,int,int,int)" (?pixels_copy_fr
> om at CUDADevice@ccl@@UEAAXAEAVdevice_memory at 2@HHH at Z)
> bf_intern_cycles.lib(device_cuda.obj) : warning LNK4217: locally defined symbol
> __glewMapBuffer imported in function "public: virtual void __cdecl ccl::CUDADevi
> ce::pixels_copy_from(class ccl::device_memory&,int,int,int)" (?pixels_copy_from
> @CUDADevice at ccl@@UEAAXAEAVdevice_memory at 2@HHH at Z)
> bf_intern_cycles.lib(device_cuda.obj) : warning LNK4217: locally defined symbol
> __glewDeleteBuffers imported in function "public: virtual void __cdecl ccl::CUDA
> Device::pixels_free(class ccl::device_memory&)" (?pixels_free at CUDADevice@ccl@@U
> EAAXAEAVdevice_memory at 2@@Z)
> bf_intern_cycles.lib(device_cuda.obj) : warning LNK4217: locally defined symbol
> __glewBindBufferARB imported in function "public: virtual void __cdecl ccl::CUDA
> Device::draw_pixels(class ccl::device_memory&,int,int,int,int,int,int,bool)" (?
> draw_pixels at CUDADevice@ccl@@UEAAXAEAVdevice_memory at 2@HHHHHH_N at Z)
> Trying to remove existing py bundle.
> Unpacking '../lib/win64/release/python32.tar.gz' to '..\install\win64-temp\2.63\
> python\lib'
> scons: building terminated because of errors.
> --------------------------------------------------------
>
> Regards
> Yousef Harfoush
> bat3a at msn.com
>
>   		 	   		
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers


-- 
Thomas Dinges
Blender Developer, Artist and Musician

www.dingto.org



More information about the Bf-committers mailing list