Environment: Anaconda3 5.0, Visual Studio 2017
There are multiple errors when install using pip install quickfix. Here are the steps to fix them:
- setup.py:
ext_modules=[Extension('_quickfix', glob.glob('C++/*.cpp'), libraries=['ws2_32'])]
- C++/Utilities.h:
replace:
typedef int ssize_t;
with:
#ifdef MS_WIN64
typedef __int64 ssize_t;
#else
typedef _W64 int ssize_t;
#endif
- copy stdafx.cpp and stdafx.h from quickfix/src/C++ to C++/
- copy config_windows.h from quickfix/src to ../C++
Environment: Anaconda3 5.0, Visual Studio 2017
There are multiple errors when install using pip install quickfix. Here are the steps to fix them:
ext_modules=[Extension('_quickfix', glob.glob('C++/*.cpp'), libraries=['ws2_32'])]
replace:
typedef int ssize_t;
with:
#ifdef MS_WIN64
typedef __int64 ssize_t;
#else
typedef _W64 int ssize_t;
#endif