From fe85cf4c5a8efbf0ddb020df6f7de362380b86a8 Mon Sep 17 00:00:00 2001 From: Carl Patenaude-Poulin Date: Thu, 16 Jan 2025 18:51:44 -0500 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ebc074d..bdb1f74 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ Rust bindings to the Google CP-SAT constraint programming solver. To use this library, you need a C++ compiler and an installation of google or-tools library files. +If you're using a recent version of or-tools, you'll also need libprotobuf (older versions used to link it statically). Invoke Cargo using `RUSTFLAGS='-Clink-arg=-lprotobuf' cargo `. + The environment variable `ORTOOLS_PREFIX` is used to find include files and library files. If not setted, `/opt/ortools` will be added to the search path (classical search path will also be used).