Skip to content

cl.exe failed with exit code 2 #270

@E-mail-hash

Description

@E-mail-hash

when i run example-4-multimodel-intro.ipynb, i got this error
D:\mynew\neurolib\neurolib-master\neurolib_pip\neurolib\models\multimodel\builder\base\backend.py:378: UserWarning: Your input past does not begin at t=0 but at t=1.0. Values before the beginning of the past will be extrapolated. You very likely do not want this.
self.dde_system = jitcdde_input(
jitced.c
C:\Users\25625\AppData\Local\Temp\jitcxde_o5d34hyz\jitced.c(420): error C2084: 函数“double perform_callback_firing_rate_lookup(double *,double,double)”已有主体
C:\Users\25625\AppData\Local\Temp\jitcxde_o5d34hyz\jitced.c(333): note: 参见“perform_callback_firing_rate_lookup”的前一个定义
C:\Users\25625\AppData\Local\Temp\jitcxde_o5d34hyz\jitced.c(449): error C2084: 函数“double perform_callback_voltage_lookup(double *,double,double)”已有主体
C:\Users\25625\AppData\Local\Temp\jitcxde_o5d34hyz\jitced.c(362): note: 参见“perform_callback_voltage_lookup”的前一个定义
C:\Users\25625\AppData\Local\Temp\jitcxde_o5d34hyz\jitced.c(478): error C2084: 函数“double perform_callback_tau_lookup(double *,double,double)”已有主体
C:\Users\25625\AppData\Local\Temp\jitcxde_o5d34hyz\jitced.c(391): note: 参见“perform_callback_tau_lookup”的前一个定义
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe' failed with exit code 2

i use python 3.10.11
i have downloaded visual studio 2019 and tried many other people's solutions such as setting the environment variables(INCLUDE, LIB, PATH)

Image

but they just didn't work, any solutions for this error?
Thank you so much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions