Open tl07172 opened 11 months ago
If you implemented the first seven files then it should run the rays example.
What are the errors?
@Zhecheng-Wang It is showing me this whenever I run the command:
It seems you are using the Windows CMD terminal. As the error suggests, there isn't an executable called ./rays
. Check if it is built, and double-check the name of the built executable.
Resolved, thank you so much.
Would you mind to share how to tackle this problem? thanks
Did you change anything in your ray.cpp? I tried to use the path of ray.exe and object to execute it, but I got results like it has multiple errors in the tree_hit algorithm. I debugged a lot and does not seem to find problems on my tree algorithm. So I wanna check if I made wrong here. Thanks
@lyfuuoo I just did not realize that the "rays.exe" is outputted to /build/Debug by default. So I changed the coomand to " ./Debug/rays ../data/rubber-ducky.obj” which works for me, and I did not modify ray.cpp.
But it looks like your issue is casued by the algorithm so I am not sure what really happened in your case.
Thanks!
Hi I have just finished the first seven cpp files according to the order in the Readme file, but when I try to run the command “ ./rays ../data/rubber-ducky.obj” under /build directory to test my code I keep getting a lot of errors. Am I supposed to only test with this command once I finished all the files? Or did I make a mistake somewhere? Thanks in advance.