캡스톤 프로젝트를 위해 body_prior_어쩌고 깃허브를 설치하는데 requirement.txt 설치 중 이런 오류가 뜸.
/build/temp.macosx-10.9-x86_64-cpython-37/CGAL-4.7/include/CGAL/config.h:85:10: fatal error: 'boost/config.hpp' file not found
#include <boost/config.hpp>
^~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> psbody-mesh
구글링 해보니까 CGAL 씨가 내 config.hh 경로를 다른데로 잡고 있었음. 한국 사이트에선 거의 없고 외국 깃허브 번역기 돌려보다가 그냥 내가 수집하자 싶어서 글을 씀. 근데 스택 오버플로우에서 어떤 외국인이 기본중의 기본인데 장난까냐고 하는 답글을 봐서 개상처먹음 나 4학년인데.........
MAC OS 기준
- brew install boost
- boost 가 설치된 경로 확인
- export CPLUS_INCLUDE_PATH="/opt/homebrew/Cellar/boost/1.84.0_1/include:$CPLUS_INCLUDE_PATH" 로 경로 설정함.
- 잘 설정 됐는지 echo $CPLUS_INCLUDE_PATH 로 확인
- 다시 돌려봄
근데 또 다른 에러가 뜸 나 진짜 버그 수집가인가? ㅎㅎ
어떻게 해서든 맥에서 smpl를 돌린다는 마음가짐으로 오늘도 버그 수집 완,
참고한 링크
https://stackoverflow.com/questions/11084123/cplus-include-path-doesnt-works
https://www.boost.org/doc/libs/1_34_1/libs/config/config.html
https://github.com/MPI-IS/mesh/issues/17
'SCHOOL > 캡스톤' 카테고리의 다른 글
[졸프 백엔드] JWT로 로그아웃 구현하기 2 (0) | 2024.07.01 |
---|---|
[졸프 백엔드] JWT로 로그아웃 구현하기 (0) | 2024.06.30 |
[졸프 딥러닝] smplx의 obj파일로 체형 분석을 해보자 (0) | 2024.04.08 |
[졸프 딥러닝] [버그 수집] smplfiy 코랩 오픈포즈 오류 (0) | 2024.04.04 |
[졸프 딥러닝] [버그 수집] 파이토치 버전 에러 (1) | 2024.04.02 |