Skip to content

fatal error: 'ortools/util/step_function.h' file not found #4260

@c56kevin

Description

@c56kevin

Version: 9.10.4067
Language: C++

Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)

**What operating system (Linux, Windows, ...) and version?
MacOs 14.5 (23F79) M2

What did you do?
Steps to reproduce the behavior:

  1. downloaded from https://github.com/google/or-tools/releases/download/v9.10/or-tools_arm64_macOS-14.4.1_cpp_v9.10.4067.tar.gz
  2. run with command make run SOURCE=examples/cvrptw_with_time_dependent_costs
[ 50%] Building CXX object CMakeFiles/cvrptw_with_time_dependent_costs.dir/cvrptw_with_time_dependent_costs.cc.o
/Library/Developer/CommandLineTools/usr/bin/c++ -DEIGEN_MPL2_ONLY -DHAVE_CONFIG_H -DOR_TOOLS_AS_DYNAMIC_LIB -DUSE_BOP -DUSE_CBC -DUSE_CLP -DUSE_GLOP -DUSE_LP_PARSER -DUSE_MATH_OPT -DUSE_PDLP -DUSE_SCIP -I/Users/kevin/CLionProjects/test1/or-tools/examples/cvrptw_with_time_dependent_costs -isystem /Users/kevin/CLionProjects/test1/or-tools/include -isystem /Users/kevin/CLionProjects/test1/or-tools/include/coin -isystem /Users/kevin/CLionProjects/test1/or-tools/include/eigen3 -O3 -DNDEBUG -std=c++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -fPIE -fwrapv -MD -MT CMakeFiles/cvrptw_with_time_dependent_costs.dir/cvrptw_with_time_dependent_costs.cc.o -MF CMakeFiles/cvrptw_with_time_dependent_costs.dir/cvrptw_with_time_dependent_costs.cc.o.d -o CMakeFiles/cvrptw_with_time_dependent_costs.dir/cvrptw_with_time_dependent_costs.cc.o -c /Users/kevin/CLionProjects/test1/or-tools/examples/cvrptw_with_time_dependent_costs/cvrptw_with_time_dependent_costs.cc
/Users/kevin/CLionProjects/test1/or-tools/examples/cvrptw_with_time_dependent_costs/cvrptw_with_time_dependent_costs.cc:38:10: fatal error: 'ortools/util/step_function.h' file not found
#include "ortools/util/step_function.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[3]: *** [CMakeFiles/cvrptw_with_time_dependent_costs.dir/cvrptw_with_time_dependent_costs.cc.o] Error 1
make[2]: *** [CMakeFiles/cvrptw_with_time_dependent_costs.dir/all] Error 2
make[1]: *** [all] Error 2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions