potassco / plasp

🗺️ ASP planning tools for PDDL
https://potassco.org/
MIT License
28 stars 13 forks source link

Installation/build issues #11

Open ZimneJonas opened 1 year ago

ZimneJonas commented 1 year ago
  1. fatal error: mapbox/variant.hpp: No such file or directory Not everyone is used to to git submodules instead of a normal package manager so this should be included in the build doc:

Quick fix until then: run in the cloned plasp/ directory: $ git submodule update --init --recursive

  1. More importantly some people see: warning: redundant move in return statement [-Wredundant-move] 116 | return std::move(derivedPredicate) I think newer compilers find additional Werror's which then stop the make.

Quick fix: go to both files -plasp/lib/pddl/CMakeLists.txt -plasp/CMakeLists.txt

find this line: set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wpedantic -Werror ${CMAKE_CXX_FLAGS}") delete the -Werror