aau-cns / MSCEqF

A Multi State Constraint Equivariant Filter for Vision-aided Inertial Navigation
Other
89 stars 3 forks source link

Error Running Test Code in Docker: "No such file or directory" #4

Open BUG423 opened 6 months ago

BUG423 commented 6 months ago

image

After compiling in Docker, I attempted to execute test code and encountered the following error:

root@k8s-node5-ubuntu2004:~/ws/src/msceqf/build/release# ./msceqf_tests bash: ./msceqf_tests: No such file or directory I successfully completed the compilation process within Docker, but upon running the test code, I received a "No such file or directory" error. It seems that the specified file or directory cannot be found.

I'm seeking assistance in resolving this issue. Any insights or suggestions on how to troubleshoot and resolve this problem would be greatly appreciated. Thank you!

AlessandroFornasier commented 6 months ago

Hi!

Tests are not built by default. You must include the cmake argument -DBUILD_TESTS=ON to get test built.

I suggest you first try out the ROS free version as follows:


$ git clone <url> msceqf
$ cd msceqf
$ mkdir -p build/<build_type>
$ cd build/<build_type> && cmake -DCMAKE_BUILD_TYPE=<build_type> -DBUILD_TESTS=ON ../..
$ cmake --build .

After that you should be able to run msceqf_tests