Getting the following error while building the RMF source using "colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release"
--- stderr: nlohmann_json_schema_validator_vendor
In file included from /home/admin/rmf_foxy_ws/build/nlohmann_json_schema_validator_vendor/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6-prefix/src/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6/src/json-validator.cpp:9:
/home/admin/rmf_foxy_ws/build/nlohmann_json_schema_validator_vendor/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6-prefix/src/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6/src/nlohmann/json-schema.hpp:28:4: error: #error "Please use this library with NLohmann's JSON version 3.8.0 or higher"
28 | # error "Please use this library with NLohmann's JSON version 3.8.0 or higher"
| ^~~~~
--- stderr: nlohmann_json_schema_validator_vendor
In file included from /home/admin/rmf_foxy_ws/build/nlohmann_json_schema_validator_vendor/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6-prefix/src/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6/src/json-validator.cpp:9:
/home/admin/rmf_foxy_ws/build/nlohmann_json_schema_validator_vendor/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6-prefix/src/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6/src/nlohmann/json-schema.hpp:28:4: error: #error "Please use this library with NLohmann's JSON version 3.8.0 or higher"
28 | # error "Please use this library with NLohmann's JSON version 3.8.0 or higher"
| ^~~~~
Bug report
Getting the following error while building the RMF source using "colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release"
--- stderr: nlohmann_json_schema_validator_vendor In file included from /home/admin/rmf_foxy_ws/build/nlohmann_json_schema_validator_vendor/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6-prefix/src/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6/src/json-validator.cpp:9: /home/admin/rmf_foxy_ws/build/nlohmann_json_schema_validator_vendor/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6-prefix/src/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6/src/nlohmann/json-schema.hpp:28:4: error: #error "Please use this library with NLohmann's JSON version 3.8.0 or higher" 28 | # error "Please use this library with NLohmann's JSON version 3.8.0 or higher" | ^~~~~
Required information:
Description of the bug
--- stderr: nlohmann_json_schema_validator_vendor In file included from /home/admin/rmf_foxy_ws/build/nlohmann_json_schema_validator_vendor/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6-prefix/src/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6/src/json-validator.cpp:9: /home/admin/rmf_foxy_ws/build/nlohmann_json_schema_validator_vendor/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6-prefix/src/nlohmann_json_schema_validator-1063c9adbafc25f5a14bae15c3babdb039de86c6/src/nlohmann/json-schema.hpp:28:4: error: #error "Please use this library with NLohmann's JSON version 3.8.0 or higher" 28 | # error "Please use this library with NLohmann's JSON version 3.8.0 or higher" | ^~~~~
Steps to reproduce the bug