forked from confluentinc/librdkafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.win32
27 lines (21 loc) · 893 Bytes
/
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
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)
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)
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