본문 바로가기

카테고리 없음

c++ library 설치하기

반응형

c++의 다음 커멘드는 python 의 import library 에 대응된다.

#include <boost/algorithm/string.hpp>

#include "fusion.h"  

 

다음과 같은 에러메세지가 뜬다면 실제로 라이브러리를 다운로드해주는 과정이 필요한것이다 (파이썬에서 pip install)

fatal error: 'boost/algorithm/string.hpp' file not found

 

fatal error: 'fusion.h' file not found

 

다음 사이트에서 brew 를 다운로드한다. 홈페이지에 나와있는 커멘드 라인을 복사해다가 커멘드라인에 붙여넣기만 하면 된다. 

https://brew.sh

 

Homebrew

The Missing Package Manager for macOS (or Linux).

brew.sh

 

반응형