Boost.Python을 실행하는 데 어려움을 겪고 있습니다.Boost.byam 오류로 인해 파이썬 설치가 실패했습니다.
http://www.boost.org/doc/libs/1_41_0/libs/python/doc/building.html에 언급 된 단계를 따르고 있습니다. 나는 섹션 3.1 2 단계를 따랐다. Bjam 드라이버가 내 두통을주고있다. 문서에서 언급 한 바와 같이 나는 섹션 5 (http://www.boost.org/doc/libs/1_41_0/more/getting_started/windows.html#or-simplified-build-from-source)에 설명 된 단계를 따른다. 5.2 절에서
시도는 나에게 다음과 같은 오류를 제공합니다 :이 시도가 실패 이후
C:\Program Files (x86)\boost\boost_1_50>.\bootstrap
Building Boost.Build engine
The system cannot find the path specified.
'.\build.bat' is not recognized as an internal or external command,
operable program or batch file.
Failed to build Boost.Build engine.
Please consult bootstrap.log for furter diagnostics.
You can try to obtain a prebuilt binary from
http://sf.net/project/showfiles.php?group_id=7586&package_id=7294
1
그래서 내가 5.3에 설명 된 단계를 채택했습니다. jam zip 파일을 다운로드했습니다. 그런 다음 jam.exe 실행 파일을 작성한 다음 bjam exe를 PATH 환경 변수에 추가했습니다. 그래서 지금하려고이bjam --build-DIR = 빌드 디렉토리 도구 세트 = 도구 모음 이름 --build 형 = 완전한 단계
즉
C : \ 프로그램 파일 (86) \ 부스트 \ boost_1_50> bjam --build-DIR = "C : \ 부스트 구축" t = MSVC --build 형 toolse =
다음과 같은 오류와 함께 실패 완벽한 무대를 ....
C:\Program Files (x86)\boost\boost_1_50>bjam --build-dir="C:\build-boost" toolse
t=msvc --build-type=complete stage
Unable to load Boost.Build: could not find build system.
---------------------------------------------------------
C:\Program Files (x86)\boost\boost_1_50\boost-build.jam attempted to load the bu
ild system by invoking
'boost-build tools/build/v2 ;'
but we were unable to find "bootstrap.jam" in the specified directory
or in BOOST_BUILD_PATH (searching C:\Program Files (x86)\boost\boost_1_50\tools/
build/v2).
Please consult the documentation at 'http://www.boost.org'.
C:\Program Files (x86)\boost\boost_1_50>
이제 디렉토리 도구/build/v2가 내 부스트 홈 디렉토리에 존재하지 않습니다. 그래서 나는 번들 번들을 다시 다운로드하고 모든 단계를 반복했습니다. 여전히 성공하지 못했다. 이제 어떻게 해야할지 모르겠다.
libs/python/example/quickstart/up에서 boost 설치에 주어진 예제를 얻고 싶다.
누군가가 설치를 도와 줄 수 있습니까 ??
편집 :
내가 부스트-build.jam 파일에 다음 항목이 포함 볼로
BOOST_BUILD = 도구/구축/V2;
하지만이 도구 디렉토리가 없습니까 ?? 부스트 디렉토리 구조가 변경 되었습니까? ? Boost 설치시 "tools"디렉토리가 있어야합니까? "bootstrap.jam"파일을 찾을 수 없습니까?
부스트 프로에서 사전 빌드 된 부스트 라이브러리를 설치 한 것처럼 보입니다. 아무것도 구축 할 필요가 없으며 설치 프로그램의 구성 요소 아래에 적절한 Boost.Python 라이브러리를 선택하십시오. –