forked from confluentinc/librdkafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.win32
31 lines (24 loc) · 1.05 KB
/
README.win32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Native win32 build instructions using Microsoft Visual Studio 2013 (MSVC).
Requirements:
* zlib is installed automatically from NuGet,
but probably requires the NuGet VS extension.
* OpenSSL-win32 must be installed in C:\OpenSSL-win32.
Download and install the latest v1.0.2 non-light package from:
https://slproweb.com/products/Win32OpenSSL.html
(This would be using NuGet too but the current
OpenSSL packages are outdated and with broken
dependencies, so no luck)
* lz4 is installed automatically from NuGet.
xxhash.[ch] from lz4 are used instead of the ones provided by librdkafka.
The Visual Studio solution file for librdkafka resides in win32/librdkafka.sln
Artifacts:
- C library
- C++ library
- rdkafka_example
- tests
Missing:
- remaining tools (rdkafka_performance, etc)
- SASL support (no official Cyrus libsasl2 DLLs available)
If you build librdkafka with an external tool (ie CMake) you can get rid of the
__declspec(dllexport) / __declspec(dllimport) decorations by adding a define
-DLIBRDKAFKA_STATICLIB to your CFLAGS