plasp icon indicating copy to clipboard operation
plasp copied to clipboard

Installation/build issues

Open ZimneJonas opened this issue 2 years ago • 0 comments

  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

ZimneJonas avatar Feb 13 '23 15:02 ZimneJonas