-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare GuiRunner to be made private #567
Conversation
Signed-off-by: Louise Poubel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor comment, other than that looks good to me!
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UNIT_Gui_TEST is not compiling
../../lib/libignition-gazebo5-gui.so.5.0.0~pre1: undefined reference to `ignition::gazebo::IGNITION_GAZEBO_VERSION_NAMESPACE::GuiRunner::~GuiRunner()'
../../lib/libignition-gazebo5-gui.so.5.0.0~pre1: undefined reference to `ignition::gazebo::IGNITION_GAZEBO_VERSION_NAMESPACE::GuiRunner::RequestState()'
../../lib/libignition-gazebo5-gui.so.5.0.0~pre1: undefined reference to `ignition::gazebo::IGNITION_GAZEBO_VERSION_NAMESPACE::GuiRunner::~GuiRunner()'
../../lib/libignition-gazebo5-gui.so.5.0.0~pre1: undefined reference to `ignition::gazebo::IGNITION_GAZEBO_VERSION_NAMESPACE::GuiRunner::OnPluginAdded(QString const&)'
../../lib/libignition-gazebo5-gui.so.5.0.0~pre1: undefined reference to `vtable for ignition::gazebo::v5::GuiRunner'
Signed-off-by: Louise Poubel <[email protected]>
I think I fixed it in ae049d0 |
issues on MACOS https://build.osrfoundation.org/job/ignition_gazebo-ci-pr_any-homebrew-amd64/4927/consoleFull#2138011276ea37b8d-a6d4-40ae-8431-d90c018842af In file included from /Users/jenkins/workspace/ignition_gazebo-ci-pr_any-homebrew-amd64/ign-gazebo/src/gui/GuiRunner.cc:29:
In file included from /Users/jenkins/workspace/ignition_gazebo-ci-pr_any-homebrew-amd64/ign-gazebo/include/ignition/gazebo/gui/GuiRunner.hh:26:
In file included from /usr/local/include/ignition/utils1/ignition/utils/ImplPtr.hh:246:
/usr/local/include/ignition/utils1/ignition/utils/detail/ImplPtr.hh:130:46: error: chosen constructor is explicit in copy-initialization
new T{std::forward<Args>(args)...},
^
/Users/jenkins/workspace/ignition_gazebo-ci-pr_any-homebrew-amd64/ign-gazebo/src/gui/GuiRunner.cc:53:20: note: in instantiation of function template specialization 'ignition::utils::MakeUniqueImpl<ignition::gazebo::v5::GuiRunner::Implementation>' requested here
: dataPtr(utils::MakeUniqueImpl<Implementation>())
^
/usr/local/include/ignition/transport10/ignition/transport/Node.hh:212:24: note: explicit constructor declared here
public: explicit Node(const NodeOptions &_options = NodeOptions());
^
/Users/jenkins/workspace/ignition_gazebo-ci-pr_any-homebrew-amd64/ign-gazebo/src/gui/GuiRunner.cc:42:27: note: in implicit initialization of field 'node' with omitted initializer
public: transport::Node node;
^
1 error generated.
make[2]: *** [src/gui/CMakeFiles/ignition-gazebo5-gui.dir/GuiRunner.cc.o] Error 1 |
Codecov Report
@@ Coverage Diff @@
## main #567 +/- ##
=======================================
Coverage 77.38% 77.38%
=======================================
Files 213 212 -1
Lines 12016 12016
=======================================
Hits 9298 9298
Misses 2718 2718
Continue to review full report at Codecov.
|
Signed-off-by: Louise Poubel <[email protected]>
phew, fixed it by calling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are some tests failing in the github actions but they are unrelated
The
GuiRunner
class was never meant to be installed. This PR starts the tick-tock deprecation of that class so it can be moved tosrc/gui
and no longer installed.src/gui
on v6