Napseis wrote:hi,
I wanted to build luxrays, since smalluxgpu is now included in it.
I did it in ubuntu, since it looks easier than in windows, but i get:
[ 3%] Generating src/kernels/qbvh_kernel.cpp
/bin/sh: cannot create src/kernels/qbvh_kernel.cpp: Directory nonexistent
make[2]: *** [src/kernels/qbvh_kernel.cpp] Erreur 2
make[1]: *** [CMakeFiles/luxrays.dir/all] Erreur 2
make: *** [all] Erreur 2
Do you have any idea on what can be causing this error?
The cmake command didn't returned any error (I modified the Cmakelist to fit my diretories)
thanks
qbvh_kernel.cpp (and bvh_accel.cpp) is generated by the qbvh_kernel.cl (and bvh_accel.cl) file. The .cpp files however are included in the repository so you should not need to generate them (it is required only if you edit the .cl files). Have you done a "make clean" ? I suggest you to:
1) check if the src/kernels/qbvh_accel.cpp file exists;
2) if it doesn't exist, you should able to extract the file with just a "hg update";
3) recompile;
The generation of the file on-the-fly should work under Linux but may be there is something wrong. Anyway you should be able to skip that step by extracting the file from the repository
