whitews/FlowUtils

Error 'tmp_taylor': unknown size

Closed this issue · 1 comments

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?

@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?