Comments (8)
What operating system are you using? I assume you tried installing SWIG?
from slothy.
I'm using OS X with M1 and Ubuntu both. and it's solved after I install SWIG.
However, there's another error occurred.
Deprecated command line option: -py3. Ignored, this option is no longer supported.
/Users/yong/Documents/coding/slothy/submodules/or-tools/ortools/linear_solver/linear_solver.h:809: Error: Syntax error in input(3).
make[2]: *** [ortools/linear_solver/python/CMakeFiles/pywraplp.dir/linear_solverPYTHON.stamp] Error 1
make[2]: *** Deleting file `ortools/linear_solver/python/CMakeFiles/pywraplp.dir/linear_solverPYTHON.stamp'
make[1]: *** [ortools/linear_solver/python/CMakeFiles/pywraplp_swig_compilation.dir/all] Error 2
make: *** [all] Error 2
This is error message when I run make
.
I checked that mypy-protobuf
is installed and it is latest version.
from slothy.
@Unlimitosu Thank you for the update, progress is seeing a different error. I have not seen this OR-Tools build error before, but would encourage you to search amongst the issues in https://github.com/google/or-tools/tree/stable and stack exchange. Which version of SWIG are you using? What's your compiler?
from slothy.
@hanno-becker I use SWIG 4.1.1., cmake version 3.28.0-rc5 and GNU Make 4.2.1(for Ubuntu).
and clang version 13.0.0 for M1 OS X.
from slothy.
I'm using 4.1.0 locally, which seems fine. Perhaps it's an issue with the OR-Tools version? We don't yet pin that in the submodule configuration, which we probably should. Which version are you using? Can you try tag v9.7?
from slothy.
@Unlimitosu Any luck?
I've pinned the OR-Tools submodule to v9.7 now, which works for me locally.
from slothy.
@Unlimitosu FYI we added a docker container for SLOTHY in https://github.com/slothy-optimizer/slothy/tree/main/paper/artifact which exemplifies the setup required to run SLOTHY.
from slothy.
Closing this. Feel free to reopen if the issue persists.
from slothy.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slothy.