Closed SergeyPod closed 2 months ago
This is a header-only library, so you don't actually need to build it with b2.
I'd advise to:
b2 --with-system --prefix=path/to/boost d0 install
)find_package(Boost REQUIRED COMPONENTS headers
), then link to Boost::headers
in your cmake. Remember to add the Boost path to CMAKE_PREFIX_PATH
so cmake finds it.IIRC (Marcelo can probably tell you better), you also need to include the file boost/redis/src.hpp
exactly in one of your .cpp files.
Hope it helps.
The instructions to consume the library seem outdated, from the time before Redis was included in Boost. We should update them.
Thank you, @anarthal , provided suggestion worked for me.
Hi, I tried to install Boost.Redis in two ways, both failed. The fist approach, as suggested here (*):
The second is compilation of entire boost library. It looks like redis is not in the list of boost modules:
Can you help with this? Thanks a lot in advance.
(*) https://www.boost.org/doc/libs/1_85_0/libs/redis/doc/html/index.html