OpenHeartDevelopers / CemrgApp

An Interactive Medical Imaging Platform with Image Processing and Computer Vision Toolkits for Cardiovascular Research.
http://www.cemrgapp.com
BSD 3-Clause "New" or "Revised" License
18 stars 8 forks source link

ctkPluginException: Failed to install plugin error #70

Closed sverdlab closed 1 year ago

sverdlab commented 1 year ago

Hello, another compilation error on Ubuntu 18.04:

After compilation I run:

MITK-build/bin/CemrgApp

0.235! WARNING: Pre-loading library "liborg_mitk_gui_qt_common" failed: "Cannot load library liborg_mitk_gui_qt_common: (liborg_mitk_gui_qt_common: cannot open shared object file: No such file or directory)" Check your library search paths. !0.683! WARNING: Failed to install plugin QUrl("file:///home/ingv/Software/again-mitk-pw/cemrgapp/build/folder/MITK-build/lib/plugins/liborg_mitk_gui_qt_common.so") : ctkPluginException: Failed to install plugin Caused by: ctkPluginException: The plugin "/home/ingv/Software/again-mitk-pw/cemrgapp/build/folder/MITK-build/lib/plugins/liborg_mitk_gui_qt_common.so" could not be loaded: Cannot load library /home/ingv/Software/again-mitk-pw/cemrgapp/build/folder/MITK-build/lib/plugins/liborg_mitk_gui_qt_common.so: (/home/ingv/Software/again-mitk-pw/cemrgapp/build/folder/MITK-build/lib/plugins/liborg_blueberry_core_expressions.so: undefined symbol: _ZN5berry14ElementHandler6CreateEPNS_19ExpressionConverterEPN4Poco3XML7ElementE) Aborted

sverdlab commented 1 year ago

I fixed it! Created a package and run cemrapp from there. Thank you

alonsoJASL commented 1 year ago

Hello, @sverdlab,

I would like to encourage you to stick to our Reporting Bugs Guidelines and using the ISSUE TEMPLATE. It can be very difficult to help you by relying solely on terminal outputs like the one you're sharing.

That happens often, and it gets fixed by running the application again. We do not fully know why this happens, but it is not necessary to run make package, which I assume you did, to run CemrgApp.