-
-
Notifications
You must be signed in to change notification settings - Fork 650
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
PJ build does not contain built-in plugins and crashes when clicking onto "plugin specific options" #575
Comments
have you copied all the PlotJuggler plugins (DLL), alongside the executable? Check the console message, you should see the list of loaded plugins. Anyway, I should fix this, I don't want this to crash. |
Yes, the plugins are alongside the executable (as they are right after the build). But as I tried to mention above, It is a minor bug, since the plugins are recognised properly when the correct "version" of libstdc++-6.dll is deployed, so it is really ONLY a problem If you do not compile any plugins and still click onto that button, should be rarely the case ;-) btw: just checked 3.3.4: ZMQ plugin was kicked out in favor of MQTT? is it a replacement or just a new "default" of plugins that are compiled together with the build process of PJ? |
Zmq and mqtt should both be available, if you have the right dependencies include in your system. Let me double check on windows. |
ok, thanks! I will give it a try with vcpkg |
No luck to install the dependencies so far with msys2/mingw64 until now. Even on a clean Win10 machine with fresh setup vcpkg fails to install mosquitto and protobuf - at least with MinGW. Guess I have to try the visualstudio compiler set.. Not sure but it could be related to what you ran into here: How did you resolve that issues? |
Problem description
//EDIT on 28.12.2021:
Found out that when just copying the necessary .DLLs per hand, the plugins are recognised by PJ, only when deploying with windeployqt and the "--release" flag, some of the copied .dlls seem to mess up this mechanism. Since I read about various bugs in winqtdeploy (e.g. https://forum.qt.io/topic/109779/windeployqt-exe-comes-with-qt-5-14-not-copy-the-dlls-to-the-app-directory/5), i guess this is not a PJ problem.
Seems to be a problem when statically linking against libgcc and libstdc++ AND winqtdeploy.exe copying over the incorrect .dlls. Found out that winqtdeploy copied over libstdc++-6.dll from qt5 directory, where it only works with the .dll from mingq64/bin
Although only a minor bug, the crash when not finding any plugins and clicking the settings button could be fixed =)
`void MainWindow::on_buttonStreamingOptions_clicked()
{
auto streamer = _data_streamer.at(ui->comboStreaming->currentText());
`
causes an exception in this case, because there is no element in the List
Steps to reproduce
The text was updated successfully, but these errors were encountered: