thank you stefan

as answer to all your question i m using my teacher tutorial that i
will translate for you in points:

requirements :
 - MITK-2015.05.2-src-win.zip
http://downloads.sourceforge.net/project/mitk/MITK-2015.05.2/MITK-2015.05.2-src-win.zip
 ==> the  MITK source i m using

-  QT5.4
http://download.qt.io/archive/qt/5.4/5.4.2/qt-opensource-windows-x86-msvc2013_64-5.4.2.exe

-VS2013 update 5 version Community

- CMAKE GUI 3.3.1


steps:

put the src of MITK in c:/MITK/MITK-2015.05.2
use c:/MITK/MITK-superbuild as folder where you make mitk using cmake

CMAKE config:
QT5.4
CMAKE_PREFIX_PATH        c:\Qt\Qt5.4.2\5.4\msvc2013_64\lib\cmake\Qt or
where you installed it

check MITK_BUILD_EXAMPLES
check OpenCV

generate the project using cmake
then build the sln in c:/MITK/MITK-superbuild   <== i m blocked here

once the build done
make the project in c:\MITK\MITK-superbuild\MITK-build\  then build
the sln with StartVS_release.bat  or  version debug


2016-02-02 19:44 GMT+01:00 Kislinskiy, Stefan <s.kislins...@dkfz-heidelberg.de>:
> Please keep the conversation on the list.
>
> We need more information to help you, for example, which version of MSVC are 
> you using? Which options did you set when CMaking? Also it seems like you set 
> the build directory inside the MITK source tree? MITK is designed to be built 
> out of its source tree.
>
> Best regards,
> Stefan
> ________________________________________
> Von: Mohammed Housseyn TALEB [mh.ta...@naltis.com]
> Gesendet: Dienstag, 2. Februar 2016 19:32
> An: Kislinskiy, Stefan
> Betreff: Re: [mitk-users] build issues
>
> Hi stefan I corrected the first issue by using the correct windows
> mitk version now i m facin this one of :
>
> 1>  "C:\MITK\MITK-superbuild\ep\src\GDCM-build\ALL_BUILD.vcxproj"
> (default target) (1) ->
> 1>  
> "C:\MITK\MITK-superbuild\ep\src\GDCM-build\Source\DataDictionary\gdcmDICT.vcxproj"
> (default target) (4) ->
> 1>  
> "C:\MITK\MITK-superbuild\ep\src\GDCM-build\Source\DataStructureAndEncodingDefinition\gdcmDSED.vcxproj"
> (default target) (5) ->
> 1>  
> "C:\MITK\MITK-superbuild\ep\src\GDCM-build\Utilities\gdcmzlib\gdcmzlib.vcxproj"
> (default target) (6) ->
> 1>  (ResourceCompile target) ->
> 1>C:\MITK\MITK-superbuild\ep\src\GDCM\Utilities\gdcmzlib\zlib.rc(7):
> error RC2104: undefined keyword or key name: VS_FFI_FILEFLAGSMASK
> [C:\MITK\MITK-superbuild\ep\src\GDCM-build\Utilities\gdcmzlib\gdcmzlib.vcxproj]
> 1>
> 1>      46 Warning(s)
> 1>      1 Error(s)
> 1>
> 1>  Time Elapsed 00:00:21.71
> 1>  The command exited with code 1.
> 1>Done executing task "CustomBuild" -- FAILED.
> 1>Done building target "CustomBuild" in project "GDCM.vcxproj" -- FAILED.
> 1>
> 1>Build FAILED.
> 1>
> 1>Time Elapsed 00:01:04.85
> ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
>
> 2016-02-02 9:56 GMT+01:00 Kislinskiy, Stefan 
> <s.kislins...@dkfz-heidelberg.de>:
>> Hi,
>>
>> your build failed because patch.exe failed. That happens when it processes 
>> files with Unix style line endings. If you downloaded our source tarball, 
>> you have to chose the Windows version. If you used git to checkout our code, 
>> you have to configure git to checkout with Windows line endings (and checkin 
>> with Unix line endings).
>>
>> Best regards,
>> Stefan
>> ________________________________________
>> Von: Mohammed Housseyn TALEB [mh.ta...@naltis.com]
>> Gesendet: Montag, 1. Februar 2016 23:52
>> An: Karim BOUABDALLAH; Lotfi BAGHLI; mitk-users@lists.sourceforge.net
>> Betreff: [mitk-users] build issues
>>
>>  Performing download step (download, verify and extract) for 'CppUnit'
>> 2>  -- verifying file...
>> 2>       file='C:/M-b/ep/src/cppunit-1.12.1.tar.gz'
>> 2>  -- verifying file... done
>> 2>  -- extracting...
>> 2>       src='C:/M-b/ep/src/cppunit-1.12.1.tar.gz'
>> 2>       dst='C:/M-b/ep/src/CppUnit'
>> 2>  -- extracting... [tar xfz]
>> 2>  -- extracting... [analysis]
>> 2>  -- extracting... [rename]
>> 2>  -- extracting... [clean up]
>> 2>  -- extracting... done
>> 2>  No update step for 'CppUnit'
>> 2>  Performing patch step for 'CppUnit'
>> 2>  patching file src/cppunit/TypeInfoHelper.cpp
>> 2>  Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
>> 2>
>> 2>  This application has requested the Runtime to terminate it in an
>> unusual way.
>> 2>  Please contact the application's support team for more information.
>> 2>C:\Program Files
>> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(169,5):
>> error MSB6006: "cmd.exe" exited with code 3.
>> 2>Done executing task "CustomBuild" -- FAILED.
>> 2>Done building target "CustomBuild" in project "CppUnit.vcxproj" -- FAILED.
>> 2>
>> 2>Build FAILED.
>> 2>
>> 2>Time Elapsed 00:00:02.75
>> ========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========
>>
>> Hi
>>
>> when i try to build the MITK, i get this error report.
>> would you help me to resolve this problem.
>>
>> after some research: i think that is due to a bad path or may be my VS
>> MSbuild version (V4.0).
>> the code of cppCommon in(169,5) is :
>> <PropertyGroup>
>>       <CustomBuildToolArchitecture
>> Condition="'$(CustomBuildToolArchitecture)' ==
>> ''">Native32Bit</CustomBuildToolArchitecture>
>>     </PropertyGroup>
>>
>>     <CustomBuild
>>       Sources                     ="@(CustomBuild)"
>>       BuildSuffix                 ="$(_BuildSuffix)"
>>
>>       TrackerLogDirectory         ="%(CustomBuild.TrackerLogDirectory)"
>>       MinimalRebuildFromTracking  
>> ="%(CustomBuild.MinimalRebuildFromTracking)"
>>
>>       TLogReadFiles               ="@(CustomBuildTLogReadFiles)"
>>       TLogWriteFiles              ="@(CustomBuildTLogWriteFiles)"
>>       TrackFileAccess             ="$(TrackFileAccess)"
>>       ToolArchitecture            ="$(CustomBuildToolArchitecture)"
>>       TrackerFrameworkPath        ="$(CustomBuildTrackerFrameworkPath)"
>>       TrackerSdkPath              ="$(CustomBuildTrackerSdkPath)"
>>
>>       AcceptableNonZeroExitCodes  
>> ="%(CustomBuild.AcceptableNonZeroExitCodes)"
>>       >
>>     </CustomBuild>
>>
>>   </Target>
>> but i dont real think that is the cause .
>>
>> thanks
>>
>> ------------------------------------------------------------------------------
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>> _______________________________________________
>> mitk-users mailing list
>> mitk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to