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

Support for CBC master? #36

Open
jacobsvante opened this issue Mar 27, 2024 · 0 comments
Open

Support for CBC master? #36

jacobsvante opened this issue Mar 27, 2024 · 0 comments

Comments

@jacobsvante
Copy link

Hi,

Do you support the current master branch Cbc?

I haven't gotten it to work yet. Compiled Cbc @ master using the following Dockerfile:

FROM ubuntu:latest

RUN apt-get update
RUN apt-get install --yes git wget locales build-essential pkg-config
RUN locale-gen en_US.UTF-8
RUN dpkg-reconfigure locales

WORKDIR /work

RUN wget https://raw.githubusercontent.com/coin-or/coinbrew/master/coinbrew && chmod +x ./coinbrew
RUN git config --global advice.detachedHead false

RUN ./coinbrew fetch Cbc@master
RUN ls -ahl
RUN ./coinbrew build --verbosity 2 Cbc

ENV LD_LIBRARY_PATH=/work/dist/lib

RUN wget -q -O - https://sh.rustup.rs | sh -s -- -y
RUN . "$HOME/.cargo/env"
ENV PATH="/root/.cargo/bin:$PATH"

When I try to run your crate I get this error:

error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/root/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-gnu/bin:/
  = note: /usr/bin/ld: cannot find -lCbcSolver: No such file or directory

Maybe this comment from the refactor PR is related:

Eliminate the separate libCbcSolver, which didn't seem to serve a purpose.

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

1 participant