## LuxRender ATISTREAMSDKROOT (Windows)

Discussion and help for Compilation problems and platform portability.

Moderator: coordinators

### LuxRender ATISTREAMSDKROOT (Windows)

I updated to the latest src and it looks like there's been quite a few changes to integrate OpenCL/CUDA into LuxRender.

I did notice that there was a hard-coded path put in for the ATI Stream SDK, though.

Just to let you know that when you install the ATI Stream SDK, it will create an environment variable named ATISTREAMSDKROOT.

This should make it easier for users to compile LuxRender (particularly because the current location isn't at the default directory where the ATI Stream SDK installs).

OpenCL Includes location:

$(ATISTREAMSDKROOT)include OpenCL lib directories: (32 bit)$(ATISTREAMSDKROOT)lib/x86
(64 bit)
\$(ATISTREAMSDKROOT)lib/x86_64

I wouldn't be surprised if NVidia's CUDA SDK had something similar, too.
helloworld922

Posts: 57
Joined: Sat Jul 10, 2010 12:21 pm

### Re: LuxRender ATISTREAMSDKROOT (Windows)

Thanks, I've just spotted this and have added it to the build configs.

NVIDIA's CUDA toolkit does have similar vars, but compilation with it is more involved because they don't ship the OpenCL C++ wrapper that luxrays uses, but ATI stream does.
So far, I've noticed that using ATI stream SDK produces binaries that work with NVIDIA cards anyway (despite their warning), so for now it is easier to use it over the CUDA toolkit.

Indeed there have been big changes to the windows project layout, and I'm just finalising now a few settings to enable everything to build cleanly.

dougal2

Posts: 3074
Joined: Mon Jan 14, 2008 7:21 am