Skip to content

Instantly share code, notes, and snippets.

@reset
Created April 4, 2014 23:32
Show Gist options
  • Save reset/9985092 to your computer and use it in GitHub Desktop.
Save reset/9985092 to your computer and use it in GitHub Desktop.
~ ᐅ cd code/solve
~/code/solve (remove-ruby-solver ✔) ᐅ bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.1.0)
Using ffi (1.9.0)
Using childprocess (0.3.9)
Using coderay (1.0.9)
Using coolline (0.4.2)
Installing dep_selector (1.0.0.alpha.1)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/reset/.rbenv/versions/2.0.0-p247/bin/ruby extconf.rb
checking for main() in -lgecodesupport... yes
checking for main() in -lgecodekernel... yes
checking for main() in -lgecodeint... yes
checking for main() in -lgecodeminimodel... yes
checking for main() in -lgecodesearch... yes
creating Makefile
make "DESTDIR="
compiling dep_selector_to_gecode.cpp
In file included from dep_selector_to_gecode.cpp:26:
./dep_selector_to_gecode.h:162:3: error: unknown type name 'Restart'
Restart<VersionProblem> solver;
^
./dep_selector_to_gecode.h:162:10: error: expected member name or ';' after declaration specifiers
Restart<VersionProblem> solver;
~~~~~~~^
dep_selector_to_gecode.cpp:404:5: error: no matching function for call to 'branch'
branch(*this, disabled_package_variables, INT_VAR_SIZE_MIN, INT_VAL_MIN);
^~~~~~
/usr/local/include/gecode/int.hh:4101:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarBranch (BranchTbl)' to 'Gecode::IntVarBranch' for 3rd argument
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4111:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarBranch (BranchTbl)' to 'TieBreak<Gecode::IntVarBranch>' for 3rd argument
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4073:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'const Gecode::IntVarArgs' for 2nd argument
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4083:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'const Gecode::IntVarArgs' for 2nd argument
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4093:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'Gecode::IntVar' for 2nd argument
branch(Home home, IntVar x, IntValBranch vals,
^
/usr/local/include/gecode/int.hh:4121:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'Gecode::BoolVar' for 2nd argument
branch(Home home, BoolVar x, IntValBranch vals,
^
/usr/local/include/gecode/set.hh:1522:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'const Gecode::SetVarArgs' for 2nd argument
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1532:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'const Gecode::SetVarArgs' for 2nd argument
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1542:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'Gecode::SetVar' for 2nd argument
branch(Home home, SetVar x, SetValBranch vals,
^
/usr/local/include/gecode/float.hh:1754:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'const Gecode::FloatVarArgs' for 2nd argument
branch(Home home, const FloatVarArgs& x,
^
/usr/local/include/gecode/float.hh:1764:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'const Gecode::FloatVarArgs' for 2nd argument
branch(Home home, const FloatVarArgs& x,
^
/usr/local/include/gecode/float.hh:1774:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'Gecode::FloatVar' for 2nd argument
branch(Home home, FloatVar x, FloatValBranch vals,
^
/usr/local/include/gecode/kernel.hh:201:3: note: candidate function not viable: requires 2 arguments, but 4 were provided
branch(Home home, void (*f)(Space& home));
^
/usr/local/include/gecode/int.hh:4285:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4301:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4317:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4333:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/set.hh:1582:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1594:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const SetVarArgs& x,
^
dep_selector_to_gecode.cpp:405:5: error: no matching function for call to 'branch'
branch(*this, package_versions, INT_VAR_SIZE_MIN, INT_VAL_MAX);
^~~~~~
/usr/local/include/gecode/int.hh:4073:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarBranch (BranchTbl)' to 'Gecode::IntVarBranch' for 3rd argument
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4083:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarBranch (BranchTbl)' to 'TieBreak<Gecode::IntVarBranch>' for 3rd argument
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4093:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarArray' to 'Gecode::IntVar' for 2nd argument
branch(Home home, IntVar x, IntValBranch vals,
^
/usr/local/include/gecode/int.hh:4101:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarArray' to 'const Gecode::BoolVarArgs' for 2nd argument
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4111:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarArray' to 'const Gecode::BoolVarArgs' for 2nd argument
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4121:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarArray' to 'Gecode::BoolVar' for 2nd argument
branch(Home home, BoolVar x, IntValBranch vals,
^
/usr/local/include/gecode/set.hh:1522:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarArray' to 'const Gecode::SetVarArgs' for 2nd argument
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1532:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarArray' to 'const Gecode::SetVarArgs' for 2nd argument
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1542:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarArray' to 'Gecode::SetVar' for 2nd argument
branch(Home home, SetVar x, SetValBranch vals,
^
/usr/local/include/gecode/float.hh:1754:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarArray' to 'const Gecode::FloatVarArgs' for 2nd argument
branch(Home home, const FloatVarArgs& x,
^
/usr/local/include/gecode/float.hh:1764:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarArray' to 'const Gecode::FloatVarArgs' for 2nd argument
branch(Home home, const FloatVarArgs& x,
^
/usr/local/include/gecode/float.hh:1774:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarArray' to 'Gecode::FloatVar' for 2nd argument
branch(Home home, FloatVar x, FloatValBranch vals,
^
/usr/local/include/gecode/kernel.hh:201:3: note: candidate function not viable: requires 2 arguments, but 4 were provided
branch(Home home, void (*f)(Space& home));
^
/usr/local/include/gecode/int.hh:4285:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4301:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4317:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4333:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/set.hh:1582:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1594:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const SetVarArgs& x,
^
dep_selector_to_gecode.cpp:406:5: error: no matching function for call to 'branch'
branch(*this, total_required_disabled, INT_VAL_MIN);
^~~~~~
/usr/local/include/gecode/int.hh:4093:3: note: candidate function not viable: no known conversion from 'Gecode::IntValBranch ()' to 'Gecode::IntValBranch' for 3rd argument
branch(Home home, IntVar x, IntValBranch vals,
^
/usr/local/include/gecode/int.hh:4121:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::BoolVar' for 2nd argument
branch(Home home, BoolVar x, IntValBranch vals,
^
/usr/local/include/gecode/set.hh:1542:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::SetVar' for 2nd argument
branch(Home home, SetVar x, SetValBranch vals,
^
/usr/local/include/gecode/float.hh:1774:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::FloatVar' for 2nd argument
branch(Home home, FloatVar x, FloatValBranch vals,
^
/usr/local/include/gecode/kernel.hh:201:3: note: candidate function not viable: requires 2 arguments, but 3 were provided
branch(Home home, void (*f)(Space& home));
^
/usr/local/include/gecode/int.hh:4073:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4083:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4101:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4111:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4285:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4301:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4317:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4333:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/set.hh:1522:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1532:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1582:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1594:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/float.hh:1754:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const FloatVarArgs& x,
^
/usr/local/include/gecode/float.hh:1764:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const FloatVarArgs& x,
^
dep_selector_to_gecode.cpp:407:5: error: no matching function for call to 'branch'
branch(*this, total_induced_disabled, INT_VAL_MIN);
^~~~~~
/usr/local/include/gecode/int.hh:4093:3: note: candidate function not viable: no known conversion from 'Gecode::IntValBranch ()' to 'Gecode::IntValBranch' for 3rd argument
branch(Home home, IntVar x, IntValBranch vals,
^
/usr/local/include/gecode/int.hh:4121:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::BoolVar' for 2nd argument
branch(Home home, BoolVar x, IntValBranch vals,
^
/usr/local/include/gecode/set.hh:1542:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::SetVar' for 2nd argument
branch(Home home, SetVar x, SetValBranch vals,
^
/usr/local/include/gecode/float.hh:1774:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::FloatVar' for 2nd argument
branch(Home home, FloatVar x, FloatValBranch vals,
^
/usr/local/include/gecode/kernel.hh:201:3: note: candidate function not viable: requires 2 arguments, but 3 were provided
branch(Home home, void (*f)(Space& home));
^
/usr/local/include/gecode/int.hh:4073:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4083:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4101:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4111:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4285:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4301:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4317:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4333:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/set.hh:1522:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1532:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1582:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1594:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/float.hh:1754:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const FloatVarArgs& x,
^
/usr/local/include/gecode/float.hh:1764:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const FloatVarArgs& x,
^
dep_selector_to_gecode.cpp:408:5: error: no matching function for call to 'branch'
branch(*this, total_suspicious_disabled, INT_VAL_MIN);
^~~~~~
/usr/local/include/gecode/int.hh:4093:3: note: candidate function not viable: no known conversion from 'Gecode::IntValBranch ()' to 'Gecode::IntValBranch' for 3rd argument
branch(Home home, IntVar x, IntValBranch vals,
^
/usr/local/include/gecode/int.hh:4121:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::BoolVar' for 2nd argument
branch(Home home, BoolVar x, IntValBranch vals,
^
/usr/local/include/gecode/set.hh:1542:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::SetVar' for 2nd argument
branch(Home home, SetVar x, SetValBranch vals,
^
/usr/local/include/gecode/float.hh:1774:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::FloatVar' for 2nd argument
branch(Home home, FloatVar x, FloatValBranch vals,
^
/usr/local/include/gecode/kernel.hh:201:3: note: candidate function not viable: requires 2 arguments, but 3 were provided
branch(Home home, void (*f)(Space& home));
^
/usr/local/include/gecode/int.hh:4073:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4083:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4101:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4111:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4285:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4301:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4317:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4333:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/set.hh:1522:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1532:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1582:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1594:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/float.hh:1754:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const FloatVarArgs& x,
^
/usr/local/include/gecode/float.hh:1764:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const FloatVarArgs& x,
^
dep_selector_to_gecode.cpp:409:5: error: no matching function for call to 'branch'
branch(*this, total_disabled, INT_VAL_MIN);
^~~~~~
/usr/local/include/gecode/int.hh:4093:3: note: candidate function not viable: no known conversion from 'Gecode::IntValBranch ()' to 'Gecode::IntValBranch' for 3rd argument
branch(Home home, IntVar x, IntValBranch vals,
^
/usr/local/include/gecode/int.hh:4121:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::BoolVar' for 2nd argument
branch(Home home, BoolVar x, IntValBranch vals,
^
/usr/local/include/gecode/set.hh:1542:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::SetVar' for 2nd argument
branch(Home home, SetVar x, SetValBranch vals,
^
/usr/local/include/gecode/float.hh:1774:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::FloatVar' for 2nd argument
branch(Home home, FloatVar x, FloatValBranch vals,
^
/usr/local/include/gecode/kernel.hh:201:3: note: candidate function not viable: requires 2 arguments, but 3 were provided
branch(Home home, void (*f)(Space& home));
^
/usr/local/include/gecode/int.hh:4073:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4083:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4101:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4111:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4285:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4301:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4317:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4333:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/set.hh:1522:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1532:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1582:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1594:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/float.hh:1754:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const FloatVarArgs& x,
^
/usr/local/include/gecode/float.hh:1764:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const FloatVarArgs& x,
^
dep_selector_to_gecode.cpp:410:5: error: no matching function for call to 'branch'
branch(*this, at_latest, INT_VAR_SIZE_MIN, INT_VAL_MAX);
^~~~~~
/usr/local/include/gecode/int.hh:4101:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarBranch (BranchTbl)' to 'Gecode::IntVarBranch' for 3rd argument
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4111:3: note: candidate function not viable: no known conversion from 'Gecode::IntVarBranch (BranchTbl)' to 'TieBreak<Gecode::IntVarBranch>' for 3rd argument
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4073:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'const Gecode::IntVarArgs' for 2nd argument
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4083:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'const Gecode::IntVarArgs' for 2nd argument
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4093:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'Gecode::IntVar' for 2nd argument
branch(Home home, IntVar x, IntValBranch vals,
^
/usr/local/include/gecode/int.hh:4121:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'Gecode::BoolVar' for 2nd argument
branch(Home home, BoolVar x, IntValBranch vals,
^
/usr/local/include/gecode/set.hh:1522:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'const Gecode::SetVarArgs' for 2nd argument
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1532:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'const Gecode::SetVarArgs' for 2nd argument
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1542:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'Gecode::SetVar' for 2nd argument
branch(Home home, SetVar x, SetValBranch vals,
^
/usr/local/include/gecode/float.hh:1754:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'const Gecode::FloatVarArgs' for 2nd argument
branch(Home home, const FloatVarArgs& x,
^
/usr/local/include/gecode/float.hh:1764:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'const Gecode::FloatVarArgs' for 2nd argument
branch(Home home, const FloatVarArgs& x,
^
/usr/local/include/gecode/float.hh:1774:3: note: candidate function not viable: no known conversion from 'Gecode::BoolVarArray' to 'Gecode::FloatVar' for 2nd argument
branch(Home home, FloatVar x, FloatValBranch vals,
^
/usr/local/include/gecode/kernel.hh:201:3: note: candidate function not viable: requires 2 arguments, but 4 were provided
branch(Home home, void (*f)(Space& home));
^
/usr/local/include/gecode/int.hh:4285:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4301:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4317:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4333:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/set.hh:1582:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1594:3: note: candidate function not viable: requires at least 5 arguments, but 4 were provided
branch(Home home, const SetVarArgs& x,
^
dep_selector_to_gecode.cpp:411:5: error: no matching function for call to 'branch'
branch(*this, total_preferred_at_latest, INT_VAL_MAX);
^~~~~~
/usr/local/include/gecode/int.hh:4093:3: note: candidate function not viable: no known conversion from 'Gecode::IntValBranch ()' to 'Gecode::IntValBranch' for 3rd argument
branch(Home home, IntVar x, IntValBranch vals,
^
/usr/local/include/gecode/int.hh:4121:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::BoolVar' for 2nd argument
branch(Home home, BoolVar x, IntValBranch vals,
^
/usr/local/include/gecode/set.hh:1542:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::SetVar' for 2nd argument
branch(Home home, SetVar x, SetValBranch vals,
^
/usr/local/include/gecode/float.hh:1774:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::FloatVar' for 2nd argument
branch(Home home, FloatVar x, FloatValBranch vals,
^
/usr/local/include/gecode/kernel.hh:201:3: note: candidate function not viable: requires 2 arguments, but 3 were provided
branch(Home home, void (*f)(Space& home));
^
/usr/local/include/gecode/int.hh:4073:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4083:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4101:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4111:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4285:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4301:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4317:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4333:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/set.hh:1522:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1532:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1582:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1594:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/float.hh:1754:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const FloatVarArgs& x,
^
/usr/local/include/gecode/float.hh:1764:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const FloatVarArgs& x,
^
dep_selector_to_gecode.cpp:412:5: error: no matching function for call to 'branch'
branch(*this, total_not_preferred_at_latest, INT_VAL_MAX);
^~~~~~
/usr/local/include/gecode/int.hh:4093:3: note: candidate function not viable: no known conversion from 'Gecode::IntValBranch ()' to 'Gecode::IntValBranch' for 3rd argument
branch(Home home, IntVar x, IntValBranch vals,
^
/usr/local/include/gecode/int.hh:4121:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::BoolVar' for 2nd argument
branch(Home home, BoolVar x, IntValBranch vals,
^
/usr/local/include/gecode/set.hh:1542:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::SetVar' for 2nd argument
branch(Home home, SetVar x, SetValBranch vals,
^
/usr/local/include/gecode/float.hh:1774:3: note: candidate function not viable: no known conversion from 'Gecode::IntVar' to 'Gecode::FloatVar' for 2nd argument
branch(Home home, FloatVar x, FloatValBranch vals,
^
/usr/local/include/gecode/kernel.hh:201:3: note: candidate function not viable: requires 2 arguments, but 3 were provided
branch(Home home, void (*f)(Space& home));
^
/usr/local/include/gecode/int.hh:4073:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4083:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4101:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4111:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4285:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4301:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const IntVarArgs& x,
^
/usr/local/include/gecode/int.hh:4317:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/int.hh:4333:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const BoolVarArgs& x,
^
/usr/local/include/gecode/set.hh:1522:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1532:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1582:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/set.hh:1594:3: note: candidate function not viable: requires at least 5 arguments, but 3 were provided
branch(Home home, const SetVarArgs& x,
^
/usr/local/include/gecode/float.hh:1754:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const FloatVarArgs& x,
^
/usr/local/include/gecode/float.hh:1764:3: note: candidate function not viable: requires at least 4 arguments, but 3 were provided
branch(Home home, const FloatVarArgs& x,
^
dep_selector_to_gecode.cpp:620:5: error: use of undeclared identifier 'Restart'
Restart<VersionProblem> solver(problem);
^
dep_selector_to_gecode.cpp:620:13: error: 'VersionProblem' does not refer to a value
Restart<VersionProblem> solver(problem);
^
./dep_selector_to_gecode.h:58:7: note: declared here
class VersionProblem : public Space
^
dep_selector_to_gecode.cpp:620:29: error: use of undeclared identifier 'solver'; did you mean 'Solve'?
Restart<VersionProblem> solver(problem);
^~~~~~
Solve
./dep_selector_to_gecode.h:114:26: note: 'Solve' declared here
static VersionProblem *Solve(VersionProblem *problem);
^
dep_selector_to_gecode.cpp:626:39: error: use of undeclared identifier 'solver'; did you mean 'Solve'?
while (VersionProblem *solution = solver.next())
^~~~~~
Solve
./dep_selector_to_gecode.h:114:26: note: 'Solve' declared here
static VersionProblem *Solve(VersionProblem *problem);
^
dep_selector_to_gecode.cpp:626:45: error: member reference base type 'VersionProblem *(VersionProblem *)' is not a structure or union
while (VersionProblem *solution = solver.next())
~~~~~~^~~~~
dep_selector_to_gecode.cpp:639:52: error: use of undeclared identifier 'solver'; did you mean 'Solve'?
const Search::Statistics & stats = solver.statistics();
^~~~~~
Solve
./dep_selector_to_gecode.h:114:26: note: 'Solve' declared here
static VersionProblem *Solve(VersionProblem *problem);
^
dep_selector_to_gecode.cpp:639:58: error: member reference base type 'VersionProblem *(VersionProblem *)' is not a structure or union
const Search::Statistics & stats = solver.statistics();
~~~~~~^~~~~~~~~~~
dep_selector_to_gecode.cpp:641:81: error: no member named 'memory' in 'Gecode::Search::Statistics'
DEBUG_STREAM << " Depth:" << stats.depth << " memory:" << stats.memory << std::endl;
~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [dep_selector_to_gecode.o] Error 1
Gem files will remain installed in /Users/reset/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/dep_selector-1.0.0.alpha.1 for inspection.
Results logged to /Users/reset/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/dep_selector-1.0.0.alpha.1/ext/dep_gecode/gem_make.out
An error occurred while installing dep_selector (1.0.0.alpha.1), and Bundler cannot continue.
Make sure that `gem install dep_selector -v '1.0.0.alpha.1'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment