rbdl / rbdl-toolkit

Application for visualizing and working with rbdl models
European Union Public License 1.2
19 stars 11 forks source link

plugins and setting not loading #35

Closed nag92 closed 2 years ago

nag92 commented 2 years ago

I built the rbdl-toolkit from source but the plugin are not loading. When i click on the plugin button it just turns blue and no menu appears showing the plugin. I have tested this both with the optimal on and off. Additionally, the setting under Toolkit menu shows nothing when it open up.

I am suing Qt 5.15.2 is this a problem? Is there a command line option i need to include?

ju6ge commented 2 years ago

There where some bugs in QT 5.13.2, but anything newer than 5.14 should be fine. Is there some error when you open the toolkit from the terminal? I sometimes encountered issues where the toolkit was linking against an older version of rbdl, and the plugins against a newer version, which results in the plugins not loading. In fact that was a problem with the newest appimage and was fixed last week.

nag92 commented 2 years ago

I have been debugging the code and it seem like the problem is with how the plugins are found. The findAllPlugins() function is not finding the plugins.

auto paths = QDir::searchPaths("plugins");

The length of paths is returning 0. This would explain why the plugin are not being found.

nag92 commented 2 years ago

I solved the problem by running

sudo make install