도토리 줍는 개발자 감자
[CMake] ubuntu 18.04 CMake install error - jimoo 본문
참고: cmake가 설치되어 있다면
$ sudo apt purge cmake
로 삭제해주면됨!
2. 직접 최신버전 설치방법으로 하다가 마주친 오류..
---------------------------------------------
make: 'cmake' is up to date. loading initial cache file /home/사용자이름/cmake-3.16.2/Bootstrap.cmk/InitialCacheFlags.cmake
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) CMake Error at Utilities/cmcurl/CMakeLists.txt:454 (message): Could not find OpenSSL. Install an OpenSSL development package or configure CMake with -DCMAKE_USE_OPENSSL=OFF to build without OpenSSL.
-- Configuring incomplete, errors occurred!
See also "/home/사용자이름/cmake-3.16.2/CMakeFiles/CMakeOutput.log".
See also "/home/사용자이름/cmake-3.16.2/CMakeFiles/CMakeError.log".
---------------------------------------------
Error when bootstrapping CMake: Problem while running initial CMake
---------------------------------------------
해결방법!
$ sudo apt install libssl-dev
입력후 다시
$ ./bootstrap --prefix=/usr/local
하면
---------------------------------------------
CMake has bootstrapped. Now run make.
로 정상적으로 뜨는 것을 확인할 수 있다!
'컴퓨터비전관련' 카테고리의 다른 글
pycharm sh file 디버깅 방법 (1) | 2022.09.27 |
---|---|
Loss nan 값 나올 때 (0) | 2022.09.27 |
RuntimeError: CUDA error: device-side assert triggered 에러.. (0) | 2022.09.19 |
[CUDA error 해결하기] RuntimeError: CUDA error: out of memory / For debugging consider passing CUDA_LAUNCH_BLOCKING=1. (1) | 2022.04.14 |
GPU-accelerated real-time stixel computation: 설명과 코드실행까지! - jimoo (0) | 2021.06.24 |