Hi, good to hear. Do you have any hints on the missing ID issue?

Regarding macOS packaging, well, it’s complicated and we would need specific 
information on what is going wrong. Getting our packaging script right on macOS 
was a little nightmare and we still have a custom fix script after the actual 
packaging to get things working (maybe that’s already a good hint): 
https://github.com/MITK/MITK/blob/v2018.04.2/CMake/FixMacOSInstaller.cmake

Best,
Stefan

From: José Alonso Solís Lemus [mailto:alonso.j...@gmail.com]
Sent: Tuesday, June 4, 2019 12:59 PM
To: Dinkelacker, Stefan <s.dinkelac...@dkfz-heidelberg.de>
Cc: mitk-users@lists.sourceforge.net
Subject: Re: [mitk-users] [Migrating to MITK v2018.04.2] Problems with external 
applications

Hello!

I've managed to compile properly the project properly by following both the 
Diffusion app and the Workbench. It works well on Ubuntu, even the packaging.

Now our focus is building the app for macOS. We have managed to make the 
project compile, however our app is not being packaged properly. Do you have 
any ideas?

Kind regards,
José Alonso

On Fri, 24 May 2019 at 20:02, José Alonso Solís Lemus 
<alonso.j...@gmail.com<mailto:alonso.j...@gmail.com>> wrote:
Hello!

Thank you for your reply. I started following the Workbench. I got it to work 
(compiled+running), it is now not "finding the editor". I followed both the 
Workbench and the Diffusion app. I'll be happy to give more information as 
needed. So if I get it to work, I'll reply back to this thread.

Thank you for confirming I'm on the right track!

Kind regards,
José Alonso

On Fri, 24 May 2019 at 16:45, Dinkelacker, Stefan 
<s.dinkelac...@dkfz-heidelberg.de<mailto:s.dinkelac...@dkfz-heidelberg.de>> 
wrote:
Hi Jose, recently two colleagues stumbled upon the same id problem. One person 
started from the Diffusion app as an example and run into the problem, the 
second person did it as well at the same time but it worked and they continued 
with that version then. It possibly will take a few days but we try to identify 
the difference and may give you an answer. Please tell us if you figure it out 
by yourself, though. :)

From: José Alonso Solís Lemus 
[mailto:alonso.jasl+...@gmail.com<mailto:alonso.jasl%2b...@gmail.com>]
Sent: Thursday, May 23, 2019 4:01 PM
To: mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net>
Subject: [mitk-users] [Migrating to MITK v2018.04.2] Problems with external 
applications

Dear MITKers,

Thank you very much for your help so far.

We have other inquiries regarding the upgrade of our app. For context, I'll 
repeat some of the things I've said already in this thread. We are in the 
process of migrating our application from v2016.03 to v2018.04.2, following the 
external project template. We used to have an application, for which in the 
2016 build would have its Apps directory, which we took from the external 
project template in v2016.

Right now, we got the MITK build to compile with our external Modules and 
Plugins, some of them even come through nicely in the Workbench. However, as 
mentioned before, we used to have a standalone app developed. The external 
projects template only includes examples for modules, plugins and command line 
applications. I looked through the ./CMakeLists.txt and noticed that it is 
possible to have an Applications folder, so I tried adapting our original Apps 
directory into an Applications, following roughly the Applications folder in 
the MITK source. The whole MITK build finishes successfully, however, when 
trying to run it, we get an error message, which in summary shows the following:

0.325! WARNING: Application launch failed: Application Exception: No 
application id has been found.
...
!0.325! WARNING: Startup error: Application Exception: No application id has 
been found.
...
Segmentation fault (core dumped)

Perhaps a problem with libMitkAppUtil, of some of the CTK libraries? I'm not 
sure. I'm pasting the full error message at the bottom of this.

Specifically, if we're aiming to produce a standalone application in which our 
developments can then be later be packaged into binaries, do we need to do 
something extra that is not in the External Project Template? Is there a place 
we could check how to make it work or perhaps a checklist of places we could 
try looking into?

I hope I explained the problem well, please ask any questions you might still 
have. Looking forward to your response.

Kind regards,
Jose Alonso

Full error:
0.325! WARNING: Application launch failed: Application Exception: No 
application id has been found.
at 0x7f9fe1830837: ??? + 0xe1830837 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKCore.so.0.1
at 0x7f9fe18303a1: ctkBackTrace::ctkBackTrace(unsigned long) + 0xd3 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKCore.so.0.1
at 0x7f9fe18594af: ctkException::ctkException(QString const&) + 0x49 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKCore.so.0.1
at 0x7f9fe8a723c7: ctkApplicationException::ctkApplicationException(int, 
QString const&) + 0x35 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKPluginFramework.so.0.1
at 0x7f9fc4ba538b: ??? + 0xc4ba538b in 
/home/jsl19/dev/mitk-cemrg/MITK-build/lib/plugins/liborg_blueberry_core_runtime.so
at 0x7f9fc4c11287: ??? + 0xc4c11287 in 
/home/jsl19/dev/mitk-cemrg/MITK-build/lib/plugins/liborg_blueberry_core_runtime.so
at 0x7f9fe8a004e7: ??? + 0xe8a004e7 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKPluginFramework.so.0.1
at 0x7f9fe89ffd80: ??? + 0xe89ffd80 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKPluginFramework.so.0.1
at 0x7f9fe8a3307a: ctkPluginFrameworkLauncher::run(QVariant const&) + 0x2f6 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKPluginFramework.so.0.1
at 0x7f9fe8a32981: ctkPluginFrameworkLauncher::run(QRunnable*, QVariant const&) 
+ 0x159 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKPluginFramework.so.0.1
at 0x7f9fe9db79d1: 
mitk::BaseApplication::main(std::vector<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >, 
std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > > > const&) + 0x15d in 
/home/jsl19/dev/mitk-cemrg/MITK-build/lib/libMitkAppUtil.so
at 0x7f9fe87848ae: Poco::Util::Application::run() + 0x6a in 
/home/jsl19/dev/mitk-cemrg/ep/lib/libPocoUtild.so.60
at 0x7f9fe9dba7f4: mitk::BaseApplication::run() + 0x64 in 
/home/jsl19/dev/mitk-cemrg/MITK-build/lib/libMitkAppUtil.so
at 0x401130: ??? + 0x401130 in ./MITK-build/bin/CemrgApp
at 0x7f9fe8ccd830: __libc_start_main + 0xf0 in /lib/x86_64-linux-gnu/libc.so.6
at 0x400f39: ??? + 0x400f39 in ./MITK-build/bin/CemrgApp
!0.325! WARNING: Startup error: Application Exception: No application id has 
been found.
at 0x7f9fe1830837: ??? + 0xe1830837 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKCore.so.0.1
at 0x7f9fe18303a1: ctkBackTrace::ctkBackTrace(unsigned long) + 0xd3 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKCore.so.0.1
at 0x7f9fe18594af: ctkException::ctkException(QString const&) + 0x49 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKCore.so.0.1
at 0x7f9fe8a723c7: ctkApplicationException::ctkApplicationException(int, 
QString const&) + 0x35 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKPluginFramework.so.0.1
at 0x7f9fc4ba538b: ??? + 0xc4ba538b in 
/home/jsl19/dev/mitk-cemrg/MITK-build/lib/plugins/liborg_blueberry_core_runtime.so
at 0x7f9fc4c11287: ??? + 0xc4c11287 in 
/home/jsl19/dev/mitk-cemrg/MITK-build/lib/plugins/liborg_blueberry_core_runtime.so
at 0x7f9fe8a004e7: ??? + 0xe8a004e7 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKPluginFramework.so.0.1
at 0x7f9fe89ffd80: ??? + 0xe89ffd80 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKPluginFramework.so.0.1
at 0x7f9fe8a3307a: ctkPluginFrameworkLauncher::run(QVariant const&) + 0x2f6 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKPluginFramework.so.0.1
at 0x7f9fe8a32981: ctkPluginFrameworkLauncher::run(QRunnable*, QVariant const&) 
+ 0x159 in 
/home/jsl19/dev/mitk-cemrg/ep/src/CTK-build/CTK-build/bin/libCTKPluginFramework.so.0.1
at 0x7f9fe9db79d1: 
mitk::BaseApplication::main(std::vector<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >, 
std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > > > const&) + 0x15d in 
/home/jsl19/dev/mitk-cemrg/MITK-build/lib/libMitkAppUtil.so
at 0x7f9fe87848ae: Poco::Util::Application::run() + 0x6a in 
/home/jsl19/dev/mitk-cemrg/ep/lib/libPocoUtild.so.60
at 0x7f9fe9dba7f4: mitk::BaseApplication::run() + 0x64 in 
/home/jsl19/dev/mitk-cemrg/MITK-build/lib/libMitkAppUtil.so
at 0x401130: ??? + 0x401130 in ./MITK-build/bin/CemrgApp
at 0x7f9fe8ccd830: __libc_start_main + 0xf0 in /lib/x86_64-linux-gnu/libc.so.6
at 0x400f39: ??? + 0x400f39 in ./MITK-build/bin/CemrgApp
Segmentation fault (core dumped)


--
- José Alonso Solís Lemus -


--
- José Alonso Solís Lemus -
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to