Hi Walter,

I've found a way to successfully build MITK on Win (it has worked well for
me, there might be another ways), therefor you need to check that you have
exactly the following versions installed in your computer:

- cmake 2.8.5
- Git 1.7.6
- Qt 4.7.3

 * In addition, check that Git is updated in the system's path.

try to cmake again and report your progress ...
Good Luck!


Miri


On Thu, Sep 22, 2011 at 4:45 PM, walter dastrĂ¹ <[email protected]>wrote:

> Hi,
>
> I just wanted to build MITK under VS2008 x64 in Win32 Release mode. I
> get compile errors when building ITK.
>
> 2>1>------ Build started: Project: ITKCommon, Configuration: Release
> Win32 ------
> 2>1>Compiling...
> 2>1>itkOneWayEquivalencyTable.cxx
> 2>1>itkEquivalencyTable.cxx
>
> 2>1>d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itkOneWayEquivalencyTable.h(60)
> : error C2976: 'itk::hash_map' : too few template arguments
> 2>1>
>  
> d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itk_hash_map.h(132)
> : see declaration of 'itk::hash_map'
>
> 2>1>d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itkEquivalencyTable.h(60)
> : error C2976: 'itk::hash_map' : too few template arguments
> 2>1>
>  
> d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itk_hash_map.h(132)
> : see declaration of 'itk::hash_map'
>
> 2>1>d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itkOneWayEquivalencyTable.h(61)
> : error C2955: 'itk::hash_map' : use of class template requires
> template argument list
> 2>1>
>  
> d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itk_hash_map.h(132)
> : see declaration of 'itk::hash_map'
>
> 2>1>d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itkEquivalencyTable.h(61)
> : error C2955: 'itk::hash_map' : use of class template requires
> template argument list
> 2>1>
>  
> d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itk_hash_map.h(132)
> : see declaration of 'itk::hash_map'
>
> 2>1>d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itkOneWayEquivalencyTable.h(62)
> : error C2955: 'itk::hash_map' : use of class template requires
> template argument list
> 2>1>
>  
> d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itk_hash_map.h(132)
> : see declaration of 'itk::hash_map'
>
> 2>1>d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itkEquivalencyTable.h(62)
> : error C2955: 'itk::hash_map' : use of class template requires
> template argument list
> 2>1>
>  
> d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itk_hash_map.h(132)
> : see declaration of 'itk::hash_map'
>
> 2>1>d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itkOneWayEquivalencyTable.h(63)
> : error C2955: 'itk::hash_map' : use of class template requires
> template argument list
> 2>1>
>  
> d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itk_hash_map.h(132)
> : see declaration of 'itk::hash_map'
>
> 2>1>d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itkEquivalencyTable.h(63)
> : error C2955: 'itk::hash_map' : use of class template requires
> template argument list
> 2>1>
>  
> d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itk_hash_map.h(132)
> : see declaration of 'itk::hash_map'
>
> 2>1>d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itkOneWayEquivalencyTable.h(84)
> : error C2663: 'itk::hash_map<Key,T,HashFcn,EqualKey,Alloc>::find' : 2
> overloads have no legal conversion for 'this' pointer
>
> 2>1>d:\walter\src\mitk_superbuild\cmakeexternals\source\itk\code\common\itkEquivalencyTable.h(124)
> : error C2955: 'itk::hash_map' : use of class template requires
> template argument list
> ...
>
> I chose Visual Studio 9 x32 in CMake when I generated the project files.
>
> Does somebody have an idea, what is going wrong?
>
> Thank you!
>
> Best regards,
> Walter DastrĂ¹
>
>
> Walter Dastru'
> Research Fellow
> Faculty of Pharmacy
> University of Torino
>
> Molecular Imaging Center - Via Nizza 52
> tel. +39-011-670 6477/6493
> fax +39-011-670 6487
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to