From eef6e4d764ef2038e8c197799e8ed3a123eabb78 Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Fri, 6 Sep 2024 17:51:25 +0000 Subject: [PATCH 1/2] Update error msg Signed-off-by: Ian Chen --- src/systems/physics/Physics.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/systems/physics/Physics.cc b/src/systems/physics/Physics.cc index 7038e2e143..6a2f3eda79 100644 --- a/src/systems/physics/Physics.cc +++ b/src/systems/physics/Physics.cc @@ -851,8 +851,8 @@ void Physics::Configure(const Entity &_entity, physics::FeaturePolicy3d>>(); if (classNames.empty()) { - gzerr << "No physics plugins found in library [" << pathToLib << "]." - << std::endl; + gzerr << "No physics plugins implementing required interface found in " + << "library [" << pathToLib << "]." << std::endl; return; } From e4ab1fd909f93446078c71996f4e713ac2db99ee Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Fri, 6 Sep 2024 17:57:37 +0000 Subject: [PATCH 2/2] update tutorial Signed-off-by: Ian Chen --- tutorials/physics.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tutorials/physics.md b/tutorials/physics.md index b4a94c7d1e..4240c44cff 100644 --- a/tutorials/physics.md +++ b/tutorials/physics.md @@ -127,6 +127,12 @@ that path to the environment variable as described above. There was some problem loading that file. Check that it exists, that you have permissions to access it, and that it's acually a physics engine plugin. +> No physics plugins implementing required interface found in library +> [/home/physics_engines/libCustomEngine.so] + +The library was found but none of the plugins in the library implement the +required interface to be considered a physics plugin. + > No plugins with all required features found in library > [/home/physics_engines/libCustomEngine.so]