Open mezdej opened 3 weeks ago
Please check the configure log.
I have found that entry line:
"Boost.Cobalt: not building, can't include
config-x64-linux-out.log config-x64-linux-dbg-CMakeCache.txt.log
try_compile(
BOOST_COBALT_HAS_COROUTINE_INCLUDE
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_LIST_DIR}/coroutine.cpp
CXX_STANDARD 20
CXX_STANDARD_REQUIRED 20
OUTPUT_VARIABLE TRY_COMPILE_OUTPUT)
if (NOT BOOST_COBALT_HAS_COROUTINE_INCLUDE)
message(STATUS "Boost.Cobalt: not building, can't include <coroutine>.")
message(DEBUG ${TRY_COMPILE_OUTPUT})
return()
endif()
Need to check why try_compile fails
check the *.yaml file in the subfolder CMakeFiles
of the build folder
gcc-10
probably needs -fcoroutines
in CXXFLAGS
exactly as you said:
295 | #error "the coroutine header requires -fcoroutines"
Can you guys fix it?
Please add -fcoroutines in CXXFLAGS for gcc-10 @FrankXie05
@mezdej I will do it. :)
Package: boost-cobalt:x64-linux@1.85.0
Host Environment
To Reproduce
vcpkg install boost-cobalt
Failure logs
/home/mezdej/environment/vcpkg/buildtrees/boost-cobalt/install-x64-linux-dbg-err.log
``` ninja: error: unknown target 'install' ```/home/mezdej/environment/vcpkg/buildtrees/boost-cobalt/install-x64-linux-dbg-out.log
``` Change Dir: '/home/mezdej/environment/vcpkg/buildtrees/boost-cobalt/x64-linux-dbg' Run Build Command(s): /home/mezdej/environment/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja -v -v -j21 install ```