boostorg / boost

Super-project for modularized Boost
https://github.com/boostorg/wiki/wiki/Getting-Started%3A-Overview
Boost Software License 1.0
6.97k stars 1.72k forks source link

cmake not building libboost_system.a #927

Closed Duron27 closed 1 month ago

Duron27 commented 1 month ago

not sure whats going on but the title says it all

Duron27 commented 1 month ago

it's strange because after running cmake the libs folder has all libraries including system and they all have "CMakeFiles Makefile cmake_install.cmake" in the directory. just using cmake . builds everything except system.

Duron27 commented 1 month ago

so libboost_system.a is just a dummy file with a header in it. Using the NDK the command llvm-ar rc libboost_system.a $(find / -name "error_code.o" 2>/dev/null) builds the library fine. or just ar if youre not using the NDK