2014-04-25 2 views
3

msiy과 mingw와 함께 libtorrent-rasterbar-0.16.16을 컴파일 중입니다. ./configure가 부스트 라이브러리 검사에 도달 할 때까지 정상적으로 실행됩니다. 나는 부스트 1.51을 가지고 있으며, $ BOOST_ROOT를 설정했지만, 작동하지 않았다.부스트를 보는 방법 libtorrent를 얻는 방법?

Checking for boost libraries: 
checking for boostlib >= 1.36... expr: syntax error 
configure: We could not detect the boost libraries (version 1.36 or higher). If 
you have a staged boost library (still not installed) please specify $BOOST_ROOT 
in your environment and do not give a PATH to --with-boost option. If you are 
sure you have boost installed, then check your version number looking in <boost/ 
version.hpp>. See http://randspringer.de/boost for more documentation. 
checking whether the Boost::System library is available... no 
configure: error: Boost.System library not found. Try using --with-boost-system= 
lib 

--with-boost-system = 옵션을 시도했지만 작동하지 않았습니다. 또한 libboost_system-mgw47-mt-1_51.a를 libtorrent와 같은 디렉토리에 복사했지만 작동하지 않았습니다.

무엇이 누락 되었습니까?

+0

--with-boost 인수를 시도했습니다. 정확히 당신은 무엇을 통과 했습니까? – Arvid

+0

./config --with-boost-system =./libboost_system-mgw47-mt-1_51.a – user1017291

답변

1

나는 1.51을 높일 수 있고, 나는 $ BOOST_ROOT을 설정하지만

작동하지 않았다 구성은 부스트 ​​헤더 파일을 찾을 수없는 가능성이 높다. 라이브러리와 소스가 모두 필요합니다., 가장 좋은 방법은 여전히 ​​BOOST_ROOT입니다.

리눅스 박스에서는 boost-devel 패키지를 설치하지만, mingw의 경우에는 직접 부스트 소스를 다운로드하고 압축을 해제해야합니다. 그런 다음 실행 중인지 확인하십시오.

BOOST_ROOT=/path/to/boost_1_51 ./configure