Skip to content

Compile problem under conda environment #81

@ttbond

Description

@ttbond

I tried to compile scikit-geometry by compiler of conda environment but met compile error.

src/arrangement.cpp: In function ‘pybind11::iterator skgeom::make_handle_iterator(Iterator, Sentinel, Extra&& ...)’:
src/arrangement.cpp:100:73: error: wrong number of template arguments (4, should be at least 5)
  100 |         typedef detail::iterator_state<Iterator, Sentinel, false, Policy> state;
src/arrangement.cpp:165:20: error: too many initializers for 'state' {aka 'int'}
return cast(state{first, last, true});

The information of compiler are

gcc_impl_linux-64         9.3.0               h70c0ae5_19    conda-forge  
gcc_linux-64              9.3.0               hf25ea35_30    conda-forge  
gxx_impl_linux-64         9.3.0               hd87eabc_19    conda-forge
gxx_linux-64              9.3.0               h3fbe746_30    conda-forge 
cxx-compiler              1.2.0                h4bd325d_0    conda-forge

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