Code Monkey home page Code Monkey logo

Comments (2)

ludwigschwardt avatar ludwigschwardt commented on August 28, 2024 1

In python3.10, it cannot find elkai v0.1.2. Instead it tries v0.0.9

The other issue is that there is no source distribution for v0.1.2 on PyPI... That's why it's falling back to 0.0.9. I've just been bitten by this on an older Mac (macOS 11.7.3, Python 3.10), for which there is no wheel.

That one should be easy to fix :-)

from elkai.

fikisipi avatar fikisipi commented on August 28, 2024

I can't provide you a wheel for 3.10 and 3.11 using the new manylinux2014 image, because cmake fails with this:

libLKH.a(AddCandidate.c.o):(.bss+0x298): multiple definition of `FirstNode'; CMakeFiles/_elkai.dir/elkai/_elkai.c.o:(.bss+0x2b8): first defined here
libLKH.a(AddCandidate.c.o):(.bss+0x0): multiple definition of `MergeWithTour'; CMakeFiles/_elkai.dir/elkai/_elkai.c.o:(.bss+0x20): first defined here
libLKH.a(AddCandidate.c.o):(.bss+0x8): multiple definition of `BestSubsequentMove'; CMakeFiles/_elkai.dir/elkai/_elkai.c.o:(.bss+0x28): first defined here
...
...
libLKH.a(Best2OptMove.c.o):(.bss+0x138): multiple definition of `CandidateFileName'; CMakeFiles/_elkai.dir/elkai/_elkai.c.o:(.bss+0x158): first defined here

If anybody has time to fix this, I'd be thankful! Seems like elkai.c shouldn't include LKH.h because it generates global symbols that already exist in libLKH.

from elkai.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.