Skip to content

Compile error with Apple clang 14 (Python 3.11) #3162

@stephanmg

Description

@stephanmg

What did you expect to happen?

To install amici 0.32.0 (or higher) via pip cleanly.

Command issued: pip3 install --no-cache-dir amici=0.32.0.

FAILED: [code=1] CMakeFiles/amici.dir/src/splinefunctions.cpp.o
   /usr/bin/c++ -DACCELERATE_LAPACK_ILP64 -DACCELERATE_NEW_LAPACK -DAMICI_BLAS_CBLAS -DSUNDIALS_STATIC_DEFINE -Dgsl_CONFIG_CONTRACT_VIOLATION_THROWS -Dgsl_CONFIG_NARROW_THROWS_ON_TRUNCATION=1 -I/private/var/folders/tq/nkl2_fls7c1841j2p89n38440000gn/T/pip-install-jt6npoe4/amici_e3c714abf853431aa674dad6d4a44818/amici/include -I/private/var/folders/tq/nkl2_fls7c1841j2p89n38440000gn/T/pip-install-jt6npoe4/amici_e3c714abf853431aa674dad6d4a44818/build/temp.macosx-12.0-arm64-cpython-311_amici/include -I/private/var/folders/tq/nkl2_fls7c1841j2p89n38440000gn/T/pip-install-jt6npoe4/amici_e3c714abf853431aa674dad6d4a44818/amici/ThirdParty/gsl -I/private/var/folders/tq/nkl2_fls7c1841j2p89n38440000gn/T/pip-install-jt6npoe4/amici_e3c714abf853431aa674dad6d4a44818/amici/swig -I/private/var/folders/tq/nkl2_fls7c1841j2p89n38440000gn/T/pip-install-jt6npoe4/amici_e3c714abf853431aa674dad6d4a44818/build/lib.macosx-12.0-arm64-cpython-311/amici/include/suitesparse -isystem /private/var/folders/tq/nkl2_fls7c1841j2p89n38440000gn/T/pip-install-jt6npoe4/amici_e3c714abf853431aa674dad6d4a44818/build/lib.macosx-12.0-arm64-cpython-311/amici/include -isystem /opt/local/include -Wall -O3 -DNDEBUG -std=gnu++20 -arch arm64 -fPIC -MD -MT CMakeFiles/amici.dir/src/splinefunctions.cpp.o -MF CMakeFiles/amici.dir/src/splinefunctions.cpp.o.d -o CMakeFiles/amici.dir/src/splinefunctions.cpp.o -c /private/var/folders/tq/nkl2_fls7c1841j2p89n38440000gn/T/pip-install-jt6npoe4/amici_e3c714abf853431aa674dad6d4a44818/amici/src/splinefunctions.cpp
   /private/var/folders/tq/nkl2_fls7c1841j2p89n38440000gn/T/pip-install-jt6npoe4/amici_e3c714abf853431aa674dad6d4a44818/amici/src/splinefunctions.cpp:828:26: error: no member named 'fill' in namespace 'std::ranges'

Version information:

  • Python 3.11
  • Apple Clang 14.0.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    newNewly created

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions