Giter VIP home page Giter VIP logo

Comments (2)

aosmw avatar aosmw commented on July 23, 2024

The GLIBC error is probably caused by using a binary release of ortools (-DUSE_ORTOOLS_RELEASE=ON) on a system that is not compatiable with it. Ubuntu 20.04 has glibc 2.31

I was going to say try

mkdir -p build;
cd build;
cmake -DCMAKE_BUILD_TYPE=Release -DUSE_ORTOOLS_RELEASE=OFF -DUSE_ORTOOLS_FETCH_SRC=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON=ON -DBUILD_TESTS=ON ..;
make -j$(nproc)

Which builds ortools from source but I just did it and got
'''
CMake Error at CMakeLists.txt:361 (add_custom_target):
add_custom_target cannot create target "check" because another target with
the same name already exists. The existing target is an interface library
created in source directory
"/home/wakem/dev/contrib_github/n2/src/Fields2Cover/build/_deps/abseil-cpp-src/absl/log".
See documentation for policy CMP0002 for more details.
'''

Which is a conflict in target names. #161

from fields2cover.

Gonzalo-Mier avatar Gonzalo-Mier commented on July 23, 2024

Hi @nilleko, I believe the problem is that F2C is having issues detecting the correct ortools, which have at least 2 versions in your system.
On one hand, you have installed the ortools release in your system. On the other hand, fields2cover downloaded ortools and try to link to it (/home/niclas/Fields2Cover/build/_deps/ortools-src/lib/libortools.so.9).

Can you try again (#162 is a possible fix)

from fields2cover.

Related Issues (20)

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.