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

docker build error #21

Open
jiyooonp opened this issue Apr 15, 2024 · 0 comments
Open

docker build error #21

jiyooonp opened this issue Apr 15, 2024 · 0 comments

Comments

@jiyooonp
Copy link

Hello,
I was trying to build the dockerfile but encountered this error.

`6.618 | ^~~~~~~~~~
18.68 [100%] Linking CXX shared library ../lib/libg2o.so
18.79 [100%] Built target g2o
18.80 Uncompress vocabulary ...
19.44 Configuring and building ORB_SLAM2 ...
19.51 -- The C compiler identification is GNU 9.4.0
19.58 -- The CXX compiler identification is GNU 9.4.0
19.58 -- Check for working C compiler: /usr/bin/cc
19.67 -- Check for working C compiler: /usr/bin/cc -- works
19.67 -- Detecting C compiler ABI info
19.76 -- Detecting C compiler ABI info - done
19.77 -- Detecting C compile features
19.77 -- Detecting C compile features - done
19.77 -- Check for working CXX compiler: /usr/bin/c++
19.86 -- Check for working CXX compiler: /usr/bin/c++ -- works
19.86 -- Detecting CXX compiler ABI info
19.96 -- Detecting CXX compiler ABI info - done
19.97 -- Detecting CXX compile features
19.97 -- Detecting CXX compile features - done
19.97 Build type: Release
19.97 -- Performing Test COMPILER_SUPPORTS_CXX11
20.08 -- Performing Test COMPILER_SUPPORTS_CXX11 - Success
20.08 -- Performing Test COMPILER_SUPPORTS_CXX0X
20.18 -- Performing Test COMPILER_SUPPORTS_CXX0X - Success
20.18 -- Using flag -std=c++11.
20.20 CMake Error at CMakeLists.txt:35 (message):
20.20 OpenCV > 2.4.3 not found.
20.20
20.20
20.20 -- Configuring incomplete, errors occurred!
20.20 See also "/root/ORB_SLAM2/build/CMakeFiles/CMakeOutput.log".
20.21 make: *** No targets specified and no makefile found. Stop.
20.21 make: *** No rule to make target 'install'. Stop.

Dockerfile:94

93 | RUN chmod +x $HOME/scripts/build.sh
94 | >>> RUN /bin/bash -c 'export LD_LIBRARY_PATH=~/Pangolin/build/src/:$LD_LIBRARY_PATH;
95 | >>> bash $HOME/scripts/build.sh'
96 |

ERROR: failed to solve: process "/bin/bash -c /bin/bash -c 'export LD_LIBRARY_PATH=~/Pangolin/build/src/:$LD_LIBRARY_PATH; bash $HOME/scripts/build.sh'" did not complete successfully: exit code: 2
`
Could you help me with this? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant