Here is described how to compile Crypto++ library in Windows MinGW enviroment.
I didn't find good step-to-step tutorial, so here is mine. The main problem is makefile, so working version of it is attached.
OS: Windows XP Professional SP3
MinGW: v4.4 (shipped with Qt SDK 4.7.3)
- Extract source archive to
- Rename adhoc.cpp.proto to adhoc.cpp
- Remove lines from 2nd to empty line before
SRCS = $(wildcard *.cpp)
- Remove line
- Remove lines from
adhoc.cpp: adhoc.cpp.proto to next empty line
- Add lines
LDLIBS += -lws2_32,
ARFLAGS = rc at the beginning of file
- Open Command Prompt (with configured %PATH% for MinGW)
copy *.h include\cryptopp
copy *.a lib
If everything goes right,
directories are the result.
This directories or their contents must be visible by your compiler as library and include path.