Hi Miklos,
here is a quote from the end of the MITK build instructions:
=====================
To set CMake <http://docs.mitk.org/nightly-qt4/namespaceCMake.html>
options before the first configure step is invoked, either supply them
on the command line, i.e.
ccmake -DITK_DIR:PATH=/opt/ITK-release ../MITK
or add them in the CMake
<http://docs.mitk.org/nightly-qt4/namespaceCMake.html> GUI by pressing
"Add Entry" (before pressing "Configure" the first time).
=====================
MITK used to compile and run under MinGW, but we could not test MinGW
support recently. If you run into compile issues, let us know - or even
better, send patches :-)
Thanks,
Sascha
On 04/06/2011 06:14 PM, Miklos Espak wrote:
Hi,
I cloned the Git repository, and tried to build MITK.
I get the following error:
[ 81%] Building CXX object Code/Common/CMakeFiles/ITKCommon.dir/itkBarrier.obj
In file included from
c:/Sources/mitk-build/CMakeExternals/Source/ITK/Code/Common/itkConditionVariable.h:31:0,
from
c:/Sources/mitk-build/CMakeExternals/Source/ITK/Code/Common/itkBarrier.h:21,
from
c:/Sources/mitk-build/CMakeExternals/Source/ITK/Code/Common/itkBarrier.cxx:17:
c:/Sources/mitk-build/CMakeExternals/Source/ITK/Code/Common/itkMutexLock.h:50:16:
error: conflicting declaration 'typedef void* itk::MutexType'
c:/Sources/mitk-build/CMakeExternals/Source/ITK/Code/Common/itkMutexLock.h:46:25:
error: 'itk::MutexType' has a previous declaration as 'typedef struct
pthread_mutex_t_* itk::MutexType'
make[5]: *** [Code/Common/CMakeFiles/ITKCommon.dir/itkBarrier.obj] Error 1
make[4]: *** [Code/Common/CMakeFiles/ITKCommon.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [CMakeExternals/Stamp/ITK/ITK-build] Error 2
make[1]: *** [CMakeFiles/ITK.dir/all] Error 2
make: *** [all] Error 2
It seems that the problem is that the build process tries to build ITK
with pthread support, but it fails.
Actually, I have already built and installed both ITK and VTK with
win32 thread support.
The build instructions of MITK suggests that I set the ITK_DIR and
VTK_DIR variables, but they simply do not exist, not even between the
advanced options.
Does somebody have an idea how to get around this?
Thanks,
Miklos
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users