Trouble Shooting
Trouble Shooting Page
This page is a simple page to record various errors or tips you encounter when building your environment or coding.
please feel free to contribute.
- You can contribute using the comment box below, open an issue in the repository directly, or whatever works best for you.
- I always want this page to be enriching and helpful, and I’m always happy to be pointed out if I’m wrong.
Format
Topic:
How to do:
Reference:
Errors
1. COLMAP Build Error
Topic:
COLMAP 빌드 시 CUDA 관련 에러 발생
How to do:
cmake .. -GNinja # 이후,
cmake .. -GNinja -DCMAKE_CUDA_ARCHITECTURES=75 # 75는 조절해야할 수도 있다.
Reference:
https://github.com/colmap/colmap/issues/1805
https://colmap.github.io/install.html
2. Macbook & Ubuntu 연결
Topic:
외부 컴퓨터에서 Ubuntu 접속
How to do:
ssh 연결
Vscode 연결
3. Python Import Error
Topic:
root directory에 존재하는 파이썬 클래스나 파일들이 import되지 않는 경우.
How to do:
# In terminal
export PYTHONPATH=$PYTHONPATH:/path/to/Your_package
4. GPU Select
Topic:
python script 실행 시 GPU 선택
How to do:
# In terminal
CUDA_VISIBLE_DEVICES=0,3 python3 your_train.py
5. libX11.so.6: cannot open shared object file: No such file or directory
Topic:
Error: libX11.so.6: cannot open shared object file: No such file or directory
How to do:
# In terminal
apt-get update
apt-get install -y libsm6 libxext6 libxrender-dev
6. libGL.so.1, libgthread-2.0.so.0 Error
Topic:
OSError: libGL.so.1: cannot open shared object file: No such file or directory
&&
ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
How to do:
# In terminal
apt-get update
apt-get install -y libgl1-mesa-glx
apt-get install -y libglib2.0-0
Reference:
Link
7. ROS2 can not find *.launch.py
Topic:
특정 패키지내의 launch folder내의 launch file을 찾지 못할 때
How to do:
# In your package's CMakeLists.txt
# Add below code
install(DIRECTORY
launch
DESTINATION share/${PROJECT_NAME})
8. Docker container에서 시각화가 되지 않는 경우(Open3D)
Topic:
Error:
[Open3D WARNING] GLFW Error: X11: Failed to open display [19/04 08:11:52]
[Open3D WARNING] Failed to initialize GLFW [19/04 08:11:52]
[Open3D WARNING] [DrawGeometries] Failed creating OpenGL window. [19/04 08:11:52]
How to do:
# In local terminal
echo $DISPLAY
# -> 1 or 0 ...etc
# In your container
# maybe it can't see "echo $DISPLAY" 's result
# so,
export DISPLAY=:1 # apply your number
0. Your title
Topic:
text
How to do:
code or your text
Reference:
text
Leave a comment