Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing pygalmesh on the linux subsystem for windows/ Ubuntu 18.04 with pip3 install #44

Closed
SiriusFuenmayor opened this issue Oct 8, 2019 · 3 comments

Comments

@SiriusFuenmayor
Copy link

Hi, I get the following error when installing pygalmesh on the linux subsystem for windows/ Ubuntu 18.04 when installing with the command sudo pip3 install -U pygalmesh

 /usr/include/CGAL/Kernel_traits.h:44:12: note: candidate: constexpr CGAL::internal_kernel_traits::Dummy_kernel<int>::FT::FT()
         struct FT{};
                ^~
    /usr/include/CGAL/Kernel_traits.h:44:12: note:   candidate expects 0 arguments, 1 provided
    /usr/include/CGAL/Kernel_traits.h:44:12: note: candidate: constexpr CGAL::internal_kernel_traits::Dummy_kernel<int>::FT::FT(const CGAL::internal_kernel_traits::Dummy_kernel<int>::FT&)
    /usr/include/CGAL/Kernel_traits.h:44:12: note:   no known conversion for argument 1 from ‘int’ to ‘const CGAL::internal_kernel_traits::Dummy_kernel<int>::FT&’
    /usr/include/CGAL/Kernel_traits.h:44:12: note: candidate: constexpr CGAL::internal_kernel_traits::Dummy_kernel<int>::FT::FT(CGAL::internal_kernel_traits::Dummy_kernel<int>::FT&&)
    /usr/include/CGAL/Kernel_traits.h:44:12: note:   no known conversion for argument 1 from ‘int’ to ‘CGAL::internal_kernel_traits::Dummy_kernel<int>::FT&&’
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-kk2eolk1/pygalmesh/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-ib292r06-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-kk2eolk1/pygalmesh/
@SiriusFuenmayor SiriusFuenmayor changed the title Error installing Hi, I get the following error when installing pygalmesh on the linux subsystem for windows/ Ubuntu 18.04 with pip3 install Error installing pygalmesh on the linux subsystem for windows/ Ubuntu 18.04 with pip3 install Oct 8, 2019
@nschloe
Copy link
Collaborator

nschloe commented Oct 8, 2019

You're probably using an outdated version of CGAL.

@nschloe
Copy link
Collaborator

nschloe commented Dec 6, 2019

Closing for lack of response.

@nschloe nschloe closed this as completed Dec 6, 2019
@mjoppich
Copy link

Even though this is a dead body, I got pygalmesh to install on WSL Ubuntu 18.04LTS ...

The problem on my end has not been an outdated CGAL version, but an outdated CGAL version in conjunction with an older boost library (which was still fine vor CGAL). I know got it to install with CGAL5 and Boost 1.72 .

Hope this helps somebody :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants