Closed WhatDothLife closed 3 months ago
Looks like your libcp_sat doesn't include statically protobuf, but rely on some dynamic protobuf lib. Maybe you can try to add manually some compiler flags, or use pkg-config?
Making rust link protobuf library solved the issue for me.
export RUSTFLAGS='-Clink-arg=-lprotobuf'
Hi, I'm unable to compile the tutorial from the docs.rs page. I boiled it down to the first line of code.
The compilation fails with the following compiler-message:
My ORTOOLS_PREFIX variable is not defined. I run Archlinux and installed or-tools with paru from the following AUR repository. My Cargo.toml includes cp-sat as a git dependency. Using version 0.3.3 from crates.io does not fix the problem.