Skip to content

Can't install on windows #5

@nanzeng

Description

@nanzeng

Environment: Anaconda3 5.0, Visual Studio 2017

There are multiple errors when install using pip install quickfix. Here are the steps to fix them:

  1. setup.py:
    ext_modules=[Extension('_quickfix', glob.glob('C++/*.cpp'), libraries=['ws2_32'])]
  2. C++/Utilities.h:
    replace:
    typedef int ssize_t;
    with:
    #ifdef MS_WIN64
    typedef __int64 ssize_t;
    #else
    typedef _W64 int ssize_t;
    #endif
  3. copy stdafx.cpp and stdafx.h from quickfix/src/C++ to C++/
  4. copy config_windows.h from quickfix/src to ../C++

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions