Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BUG423 opened this issue Apr 19, 2024 · 1 comment
Open

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

BUG423 opened this issue Apr 19, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@BUG423
Copy link

BUG423 commented Apr 19, 2024

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
Copy link
Member

AlessandroFornasier commented Apr 25, 2024

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

@AlessandroFornasier AlessandroFornasier added the help wanted Extra attention is needed label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants