Hi Urban,

Regarding the solution not being there:
That is fine. Configuring/Generating the superbuild only creates a project for 
the superbuild itself. Third party toolkits are then configured and generated 
*during* the superbuild. So a solution file in that directory will only be 
available after running the superbuild.

Regarding the build error:
It seems there is an error during the patch step. Try running cmake with the 
CppUnit-build directory set as binary directory and narrow the error down that 
way.
Possible common problems are:
- You are using the linux line-ending tarball on Windows (Would be my first 
guess, see also [1])
- permissions are set to strict - patch cannot access the file (probably not on 
Windows)
- the antivirus is blocking access to scan it

Best,
Caspar

[1] http://sourceforge.net/p/mitk/mailman/message/34233529/

-----Ursprüngliche Nachricht-----
Von: Urban Simoncic [mailto:urban.simon...@gmail.com] 
Gesendet: Mittwoch, 5. August 2015 14:15
An: Goch, Caspar Jonas; 'mitk-users@lists.sourceforge.net'
Betreff: Re: AW: [mitk-users] Problem with building MITK 2015.05 on Win 7

Hi,

I tried to build CPPUnit project individually and I got the attached output.

When I generate MITK project with CMake, the directory 
MITK-build/ep/src/CppUnit-build is empty. Should be the CppUnit solution file 
there?

Thanks,
Urban

On 5.8.2015 10:27, Goch, Caspar Jonas wrote:
> Hi Urban,
>
> unless I am mistaken the cmake error log is just cmake testing whether some 
> compiler flags exist. (We do test for -rpath in the Superbuild.cmake, but you 
> do not need it to build MITK). Did you try building the failing projects 
> individually?
>
> Just go to YOURBUILD/ep/src/CppUnit-build and try to build the solution file 
> there. That should result in more helpful errors.
>
> Best,
> Caspar
>
> -----Ursprüngliche Nachricht-----
> Von: Urban Simoncic [mailto:urban.simon...@gmail.com]
> Gesendet: Dienstag, 4. August 2015 13:20
> An: mitk-users@lists.sourceforge.net
> Betreff: [mitk-users] Problem with building MITK 2015.05 on Win 7
>
> Hi,
>
> I have problems with building MITK 2015.05 on Win 7 64bit and MSVC 2012.
> The problem appears already in CMake configuration phase - CMake error log 
> file in line 225 (attached) says there is an error, which I am not able to 
> locate and solve. Nevertheless, CMake Gui says the configuration and 
> generation is done, but building process ends up with errors like
> "Error    1    error MSB6006: "cmd.exe" exited with code 3.
> C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 172
> 5    CppUnit"
>
> Is anything wrong with my configuration in CMake?
>
> Thanks in advance,
> Urban
>
>
>

------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to