sahandha / eif

Extended Isolation Forest for Anomaly Detection
Other
448 stars 119 forks source link

Compile flags #22

Open MarcKjerland opened 4 years ago

MarcKjerland commented 4 years ago

Hi! I'm trying to install this using pip on Windows and I get compiler errors:

cl : Command line error D8021 : invalid numeric argument '/Wcpp'

It seems extra_compile_args in setup.py contains GCC-specific compiler arguments. Are these necessary? If not, can they be removed?

This issue has been addressed e.g. in the COCO API package for compatibility with non-GCC compilers: https://github.com/philferriere/cocoapi/blob/master/PythonAPI/setup.py

fabigr8 commented 4 years ago

+1