- Code: Select all
<snip>
#############################################################################
#
# OpenCL Libraries
#
#############################################################################
SET(LUXRAYS_DISABLE_OPENCL 1)
if(LUXRAYS_DISABLE_OPENCL)
set(OCL_LIBRARY "")
else(LUXRAYS_DISABLE_OPENCL)
</snip>
cmake completes with a warning about relative paths, but I have seen this in my googling and does not seem like the source of the problem. The error I receive is shown below
- Code: Select all
bash-4.1$ make
Scanning dependencies of target luxrays
[ 1%] Building CXX object CMakeFiles/luxrays.dir/src/accelerators/bvhaccel.cpp.o
In file included from /home/eric/Build/LuxRender/luxrays/include/luxrays/accelerators/bvhaccel.h:27:0,
from /home/eric/Build/LuxRender/luxrays/src/accelerators/bvhaccel.cpp:31:
/home/eric/Build/LuxRender/luxrays/include/luxrays/luxrays.h:36:21: fatal error: CL/cl.hpp: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/luxrays.dir/src/accelerators/bvhaccel.cpp.o] Error 1
make[1]: *** [CMakeFiles/luxrays.dir/all] Error 2
make: *** [all] Error 2
It looks to me like make is still looking for OpenCL libraries. Does anyone have a solution?
