pywr / pywr-next

An experimental repository exploring ideas for a major revision to Pywr using Rust as a backend.
6 stars 4 forks source link

Cannot compile #214

Closed s-simoncelli closed 1 week ago

s-simoncelli commented 1 week ago

Hello,

I have been having issues compiling the coin-or-sys crate:

  cargo:warning=In file included from vendor/Clp/src/OsiClp/OsiClpSolverInterface.cpp:31:
  cargo:warning=vendor/Clp/src/OsiClp/OsiClpSolverInterface.hpp:15:10: fatal error: 'OsiSolverInterface.hpp' file not found
  cargo:warning=#include "OsiSolverInterface.hpp"

The header file is not in the vendor folder.

jetuk commented 1 week ago

Try running git submodule update. #208 added some new submodules.

s-simoncelli commented 1 week ago

Thanks, I had to use

git submodule update --init

to fetch all nested submodules instead