简体   繁体   中英

Use librdkafka in a C++ project (VS2013)

I'm trying to use librdkafka , I had a hard time compling it, but I think I manage to do it, here are the generated file after compilation :

输出文件

Now I've been trying for hours but I cannot successfully link it into a C++ Project on Visual Studio 2013.

Can someone explain what do I have to do with those files ?

Good evening everyone.

From your Visual Studio project you should reference the librdkafka.redist NuGet package. After NuGet restore your project should be automatically set up to link with librdkafka.

See kafkacat for an example that does this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM