Usually it is enough to install the standard packages for these dependencies
without any hints via the PATH variable. On Ubuntu 14.04 this is:
sudo apt-get install mesa-common-dev libglu1-mesa-dev libtiff5-dev libwrap0-dev
libxt-dev libxi-dev
Best,
Stefan
________________________________
Von: Marco Pizzolato <[email protected]>
Gesendet: Dienstag, 25. Juli 2017 17:37
An: Dinkelacker, Stefan
Cc: Neher, Peter; [email protected]
Betreff: Re: [mitk-users] Error during build of MITK
Hi Stefan,
Thank you very very much!!
I think your guess was very right. So in ccmake I actually manually set all of
the qt libraries to the 5.9.1 version I installed.
Actually now it does not give me that error but i gives me the following:
[ 20%] Linking CXX shared library ../../lib/libMitkDICOMReader.so
/usr/bin/cmake: /home/marco/installations/anaconda2/lib/libcurl.so.4: no
version information available (required by /usr/bin/cmake)
/usr/bin/ld: cannot find -ltiff
collect2: error: ld returned 1 exit status
make[5]: *** [lib/libMitkDICOMReader.so] Error 1
make[4]: *** [Modules/DICOMReader/CMakeFiles/MitkDICOMReader.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [CMakeFiles/MITK-build] Error 2
make[1]: *** [CMakeFiles/MITK-build.dir/all] Error 2
make: *** [all] Error 2
I understand that the linker "ld" is not finding -ltiff. Actually I thought I
simply had to indicate where to find it in my laptop so I modified the .bashrc
by adding
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/marco/installations/anaconda2/lib
to my .bashrc which now is
# added by Anaconda2 4.3.0 installer
export PATH="/home/marco/installations/anaconda2/bin:$PATH"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/marco/installations/anaconda2/lib
Indeed in /home/marco/installations/anaconda2/lib there is the libtiff.so.
However, no luck..
Do you have any ideas?
Thank you again,
Marco
2017-07-25 15:41 GMT+02:00 Dinkelacker, Stefan
<[email protected]<mailto:[email protected]>>:
Regarding the build issue I can only guess that you mix two versions of Qt,
like system Qt that comes with your Linux distribution and the manual installed
version. You most probably need the latter one. Make sure that you check both
“Web Engine” and “QtScript (deprecated)”. These modules are unchecked by
default. Before the first configuring with CMake, add the CMake-Variable
CMAKE_PREFIX_PATH to the Cache, pointing to the manually installed Qt location,
i.e., something like “/opt/Qt/5.9.1/gcc_64”. Note that it is the base path, not
the bin path. This works only if you do it BEFORE the first configuring.
Otherwise, some of the Qt-Variables will be populated by the system-version of
Qt again and again.
From: Neher, Peter
Sent: Dienstag, 25. Juli 2017 15:30
To: Marco Pizzolato; Dinkelacker, Stefan
Cc: [email protected]<mailto:[email protected]>
Subject: AW: [mitk-users] Error during build of MITK
@Stefan I think the issue is independent of diffusion. He simply can't build
the current MITK master.
The not working diffusion-application is an independent issue.
Peter
________________________________
Von: Marco Pizzolato <[email protected]<mailto:[email protected]>>
Gesendet: Dienstag, 25. Juli 2017 13:33
An: Dinkelacker, Stefan
Cc: [email protected]<mailto:[email protected]>
Betreff: Re: [mitk-users] Error during build of MITK
Dear Stefan,
Thank you very much for your reply.
I have downloaded the software at the link you specified, which is a running
version of MITK. When I run it in the shell
./MitkDiffusion.sh
I get the following error
/home/marco/Installations/MITK-Diffusion-2017.07-linux64/bin/MitkDiffusion:
relocation error:
/home/marco/Installations/MITK-Diffusion-2017.07-linux64/bin/libitkvnl-4.11.so<http://libitkvnl-4.11.so>.1:
symbol _ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE, version
GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
Anyway, I had tried to compile from source with the latest version of MITK and
still the same exact error occurs. Can it be something that has to do with
standard configuration requirements that I do not have?
Thank you very much,
Marco
2017-07-25 12:08 GMT+02:00 Dinkelacker, Stefan
<[email protected]<mailto:[email protected]>>:
Hi,
MITK Diffusion 14.10 is a rather old release which is probably still based on
Qt 4. Did you notice that there is a very recent release of MITK Diffusion? -
17.07 [1]. You find the release announcement mail from Peter Neher in this
mailing list (Mo, 17.07.).
Best,
Stefan
[1] http://mitk.org/download/releases/MITK-Diffusion-2017.07/
________________________________
Von: Marco Pizzolato <[email protected]<mailto:[email protected]>>
Gesendet: Dienstag, 25. Juli 2017 10:13
An: [email protected]<mailto:[email protected]>
Betreff: [mitk-users] Error during build of MITK
Hi everybody,
I am quite new in MITK so sorry for any eventual obvious thing I might be
asking.
I am trying to build (super-build) the MITK Diffusion version 14.10.02 on my
laptop with Linux Mint 17 (Ubuntu 14.04), but I find some issues. This is what
I do:
1. ccmake ../MITK
2. i updated g++ and gcc to the version 4.9
3. i figure out all of the dependencies, actually it asks always for Qt
web engine path
Could not find a package configuration file provided by
"Qt5WebEngineWidgets" with any of the following names:
Qt5WebEngineWidgetsConfig.cmake
qt5webenginewidgets-config.cmake
so I point it to the right folder.
4. when ccmake does not give me configuration errors I just press "g" to
generate and close: here is a bit weired because it shows
me no output (no text written after the end of the configuration)
5. then I do "make" and I get this issue
[ 85%] Linking CXX shared library
../../../../bin/libCTKCommandLineModulesFrontendQtGui.so
/usr/bin/ld:
/home/marco/installations/anaconda2/lib/libQt5UiTools.a(quiloader.o):
unrecognized relocation (0x2a) in section `.text'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[8]: *** [bin/libCTKCommandLineModulesFrontendQtGui.so.0.1.0]
Error 1
make[7]: ***
[Libs/CommandLineModules/Frontend/QtGui/CMakeFiles/CTKCommandLineModulesFrontendQtGui.dir/all]
Error 2
make[6]: *** [all] Error 2
make[5]: *** [CTK-prefix/src/CTK-stamp/CTK-build] Error 2
make[4]: *** [CMakeFiles/CTK.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [ep/src/CTK-stamp/CTK-build] Error 2
make[1]: *** [CMakeFiles/CTK.dir/all] Error 2
make: *** [all] Error 2
do you have an idea of what can I do? I have tried many solutions I have found
on google, such as installing missing packages, but nothing seems to work.
Thank you very much in advance,
Marco
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users