whitews / FlowUtils

FlowUtils is a Python package containing various utility functions related to flow cytometry analysis, primarily focused on compensation and transformation tasks commonly used within the flow community.
https://flowutils.readthedocs.io
BSD 3-Clause "New" or "Revised" License
14 stars 8 forks source link

Error 'tmp_taylor': unknown size #2

Closed qprotex closed 5 years ago

qprotex commented 5 years ago

I am having the following error when installing FlowUtils using Python 3.7 64 bits

   logicle.c
    flowutils/logicle_c_ext/logicle.c(213): error C2057: expected constant expression
    flowutils/logicle_c_ext/logicle.c(213): error C2466: cannot allocate an array of constant size 0
    flowutils/logicle_c_ext/logicle.c(213): error C2133: 'tmp_taylor': unknown size
    flowutils/logicle_c_ext/logicle.c(321): error C2057: expected constant expression
    flowutils/logicle_c_ext/logicle.c(321): error C2466: cannot allocate an array of constant size 0
    flowutils/logicle_c_ext/logicle.c(321): error C2133: 'tmp_taylor': unknown size
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.21.27702\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2

Any idea?

whitews commented 5 years ago

@qprotex I was able to reproduce this on Windows. The MS VS compiler doesn't like arrays allocated with a const variable. This is fixed in the latest commit, but I haven't updated PyPI yet. Can you verify the install is working now by cloning the repo?