Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
c56kevin opened this issue Jun 5, 2024 · 2 comments
Open

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

c56kevin opened this issue Jun 5, 2024 · 2 comments
Assignees
Labels
Bug Help Needed Modeling/Usage problem

Comments

@c56kevin
Copy link

c56kevin commented Jun 5, 2024

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

@c56kevin
Copy link
Author

c56kevin commented Jun 5, 2024

image

@Mizux Mizux self-assigned this Jun 5, 2024
@Mizux Mizux added Bug Help Needed Modeling/Usage problem labels Jun 5, 2024
@lperron
Copy link
Collaborator

lperron commented Jun 5, 2024

we should just remove this example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Help Needed Modeling/Usage problem
Projects
None yet
Development

No branches or pull requests

3 participants