Open LeoDarcy opened 3 years ago
Hi,
I recommend to use Optix version lower or equal to 6. Optix 7 is quite different and I haven't got time to move the renderer to Optix 7 yet.
Best, Zhengqin
I used optix 6.0, but I also get the same link error. here is my cmake configuration : opencv 4.5.1 devil 1.8 cuda 11.2 VS2019
Even if I check the additional library link value in the project properties, it seems to be okay, but I keep getting an error in the sutil project.
When building, set optixrenderer as the startup project and set the configuration to Release. Is this correct?
It's easy to build on ubuntu. Maybe I should do it on ubuntu..!
I got the same problem on windows10 when compiling. I used optix5.1.1 CUDA11.0 devil 1.8 vs2017. Is there anyone succeed on win10?
I have the same link problem too. Has anybody successfully run it on windows? @lzqsd
I never tried to build on windows. Sorry about that. I only tried ubuntu.
@lzqsd I switched to Ubuntu and it can be compiled successfully. But I got a segment fault mentioned in #6, could you let me know the OpenCV and CUDA version that you are using?
It works well for me with CUDA 10.2. I think OpenCV does not matter, as it is only used to read images.
I solved the problem by using a linux machine:
Debian GNU/Linux 8.10 (jessie)
nvcc: release 10.0, V10.0.130
Driver Version: 450.142.00
GPU: Tesla V100
optix 5.1.1
opencv 3.4.3
cmake version 3.24.0-rc2
GNU Make 4.0
gcc (Debian 4.9.2-10+deb8u1) 4.9.2
I think this can never be compiled on a Windows machine because I find that some linux functions are used, like realpath
. And maybe it's better to mention this in readme @lzqsd. I found the realpath
error after trying 2 cuda versions, 3 VC versions, and 4 optix versions lol.
I just want to use the application on Windows. Could you please share a copy of the files you compiled on Linux? Thank you very much. My email: xmhmail2020@163.com
Hi, I have link error when I build solution in Visual Studio 2017. It may be caused by different versions of Optix, DevIL or CUDA. (I find the code won't work with Optix 7.0 or higher). How can I solve this problem and what is the version of Optix and Devil you suggest? My environment is: Windows 10, Optix 6.0, DevIL 1.8.0, CUDA10.1. The error message is following: