cppkafka icon indicating copy to clipboard operation
cppkafka copied to clipboard

Problem with building

Open LenoCode opened this issue 5 years ago • 1 comments

Before anything I m fresh in c++ world and not really understand how this including library works. I tried to follow the steps mkdir build cd build cmake ..

But when I do cmake .. I get error missing: Boost_INCLUDE_DIR. I tried with setting options CPPKAFKA_BUILD_SHARED and CPPKAFKA_BOOST_STATIC_LIBS,both setting them to off, but it did not work.

Also tried this

cmake ..

DBOOST_INCLUDEDIR="E:\Workspace\gym\c++\GymConsoleApplication\packages\boost.1.71.0.0\lib\native\include" -DRDKAFKA_LIBRARY="E:\Workspace\gym\c++\GymConsoleApplication\packages\librdkafka.redist.1.3.0\build\native\lib\win\x64\win-x64-Release\v120\librdkafka.lib"
-DRDKAFKA_INCLUDE_DIR="E:\Workspace\gym\c++\GymConsoleApplication\packages\librdkafka.redist.1.3.0\build\native\include\librdkafka"

but no luck, it says RdKafka_INCLUDE_DIR-NOTFOUND"

LenoCode avatar Mar 26 '20 19:03 LenoCode

Could you post your system information, please? I infer from the paths that you're using windows. Did you follow the wiki instructions to install the library and boost on Windows?

spaulaus avatar Apr 18 '20 11:04 spaulaus