2013-10-09 5 views
3

"mingw를 사용하여 Windows에서 부스트를 빌드하고 "#error"와 같은 오류가 발생하지 않습니다. ARM이 아닙니다. "또는"오류 : 가장 좋은 대안은 없습니다 ... ". 이러한 오류는 내가 걱정해야만 하는가 아니면 구축중인 시스템을 테스트하는 것일 뿐인가? 기본 출력에는 많은 노이즈가 있지만 출력 압축 된 버전을 넣습니다. 감사합니다Windows에서 "#error"오류를 빌드하는 중 오류가 발생했습니다. "

...found 13 targets... 
...updating 5 targets... 
common.mkdir bbuild\boost\bin.v2\libs\context 
common.mkdir bbuild\boost\bin.v2\libs\context\config 
common.mkdir bbuild\boost\bin.v2\libs\context\config\gcc-mingw-4.8.1 
common.mkdir bbuild\boost\bin.v2\libs\context\config\gcc-mingw-4.8.1\debug 
gcc.compile.c++ bbuild\boost\bin.v2\libs\context\config\gcc-mingw-4.8.1\debug\32.o 
...updated 5 targets... 
Performing configuration checks 

    - 32-bit     : yes 
...found 2 targets... 
...updating 1 target... 
gcc.compile.c++ bbuild\boost\bin.v2\libs\context\config\gcc-mingw-4.8.1\debug\arm.o 
E:\boost_1_54_0_win\libs\context\config\arm.cpp:12:2: error: #error "Not ARM" 
#error "Not ARM" 
^

    "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -DBOOST_ALL_NO_LIB=1 -I"." -c -o "bbuild\boost\bin.v2\libs\context\config\gcc-mingw-4.8.1\debug\arm.o" "E:\boost_1_54_0_win\libs\context\config\arm.cpp" 

...failed gcc.compile.c++ bbuild\boost\bin.v2\libs\context\config\gcc-mingw-4.8.1\debug\arm.o... 
...failed updating 1 target... 
    - arm      : no 
...found 2 targets... 
...updating 1 target... 
gcc.compile.c++ bbuild\boost\bin.v2\libs\context\config\gcc-mingw-4.8.1\debug\mips1.o 
E:\boost_1_54_0_win\libs\context\config\mips1.cpp:10:2: error: #error "Not MIPS1" 
#error "Not MIPS1" 
... 
#error "Not PPC" 
... 
#error "Not SPARC" 
... 
error: No best alternative for libs/coroutine/build/allocator_sources 
    next alternative: required properties: <link>static <target-os>windows <threading>multi 
     not matched 
    next alternative: required properties: <link>static <segmented-stacks>on <threading>multi 
     not matched 
    next alternative: required properties: <link>static <threading>multi 
     not matched 
... 
libs\locale\src\..\build\has_icu_test.cpp:12:30: fatal error: unicode/uversion.h: No such file or directory 
#include <unicode/uversion.h> 
          ^
compilation terminated. 
... 
gcc.compile.c++ bbuild\boost\bin.v2\libs\locale\build\gcc-mingw-4.8.1\debug\has_icu64_obj.o 
libs\locale\src\..\build\has_icu_test.cpp:12:30: fatal error: unicode/uversion.h: No such file or directory 
#include <unicode/uversion.h> 
          ^
compilation terminated. 
... 
g++: error: unrecognized command line option '-shared-libstdc++' 
... 
error: No best alternative for libs/coroutine/build/allocator_sources 
    next alternative: required properties: <link>static <target-os>windows <threading>multi 
     not matched 
    next alternative: required properties: <link>static <segmented-stacks>on <threading>multi 
     not matched 
    next alternative: required properties: <link>static <threading>multi 
     not matched 
    - zlib      : yes (cached) 
error: No best alternative for libs/coroutine/build/allocator_sources 
    next alternative: required properties: <link>static <target-os>windows <threading>multi 
     not matched 
    next alternative: required properties: <link>static <segmented-stacks>on <threading>multi 
     not matched 
    next alternative: required properties: <link>static <threading>multi 
     not matched 
    - zlib      : yes (cached) 
error: No best alternative for libs/coroutine/build/allocator_sources 
    next alternative: required properties: <link>static <target-os>windows <threading>multi 
     not matched 
    next alternative: required properties: <link>static <segmented-stacks>on <threading>multi 
     not matched 
    next alternative: required properties: <link>static <threading>multi 
     not matched 
    - zlib      : yes (cached) 
... 
error: No best alternative for libs/coroutine/build/allocator_sources 
    next alternative: required properties: <link>static <target-os>windows <threading>multi 
     not matched 
    next alternative: required properties: <link>static <segmented-stacks>on <threading>multi 
     not matched 
    next alternative: required properties: <link>static <threading>multi 
     not matched 
    - zlib      : yes (cached) 
error: No best alternative for libs/coroutine/build/allocator_sources 
    next alternative: required properties: <link>static <target-os>windows <threading>multi 
     not matched 
    next alternative: required properties: <link>static <segmented-stacks>on <threading>multi 
     not matched 
    next alternative: required properties: <link>static <threading>multi 
     not matched 
    - zlib      : yes (cached) 
    - zlib      : yes (cached) 
    - zlib      : yes (cached) 
error: No best alternative for libs/coroutine/build/allocator_sources 
    next alternative: required properties: <link>static <target-os>windows <threading>multi 
     not matched 
    next alternative: required properties: <link>static <segmented-stacks>on <threading>multi 
     not matched 
    next alternative: required properties: <link>static <threading>multi 
     not matched 
    - zlib      : yes (cached) 
error: No best alternative for libs/coroutine/build/allocator_sources 
    next alternative: required properties: <link>static <target-os>windows <threading>multi 
     not matched 
    next alternative: required properties: <link>static <segmented-stacks>on <threading>multi 
     not matched 
    next alternative: required properties: <link>static <threading>multi 
     not matched 
    - zlib      : yes (cached) 
... 

Component configuration: 

    - atomic     : building 
    - chrono     : building 
    - context     : building 
    - coroutine    : building 
    - date_time    : building 
    - exception    : building 
    - filesystem    : building 
    - graph     : building 
    - graph_parallel   : building 
    - iostreams    : building 
    - locale     : building 
    - log      : building 
    - math      : building 
    - mpi      : building 
... 
+0

기다린 할 요청한 라이브러리를 가져 왔습니까? –

+0

@IgorR. 전체 빌드를 수행하고 있으므로 모든 라이브러리가 만들어 졌는지 살펴 보지 않았습니다. 나는 모든 형태의 도서관이 만들어지기를 무엇이 모르는 지조차 알지 못합니다. – user1404617

답변

2

이것은 부스트 ​​-1.54의 버그입니다. 당신은/파일 lib 디렉토리/코 루틴을 열/Jamfile.v2를 구축하고이 줄을 대체 할 수있는 :

explicit allocator_sources ; 

explicit yield_sources ; 

또는 프로세스의 결국 부스트 1.55

+0

수정하는 데 어떤 오류가 있습니까? 내가 만든 것만 사용하면 어떻게됩니까? 감사합니다 – user1404617

+0

@ user1404617 위의 패치는 Coroutine 라이브러리의 빌드를 수정해야합니다 (필요하다면). –

+1

이 문제가 해결 되었습니까? 치명적인 오류 C1189가 발생합니다. #error : "Boost 1.56.0이있는 ARM이 아닙니다." – danijar

관련 문제