Closed bipul-mohanto closed 2 years ago
P.S. I am trying to run your latest code, on OptiX 7.5. The last updated version also had the same problem for these two samples. All other sample codes are running fine. I have copied the data files
in bin folder as well.
Application() failed to load system description file
And what were the command lines with which you started these two executables?
/home/highvive1/Desktop/OptiX_Apps/cmake-build-release/bin/rtigo3
Looks like you just started the executable without any command line options.
Both applications need two input files for the system description and scene description specified on the command line. That is explained inside the Running section of the README.md. https://github.com/NVIDIA/OptiX_Apps/blob/master/README.md
BTW, all examples print a usage message with either of the command line options ? or help or --help.
I overlooked that instruction. It is working now.
CLion IDE
. Instead of the $(TargetDir)
I can manually set the working directory like this, but that is not working:
nvlink_shared
and rtigo
example, do I need to run the programs from terminal to see the output? I can manually set the working directory like this, but that is not working:
You mean you set the correct working directory with the executable and the application is not resolving the relative paths to that? Or do you mean you get the same errors as above again?
If the latter, looking at your screenshot, of course you must also provide the required command line arguments inside the field Program arguments to start the executable with that, like one of the command line options from the README:
-s system_rtigo3_cornell_box.txt -d scene_rtigo3_cornell_box.txt
I missed the Program Arguments, it is working fine (both from the terminal and IDE). Thanks a lot. Just one last query, the benchmark mode is not working, crashing with devIL ERROR: screenshot() failed with IL error 1290
.
-m 1 -o -s system_rtigo3_single_gpu.txt -d scene_rtigo3_cornell_box.txt
That's because the folder into which the screenshots are written must exist.
The folder name is user defined by the system option prefixScreenshot
.
The README explains this when describing the keyboard input: P = Saves the current tonemapped output buffer to a new PNG file. (Destination folder must exist! Check the prefixScreenshot option inside the system text files.)
And the system description files describe this again here: https://github.com/NVIDIA/OptiX_Apps/blob/master/data/system_rtigo3_cornell_box.txt#L126
You need to create that folder or change the prefixScreenshot option to your liking to make it work.
Please, if anything is not working immediately out of the box, read at least the documentation. I wrote them for a reason.
System Overview:
Problem
nvlink_shared
andrtigo
example, the following errors are being occured:Debug mode
Process finished with exit code 132 (interrupted by signal 4: SIGILL)
I guess the problem is in
bool Parser::load(std::string const& filename)
inParser.cpp
, but could not figure out what it is.