I would like to ask a question, my project is based on optix6+vs2015+cuda8, running on windows. But now if you want to port the project to Linux, you

I would like to ask a question, my project is based on optix6+vs2015+cuda8, running on windows. But now if you want to port the project to Linux, you can only do cmake, make operations on each file, sutil, glfw, imgui, etc., is there a sequence of operations on these files?

HI @Logic6023, welcome!

I’m not sure I understand your question, can you elaborate? The things you listed - sutil, glfw, and imgui, are all libraries. Glfw and imgui are external libraries that the SDK samples use, but are not written by Nvidia. Sutil is a library written by Nvidia to support the OptiX SDK. The OptiX SDK already builds on Linux, and it builds almost identically to Windows, because of the cross-platform build support that Cmake provides. Are you using a non-cmake build system for your Windows project? If you setup your build using only Visual Studio, then it might take a little extra effort to port your build system over to Linux and either use make or cmake or something else.

As long as you’re porting an old project, we highly recommend considering an upgrade to OptiX 7+ and CUDA 12+.


David.

thank you for your reply