Boost 1.87.0 с MSYS2 в Windows - все функции, помеченные как «нет» и «Нет лучшей альтернативы для» ошибокC++

Программы на C++. Форум разработчиков
Ответить
Anonymous
 Boost 1.87.0 с MSYS2 в Windows - все функции, помеченные как «нет» и «Нет лучшей альтернативы для» ошибок

Сообщение Anonymous »

Я пытаюсь создать повышение с помощью GCC на Windows. Моя версия GCC: < /p>
C:\msys64\ucrt64\bin>g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-14.1.0/configure --prefix=/ucrt64 --with-local-prefix=/ucrt64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/ucrt64/include --libexecdir=/ucrt64/lib --enable-bootstrap --enable-checking=release --with-arch=nocona --with-tune=generic --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++,rust,jit --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts --enable-libstdcxx-time --disable-libstdcxx-pch --enable-lto --enable-libgomp --disable-libssp --disable-multilib --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/ucrt64 --with-mpfr=/ucrt64 --with-mpc=/ucrt64 --with-isl=/ucrt64 --with-pkgversion='Rev3, Built by MSYS2 project' --with-bugurl=https://github.com/msys2/MINGW-packages/issues --with-gnu-as --with-gnu-ld --disable-libstdcxx-debug --enable-plugin --with-boot-ldflags=-static-libstdc++ --with-stage1-ldflags=-static-libstdc++
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.1.0 (Rev3, Built by MSYS2 project)
< /code>
Когда я запускаю B2, я делаю это так: < /p>
.\b2.exe toolset=gcc install -q --build-type=complete --without-python -j16 -sNO_BZIP2=1 -d+4

< /code>
Я вижу много ошибок, подобных следующему: < /p>
error: No best alternative for /lib/boost/1.87.0/boost_1_87_0/libs/context/build/asm_sources with ms 64 off pe on on any_io_executor std boost fcontext off object on mt on on off off hide static yes yes off NT
on on off off abi address-model architecture binary-format toolset on on static native off windows on win32 multi 14 gcc debug off hidden off on desktop
no match: aapcs 32 arm elf multi clang
no match: aapcs 32 arm elf multi gcc
no match: aapcs 32 arm elf multi qcc
no match: aapcs 32 arm mach-o multi clang
no match: aapcs 32 arm mach-o multi darwin
no match: aapcs 32 arm pe multi msvc
no match: aapcs 64 arm elf multi clang
no match: aapcs 64 arm elf multi gcc
no match: aapcs 64 arm mach-o multi clang
< /code>
Также все списки функций помечены как «нет»: < /p>
- is Windows CE : no (cached) [50]
- cxx11_rvalue_references : no (cached) [50]
- has std::atomic_ref : no (cached) [51]
- has statx : no (cached) [51]
- has statx syscall : no (cached) [51]
- has BCrypt API : no (cached) [51]
- is Windows CE : no (cached) [51]
- cxx11_rvalue_references : no (cached) [51]
- has_icu builds : no (cached) [50]
- cxx11_hdr_ratio : no (cached) [50]
- cxx11_hdr_ratio : no (cached) [51]
- mips : no (cached) [51]
- native atomic int32 supported : no (cached) [51]
- has message compiler : no (cached) [51]
- native syslog supported : no (cached) [51]
- pthread supports robust mutexes : no (cached) [51]
- cxx11_lambdas : no (cached) [50]
- cxx11_lambdas : no (cached) [51]
- std_wstreambuf builds : no (cached) [50]
- std_wstreambuf : no (cached) [50]
- std_wstreambuf : no (cached) [51]
- BOOST_COMP_GNUC >= 4.3.0 : no (cached) [50]
- cxx11_variadic_templates : no (cached) [50]
- cxx11_variadic_templates : no (cached) [51]
- cxx20_hdr_concepts : no (cached) [50]
- cxx20_hdr_concepts : no (cached) [51]
- BOOST_ARCH_WORD_BITS == 0.0.16 : no (cached) [50]
- BOOST_ARCH_WORD_BITS == 0.0.32 : no (cached) [50]
- BOOST_ARCH_WORD_BITS == 0.0.64 : no (cached) [50]
- BOOST_ARCH_X86 : no (cached) [50]
- BOOST_ARCH_IA64 : no (cached) [50]
- BOOST_ARCH_SPARC : no (cached) [50]
- BOOST_ARCH_PPC : no (cached) [50]
- BOOST_ARCH_LOONGARCH : no (cached) [50]
- BOOST_ARCH_MIPS : no (cached) [50]
- BOOST_ARCH_PARISC : no (cached) [50]
- BOOST_ARCH_ARM : no (cached) [50]
- BOOST_ARCH_RISCV : no (cached) [50]
- BOOST_ARCH_SYS390 : no (cached) [50]

Я не знаю, что все это значит, но Boost_arch_x86 , вероятно, должен быть да при компиляции и для 64 -битного X86 CPU. Похоже, он не может прочитать выход компилятора.boost_1_87_0\tools\build\src\build\user-config.jam
using gcc : : C:\\msys64\\ucrt64\\bin\\g++.exe ;
< /code>
К концу сборки я получаю вывод, как это: < /p>
...skipped libboost_graph-mgw14-mt-d-1_87.dll.a for lack of read_graphviz_new.o...
...skipped libboost_graph-mgw14-mt-d-1_87.dll.a for lack of libboost_graph-mgw14-mt-d-1_87.dll.a...
0.000000 sec system; 0.000000 sec user; 0.010542 sec clock
0.000000 sec system; 0.000000 sec user; 0.010193 sec clock
0.000000 sec system; 0.000000 sec user; 0.011472 sec clock
0.000000 sec system; 0.000000 sec user; 0.011050 sec clock
0.000000 sec system; 0.000000 sec user; 0.010550 sec clock
0.000000 sec system; 0.000000 sec user; 0.017701 sec clock
0.000000 sec system; 0.000000 sec user; 0.015955 sec clock
0.000000 sec system; 0.000000 sec user; 0.014221 sec clock
0.000000 sec system; 0.000000 sec user; 0.011568 sec clock
0.000000 sec system; 0.000000 sec user; 0.010537 sec clock
0.000000 sec system; 0.000000 sec user; 0.010510 sec clock
...skipped libboost_program_options-mgw14-mt-d-1_87.dll.a for lack of cmdline.o...
...skipped libboost_program_options-mgw14-mt-d-1_87.dll.a for lack of libboost_program_options-mgw14-mt-d-1_87.dll.a...
0.000000 sec system; 0.000000 sec user; 0.010241 sec clock
0.000000 sec system; 0.000000 sec user; 0.009790 sec clock
0.000000 sec system; 0.000000 sec user; 0.009847 sec clock

...failed updating 0 target...


Подробнее здесь: https://stackoverflow.com/questions/795 ... no-best-al
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «C++»