mitsubishirgb
mitsubishirgb
@klemens-morgenstern how do i obtain the libboost_cobalt.lib i am kinda new to cpp so i don't know how to get it, i tried to run cmake i got openssl unrecognized...
cmake -G "Visual Studio 17 2022" .. -DBOOST_ROOT="C:/libs/boost_1_86_0" -DBoost_NO_SYSTEM_PATHS=ON -DBoost_INCLUDE_DIR="C:/libs/boost_1_86_0" -DBoost_LIBRARY_DIR="C:/libs/boost_1_86_0/stage/lib" -DBoost_SYSTEM_LIBRARY="/libs/boost_1_86_0/stage/lib/libboost_system-vc143-mt-x64-1_86.lib" -DOPENSSL_ROOT_DIR="C:/libs/OpenSSL-Win64" -DOPENSSL_INCLUDE_DIR="C:/libs/OpenSSL-Win64/include" -DOPENSSL_SSL_LIBRARY="C:/libs/OpenSSL-Win64/lib/VC/x64/MT/libssl.lib" -DOPENSSL_CRYPTO_LIBRARY="C:/libs/OpenSSL-Win64/lib/VC/x64/MT/libcrypto.lib" CMake Error at example/CMakeLists.txt:44 (target_link_libraries): Target "boost_cobalt_example_channel" links to: OpenSSL::SSL but the target was...
> You should build cobalt as part of boost. The above looks like you're doing something different. > > Here are more details on how to build boost. https://www.boost.io/doc/user-guide/getting-started.html i...
> What is the error? Are you sure you want to use const & in a coroutine argument list? > > Also: is this an exercise or a prod problem?...
i have an async operation on the main function that wait for signals and cancels the promises , but how do i design the future to cancel its handler too,...
This is a snippet of my project if the coro is called more than the limit it queues the await up until a set_future() is called from other part of...
> You will need to be more specific - what do you want to do? .
> I see, you're like me, you'd rather write 50 lines of code than two sentences in english explaining the intent :). > > So let's see: > > cobalt::promise...
the cancellation works fine but when we turn back to the main coroutine, co_return doesn't work properly causing an abrupt deadlock. I am guessing the main loop thinks there are...
> Have you perhaps taken a look at [the `cancel_after` completion adapter](https://www.boost.org/doc/libs/1_88_0/doc/html/boost_asio/reference/cancel_after.html) and similar, from boost.asio? > > In one usage case, this completion token adapter could be applied for...