[Bf-cycles] [Cycles]Compiling cuda binaries fails at run time
Brecht Van Lommel
brechtvanlommel at pandora.be
Fri Dec 9 12:38:55 CET 2011
On windows they need to be created at build time, see here for how to do that:
On Fri, Dec 9, 2011 at 12:30 PM, Yansi Yao <yaoyansi2 at yahoo.cn> wrote:
> Hi all,
> I check out cycles branch r4252, and build RelWithDebInfo version. There is
> no *.cubin files generated.
> I read the svn log r41657 and find that cuda binaries will be generated at
> Then I launch blender.exe and set cycles device to "GPU".
> Then,in 3D View window, I set ViewportShading to Rendered, but nothing is
> The blender console window says:
> `C:\Program` is not recognized as an internal or external command, operable
> program or batch file
> I infer that Blender uses some CUDA environment variable which contains a
> whitsapce character.
> Then I set environment variable %CUDA_BIN_PATH% from %CUDA_PATH%\bin to
> "%CUDA_PATH%\bin", and relaunch blender,
> I find that it is "OpenCL GPU" instead "GPU" in Property->Render->Device. It
> means I can't use CUDA anymore. Very strange!
> I load factory settings and delete all *.pyc in BlenderROOT\2.60\*, and
> relaunch blender, it is still "OpenCL GPU".
> I want to use Cycles with CUDA, but where is the "GPU" gone?
> My environment is WIn7-x32, and some environment variables are:
> CUDA_PATH_V3_2=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2\
> PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v3.2\bin\;C:\Program
> es\NVIDIA Corporation\PhysX\Common;.;C:\Program
> rtoiseGit\bin;C:\Program Files\MySQL\MySQL Server
> GPU Computing SDK 3.2\C\common\bin;C:\Program Files\NVIDIA
> Could you tell me how to solve this problem?
> Thank you.
> Bf-cycles mailing list
> Bf-cycles at blender.org
More information about the Bf-cycles