-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I followed the instructions to install ray_casting software. But there is an issue when running make -j8.
First, the make process fails because the file <catch2/catch.hpp> does not exist (this file is referenced in the test raycasting CPP file). I noticed that there is a file called <catch2/catch_all.hpp> instead. Therefore, I changed the <catch2/catch.hpp> to <catch2/catch_all.hpp>, which seemed to resolve the issue.
Now, there is the following issue once I re-run make -j8:
[ 75%] Linking CXX executable test_ray_tracing
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x24): undefined reference to `main'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/test_ray_tracing.dir/build.make:85: test_ray_tracing] Error 1
make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/test_ray_tracing.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Can someone help in resolving this problem?
Metadata
Metadata
Assignees
Labels
No labels