Skip to content

Support for CBC master? #36

@jacobsvante

Description

@jacobsvante

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions