由于“make: *** No rule to make target `run',无法在 Mac 上编译 or-tools 示例。”

时间:2021-01-01 20:09:06

标签: c++ gcc makefile or-tools

我在运行 11.1 (Big Sur) 的 Mac 上安装了 Google 的 or-tools。当我运行 make test_cc 时,我得到一个长长的列表,其中包含不同的结果以及一些消息,例如 ---- Integer programming example with CPLEX ---- Supports for solver CPLEX not linked in.

但是,如果我尝试使用 https://developers.google.com/optimization/introduction/cpp 中的示例,在尝试创建和运行程序(我已复制粘贴完整程序)时出现上述错误(请参阅标题)。我已经用

执行了make命令

Death-Star:or-tools me$ make run SOURCE=../Routing/Routing/main.cppls ../Routing/Routing/main.cpp 显示文件。

我做错了什么?

or-tools 版本是 8.1.8487

0 个答案:

没有答案
相关问题