irfansharif / solver Goto Github PK
View Code? Open in Web Editor NEWSAT solver library in Go; wraps around Google's Operational Research Tools
License: Apache License 2.0
SAT solver library in Go; wraps around Google's Operational Research Tools
License: Apache License 2.0
Configuration:
thomaspeugeot@MacBook-Pro-de-Thomas solver % uname -a
Darwin MacBook-Pro-de-Thomas.local 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_X86_64 x86_64
thomaspeugeot@MacBook-Pro-de-Thomas solver % bazel --version
bazel 5.1.1
thomaspeugeot@MacBook-Pro-de-Thomas solver % swig -version
SWIG Version 4.0.2
Compiled with g++ [x86_64-apple-darwin21.3.0]
Configured options: +pcre
Please see http://www.swig.org for reporting bugs and further information
thomaspeugeot@MacBook-Pro-de-Thomas solver % protoc --version
libprotoc 3.17.3
thomaspeugeot@MacBook-Pro-de-Thomas solver % protoc-gen-go --version
protoc-gen-go v1.28.0
Steps:
git submodule update --init --recursive
make generate
Problem:
thomaspeugeot@MacBook-Pro-de-Thomas solver % make generate
--- generating go:generate files
--- tidying go.{mod,sum}
go: finding module for package github.com/protocolbuffers/protobuf/examples/tutorial
github.com/irfansharif/solver/c-deps/protobuf/examples imports
github.com/protocolbuffers/protobuf/examples/tutorial: module github.com/protocolbuffers/protobuf@latest found (v3.20.0+incompatible), but does not contain package github.com/protocolbuffers/protobuf/examples/tutorial
make: *** [gogenerate] Error 1
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
make: *** [build] Error 1
I get the following error when I run the example of the readme.md
:
$ go run main.go
# github.com/irfansharif/solver/internal
wrapper.cc:355:10: fatal error: ortools/base/basictypes.h: No such file or directory
#include "ortools/base/basictypes.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.