Hi Caspar, so now I installed Qt 4.8.7, and I downloaded the MITK source snapshot 2015.05. Cmake goes OK now, I can configure and generate; at least, it doesn't say anything is wrong. The next step in the process of building MITK according to http://docs.mitk.org/2015.05/BuildInstructionsPage.html is to just run 'make' (perhaps with -j6 as an option), I assume in the MITK-superbuild directory. However, there are no makefiles to be found, so make quits saying: "make: *** No targets specified and no makefile found. Stop."
Any ideas? Regards, Hans Goch, Caspar Jonas wrote on 21/08/15 19:26: > Hi Hans, > > generally, if in doubt try generating a fresh superbuild. That way you avoid > any errors that might have been introduced by playing around with the > settings. > > If you cloned our git repository you are probably working on the current > master, which might be unstable (depending on the current commit). Unless you > need new features/a bug fixed that you know is fixed in the master it is > advisable to use a release (either checkout one of the release branches or > download the source from the release page on mitk.org). > > On Mac we do not support Qt5 yet (build should work fine, but there are some > issues when handling application events), so you will need to build using Qt4. > > Best, > Caspar > ________________________________________ > Von: Hans van Assen [[email protected]] > Gesendet: Freitag, 21. August 2015 18:07 > An: Goch, Caspar Jonas; [email protected] > Cc: [email protected] > Betreff: Re: AW: [mitk-users] Problems building MITK on Mac OS X > > Hi Caspar, > > I followed the superbuild route, but already get the problems there > while generating files with CMake. > At first it worked fine, but after switching on and off the options for > USE_CTK USE_DCMTK and USE_Poco, I get the problems with the tinyxml > directory setting. > > To answer the questions in [1]: > > - I work on Mac OS X 10.10.5, 64 bit > - I specified the clang_64 source directory for Qt5.5, and choose XCode > as the generator for the project with the use of native compilers > - CMake 3.3.1, built with Qt 4.8.6 > - I am not sure about the MITK version, I used the command git clone > http://git.mitk.org/MITK.git this afternoon as specified on the MITK > website. I guess it is the latest stable version. > - no configure or build errors are reported on cdash.mitk.org > - I have the config problems in the superbuild > - the error output was: > > CMake Error at CMakeExternals/tinyxml.cmake:7 (message): > tinyxml_DIR variable is defined but corresponds to non-existing directory > Call Stack (most recent call first): > SuperBuild.cmake:236 (include) > CMakeLists.txt:528 (include) > > > > Regards, Hans > > > > > Goch, Caspar Jonas wrote on 21/08/15 17:16: >> Hi Hans, >> >> the usual build workflow to build MITK is: >> 1. Download MITK (either a source release or a git clone) >> 2. Configure and generate the superbuild using CMake >> 3. call make in the superbuild directory >> >> At this point you already have a default MITK-build >> >> Optional: >> 4. If desired change, configure and generate the MITK build using CMake >> (binary directory "xxx/MITK-superbuild/MITK-build/") >> 5. call make in the build directory >> >> If any of these steps fails you cannot continue to the next step. >> >> However, to advise you on your build problem we need some more information. >> Could you answer the questions at [1], please? >> >> Best, >> Caspar >> [1] http://mitk.org/wiki/BuildErrorHelpQuestions >> >> -----Ursprüngliche Nachricht----- >> Von: Hans van Assen [mailto:[email protected]] >> Gesendet: Freitag, 21. August 2015 16:58 >> An: [email protected] >> Betreff: [mitk-users] Problems building MITK on Mac OS X >> >> Hi, >> >> just started with MITK, trying to follow the build instructions on the >> website. >> At first I managed to configure / generate files for MITK with CMake, >> however, now CMake is complaining about tinyxml: >> >> CMake Error at CMakeExternals/tinyxml.cmake:7 (message): >> tinyxml_DIR variable is defined but corresponds to non-existing >> directory Call Stack (most recent call first): >> SuperBuild.cmake:236 (include) >> CMakeLists.txt:528 (include) >> >> Furthermore, when I could generate a (make?)file, I tried to compile MITK >> following these instructions: >> >> To change the configuration of the MITK build itself, choose the MITK-build >> directory as the binary directory in the CMake GUI (not the MITK-superbuild >> directory). After generating the project files, build the MITK project by >> either issuing "make" in the MITK-build directory (Linux, Mac OS X), or ... >> >> Both the MITK-build directory was empty, and so issueing a make there, does >> not do anything. However, executing make in the MITK-superbuild also could >> not find makefiles. So, it looks like a mess is developing on my system.... >> >> Any help would be much appreciated, Hans >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> mitk-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/mitk-users >> >> > > ------------------------------------------------------------------------------ _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
