관심있는 주제/Error

spdlog install

Lynn123 2022. 2. 3. 16:40
반응형

spdlog를 설치하지 않은 상태에서 cmake 진행 시

find_package(spdlog) 하면 발생하는 에러

 

  • 특정 version이 필요한 게 아니라면 brew를 이용하여 최신버전 설치
brew install spdlog
  • 리눅스는 1.8.1 이상 버전 다운로드 위해 src code에서 직접 빌드
git clone https://github.com/gabime/spdlog.git
cd spdlog && mkdir build && cd build
cmake .. && make -j
make install

 

 

 

[Reference]

https://spdlog.docsforge.com/master/#just-copy-the-headers

 

Getting Started - Spdlog - DocsForge

HomeGetting Started spdlog Very fast, header only, C++ logging library.   Install Copy the source folder to your build tree and use a C++11 compiler. Or use your favorite package manager: Ubuntu: apt-get install libspdlog-dev Homebrew: brew install spdlog

spdlog.docsforge.com

https://github.com/gabime/spdlog

 

GitHub - gabime/spdlog: Fast C++ logging library.

Fast C++ logging library. Contribute to gabime/spdlog development by creating an account on GitHub.

github.com

 

반응형

'관심있는 주제 > Error' 카테고리의 다른 글

Could NOT find OpenMP_CXX  (0) 2022.02.04
lemon package 설치 에러  (0) 2022.02.03
Could NOT find Boost  (0) 2022.02.03
Could Not find SWIG  (0) 2022.02.03
ModuleNotFoundError: No module named 'torch_scatter'  (0) 2022.01.06