Skip to content

Issue installing required package/software "ray_casting" #8

@troiwill

Description

@troiwill

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions