Le 07/11/2015 02:25, Kislinskiy, Stefan a écrit :
Hi,
having problems with patch.exe is a strong indicator for using the MITK Linux
tarball instead of the Windows zip file. Please make sure you use the latter on
Windows.
Best,
Stefan
Thanks Stefan
I just discover it !
Previously I was making 2 mistakes that SHOULD be mentionned in BOLD on
the Build Wiki
1-
for Windows users, please download :
MITK-2015.05.2-src-win.zip
http://downloads.sourceforge.net/project/mitk/MITK-2015.05.2/MITK-2015.05.2-src-win.zip
and not the src for Linux
http://www.mitk.org/download/releases/MITK-2015.05.2/MITK-2015.05.2-src.tar.gz
2.-
Use QT 5.4.2 and not 5.5.x as there are problems with CTK among others
modules...
http://download.qt.io/archive/qt/5.4/5.4.2/qt-opensource-windows-x86-msvc2013_64-5.4.2.exe
I am compiling right now, I will se if there are still errors
This takes a while...
Best regards
Lotfi
________________________________________
Von: Lotfi BAGHLI [[email protected]]
Gesendet: Freitag, 6. November 2015 19:40
An: [email protected]
Betreff: [mitk-users] patch-2.5.9 on Windows crashs on cmake files because
of CR LF
Hi All
I am new to MITK and I have problems while compiling MITK-2015.05.2
I have Windows 10
VS2013 Community update 5
CMAKE 3.3.1
e:\Qt\Qt5.5.1\5.5\msvc2013_64\lib\cmake\Qt5\
after CMAKE and while compiling
if I take the openCV example :
1>------ Build started: Project: OpenCV, Configuration: Debug x64 ------
1> Building Custom Rule c:/projets/img/MITK/MITK-2015.05.2/CMakeLists.txt
1> CMake does not need to re-run because
c:\projets\img\MITK\bin\CMakeFiles\generate.stamp is up-to-date.
1> Creating directories for 'OpenCV'
1> Performing download step (download, verify and extract) for 'OpenCV'
1> -- verifying file...
1> file='c:/projets/img/MITK/bin/ep/src/OpenCV-2.4.11.tar.gz'
1> -- verifying file... done
1> -- extracting...
1> src='c:/projets/img/MITK/bin/ep/src/OpenCV-2.4.11.tar.gz'
1> dst='c:/projets/img/MITK/bin/ep/src/OpenCV'
1> -- extracting... [tar xfz]
1> -- extracting... [analysis]
1> -- extracting... [rename]
1> -- extracting... [clean up]
1> -- extracting... done
1> No update step for 'OpenCV'
1> Performing patch step for 'OpenCV'
1> patching file cmake/OpenCVModule.cmake
1> Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
1>
1> This application has requested the Runtime to terminate it in an unusual
way.
1> Please contact the application's support team for more information.
1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006:
"cmd.exe" exited with code 3.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
in fact the problem is that the OpenCVModule.cmake is a UNIX format LF format
one (and CR LF on WIndows) and the patch.exe of patch-2.5.9-src on windows
can't found end of line
I didn't found another patch.exe utility that handles this
tried to change the OpenCVModule.cmake file format even in the .gz , but the
maker, download again the OpenCV-2.4.11.tar.gz if he find it different !
How can I act manualy on the make process in CMakeLists.txt to force a
patch -binary
in order to solve this
thanks
--
Bien cordialement,
Lotfi
--
Bien cordialement,
Lotfi BAGHLI
_____________________________________________________
*Lotfi BAGHLI*
*tel mobile :* (213) 555 00 74 79
e-mail : [email protected]
*Web* : http://www.baghli.com
_____________________________________________________
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users