cppkafka icon indicating copy to clipboard operation
cppkafka copied to clipboard

Still C2941

Open CalvinSchulze opened this issue 6 years ago • 0 comments

Hello,

I tried the suggested options in #206 and I still run into the issue. This is the CMake command, which I used:

cmake .. -DCPPKAFKA_RDKAFKA_STATIC_LIB=ON -DCPPKAFKA_BUILD_SHARED=OFF -DBOOST_INCLUDEDIR="path to project\packages\boost.1.70.0.0\lib\native\include" -DRDKAFKA_LIBRARY="path to rdkafka\lib\rdkafka.lib" -DRDKAFKA_INCLUDE_DIR="path to rdkafka\RdKafka\include"-DCMAKE_CXX_FLAGS="/W3 -Dcppkafka_EXPORTS"

I applied the source changes to buffered_producer.h as well, as I set -Dcppkafka_EXPORTS in the preprocessor options via command line in Visual Studio.

cpp Kafka Error.txt

buffered_producer.txt

Is there any other suggestion?

Thanks in advance, Calvin

CalvinSchulze avatar Jul 05 '19 08:07 CalvinSchulze