Running into a compilation error using python setup.py install, and the error is the following:
: error C2039: 'data' : is not a member of 'std::vector<_Ty>'
with
[
_Ty=unsigned int
]
Microsoft Visual has a VC++ for Python, which uses Visual C++ 2008, which doesn't support c++11 (which I think is required for that part of the code to work.
std::vector<unsigned> tab((m + 1) * 2);
unsigned *cur = tab.data(), *prev = tab.data() + m + 1;
Is there any workaround to either that part of the code, or by forcing python install to use MV C++ 2015.
The entire code is here: http://ift.tt/1HIcnKk
Aucun commentaire:
Enregistrer un commentaire