Error in building pupil_detectors setup.py #1331
I got the following error while I was trying to build setup.py in "pupil/pupil_src/shared_modules/pupil_detectors" :
it seems that I have to define _ENABLE_EXTENDED_ALIGNED_STORAGE somewhere but I dont know where!!
Thanks for your kind help :)
I too ran across this issue and have "fixed" it. The issue does stem from the recent Visual Studio 2017 v15.8 update. There are 3 files the following line of code needs to be added to:
The 3 files are:
Adding to EyeModelFitter.cpp is easy, just adding it to the top of the file.
The other 2 files do not exist in source code though. They are auto-generated by:
These 2 Cython files auto-generate their respective .cpp files, but when other files try to utilize detector_2d.cpp or detector_3d.cpp, they run into this issue. You can just add the #define code to the top of those 2 files and the build process will work as intended. However, the two .cpp aren't part of the source code, so if you re-download from source, or try to do a clean build, you have to manually go in and edit the .cpp files again.
The fix for this issue is to modify the Cython code in detector_2d.pyx and detector_3d.pyx so that their auto-generated .cpp files include the line