Hi all,

We had a lot of problems building OS X on 2015.05 and it's *much* better right now. Qt5LinguistTools is the only problem now. As you wrote, it's easy to fix, simply change Qt5LinguistTools_DIR in the inner MITK_build dir. It's strange, considering that all other Qt libraries are found, but that's not a big deal at all.

I'm on OS X 10.9 and I installed Qt5.5.1 by the installer found on the Qt website in ~/Qt/*
Thank you for your good work.

Nil

Le 2016-04-15 06:13, Admin Uniapp a écrit :
Hi Sascha,

I tried deleting the cache a few times and rebuilding but every time it comes back with the same error. I remember when I installed MITK on linux I had to install qttools5-dev-tools or something similar and add the Qt5LinguistTools_DIR to the cmake file and point it to the right directory installed by qttools5-dev-tools. Is there a similar step for mac? Or this should not be necessary at all?

Many thanks
Dora

On Wed, Apr 13, 2016 at 9:16 PM, Sascha Zelzer <sascha.zel...@gmail.com <mailto:sascha.zel...@gmail.com>> wrote:

    The linguist tools are a dependency of every CTK plug-in

    
https://github.com/commontk/CTK/blob/master/CMake/ctkMacroBuildPlugin.cmake#L319

    You shouldn't need to add the Qt5*_DIR CMake variables yourself. I'd
    suggest to try removing all of the Qt5*_DIR variables from the CMake
    cache and run configure again (from the MITK build directory, not the
    MITK-superbuild one).

    Cheers,
    Sascha

    On 04/13/2016 10:08 PM, Kislinskiy, Stefan wrote:
    > That's strange as i'm pretty sure that the linguist tools are
    not a dependency of MITK, not even a transitive one. Is it
    possible that you have that dependency in your own
    code/module/plugin/app? Search for "Qt5|" in all of your
    CMakeLists.txt files to get an overview of your Qt dependencies.
    The MITK Qt 5 dependencies are listed in [1]. A few optional
    modules have an additional dependency to Qt5Quick.
    >
    > [1] https://github.com/MITK/MITK/blob/master/CMakeLists.txt#L207
    >
    > Best,
    > Stefan
    >
    > ________________________________________
    > Von: Admin Uniapp [contactuni...@gmail.com
    <mailto:contactuni...@gmail.com>]
    > Gesendet: Mittwoch, 13. April 2016 19:55
    > An: MITK
    > Betreff: Re: [mitk-users] Rebuilding on Mac
    >
    > Hi again,
    >
    > I tried to build from the master branch again today, this time
    at build time, it complains about not finding "Qt5LinguistTools",
    so I added Qt5LinguistTools_DIR to the cmake and pointed it to the
    right Qt5LinguistToolsConfig.cmake file but it still complains
    about not finding the tool. Am I doing something wrong here?
    >
    > Many thanks
    > Dora
    >
    > On Wed, Apr 13, 2016 at 6:55 PM, Admin Uniapp
    <contactuni...@gmail.com
    <mailto:contactuni...@gmail.com><mailto:contactuni...@gmail.com
    <mailto:contactuni...@gmail.com>>> wrote:
    > Hi again,
    >
    > I tried to build from the master branch again today, this time
    at build time, it complains about not finding "Qt5LinguistTools",
    so I added Qt5LinguistTools_DIR to the cmake and pointed it to the
    right Qt5LinguistToolsConfig.cmake file but it still complains
    about not finding the tool. Am I doing something wrong here?
    >
    > Many thanks
    > Dora
    >
    > On Wed, Apr 13, 2016 at 7:45 AM, Kislinskiy, Stefan
    <s.kislins...@dkfz-heidelberg.de
    
<mailto:s.kislins...@dkfz-heidelberg.de><mailto:s.kislins...@dkfz-heidelberg.de
    <mailto:s.kislins...@dkfz-heidelberg.de>>> wrote:
    > Hi,
    >
    > after some fixes yesterday, the current development branch is
    supposed to be the base for the upcoming release. Just the release
    branching, version number update and MITK-ProjectTemplate
    adaptions are missing. According to [1] the code is compiling also
    on OS X. What's the compile errors you have had?
    >
    > [1] http://goo.gl/pHvIs9
    >
    > Best,
    > Stefan
    > ________________________________________
    > Von: Admin Uniapp [contactuni...@gmail.com
    <mailto:contactuni...@gmail.com><mailto:contactuni...@gmail.com
    <mailto:contactuni...@gmail.com>>]
    > Gesendet: Dienstag, 12. April 2016 18:41
    > An: Kislinskiy, Stefan
    > Cc: Clarkson, Matt; MITK
    > Betreff: Re: [mitk-users] Rebuilding on Mac
    >
    > Hi everyone,
    >
    > Following my last month questions and with your help, I did
    manage to install MITK 2015.05.2 using Qt4 on a new iMac. However,
    a few days ago I updated the OSX El Capitan with a new security
    update and had to rebuild my MITK plugins to update few changes I
    had in my code. Since, then I have been facing strange problems,
    first of all the same MITK code was not building again throwing
    errors at:
    >
    > Modules/MapperExt/src/mitkUnstructuredGridMapper2D.cpp
    > Modules/MapperExt/src/vtkMitkOpenGLVolumeTextureMapper3D.cpp
    >
    > Complaining about using delete[] for arrays in these two files,
    which I thought might be due to a change in the OSX c++ compiler
    after the update. So, I manually updated these two files and have
    noticed that in the nightly version of MITK the same changes have
    been done. Following this, the code actually gets built and runs
    normally but a strange crash happens when I try to use the DICOM
    plugin and load a DICOM into the viewer. The application crashes
    and quits. Are these events anyhow related?
    >
    > I also tried to build MITK from scratch using the current
    developing branch but it seemed that it is not stable yet as the
    code did not compile. Can anyone please shed some light on these?
    Because, I think I am running out of options to test.
    >
    > Many thanks
    > Dora

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to