seunggeon / ORB_SLAM2

Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities
Other
0 stars 0 forks source link

make -j8 Error #1

Open seunggeon opened 2 years ago

seunggeon commented 2 years ago

Cmake Environment Error

[ 54%] Generating xdg-shell-client-protocol.h Could not open input file: No such file or directory make[2]: [CMakeFiles/pango_windowing.dir/build.make:70: xdg-shell-client-protocol.h] 오류 1 make[2]: 끝나지 않은 작업을 기다리고 있습니다.... make[1]: [CMakeFiles/Makefile2:548: CMakeFiles/pango_windowing.dir/all] 오류 2 make[1]: [CMakeFiles/Makefile2:548: CMakeFiles/pango_windowing.dir/all] 오류 2 make[1]: 끝나지 않은 작업을 기다리고 있습니다.... [ 55%] Building CXX object CMakeFiles/pango_glgeometry.dir/components/pango_glgeometry/src/glgeometry.cpp.o [ 55%] Building CXX object CMakeFiles/pango_scene.dir/components/pango_scene/src/renderable.cpp.o [ 56%] Linking CXX shared library libpango_scene.so [ 56%] Built target pango_scene [ 56%] Linking CXX shared library libpango_glgeometry.so [ 56%] Built target pango_glgeometry make: [Makefile:130: all] 오류 2

seunggeon commented 2 years ago

$ cd Thirdparty/ $ git clone https://github.com/stevenlovegrove/Pangolin.git $ cd Pangolin $ mkdir build $ cd build $ cmake .. $ make -j8 $ sudo make install [출처] : https://robot-vision-develop-story.tistory.com/5

이 과정에서 에러 발생.

seunggeon commented 2 years ago

Get Pangolin

cd ~/your_fav_code_directory
git clone --recursive https://github.com/stevenlovegrove/Pangolin.git
cd Pangolin 

Install dependencies (as described above, or your preferred method) ./scripts/install_prerequisites.sh recommended

Configure and build

mkdir build && cd build
cmake ..
cmake --build .

GIVEME THE PYTHON STUFF!!!! (Check the output to verify selected python version) cmake --build . -t pypangolin_pip_install

Run me some tests! (Requires Catch2 which must be manually installed on Ubuntu.) ctest

로 바꿔서 다시 실행 후 성공 [출처] : https://github.com/stevenlovegrove/Pangolin

seunggeon commented 2 years ago

이게 make -j8이 8코어로 make 실행하라는 거