Mmmmm. The only thing I can think of is - you're using Qt 5.5 - and
given that I've seen the commit recently with comment saying something
like "fixing Qt 5.5 issues", likely 2015.05 wasn't ready for that.
If yes, just try Qt 5.4.*.
Rostislav.
On 07/08/2015 22:45, Urban Simoncic wrote:
Hi,
exchanging file CTK.cmake and adding CTK.patch to CMakeExternals
folder solved all CTK errors, but some MITK-build errors still
persists (see the attachments). Any idea why they are left?
Thanks,
Urban
On 6.8.2015 15:12, Rostislav Khlebnikov wrote:
Hi Urban,
It seems that you're building a debug version and it is the reason
for this problem - a variable in CTK code named DEBUG. My pull
request that fixes this problem for CTK was already merged, but MITK
doesn't yet use the version with it. What I did was modify my fork of
MITK to apply this pull request as a patch step for CTK. If you place
the attached files to CMakeExternals folder of MITK - it should solve
the problem. Or if it doesn't it will save you time when building the
debug version so it's worth it either way :)
Rostislav.
On 06/08/2015 00:41, Urban Simoncic wrote:
Hi,
I was using linux line-ending tarball on Windows. But I am still not
successful at building MITK. Now it pops up plenty of errors that
seem to be related with CTK, most likely with some wrong path. Error
log from MSVC is attached.
Thanks,
Urban
On 5.8.2015 15:45, Goch, Caspar Jonas wrote:
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
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users