[Insight-users] Problems building itk under MinGW

Bill Lorensen bill.lorensen at gmail.com
Tue Dec 8 09:00:53 EST 2009


Let's take small steps.

1) You should do all of your work from an Msys shell. It it is called
msys.bat. Can you start the msys shell?

Bill

On Tue, Dec 8, 2009 at 12:17 AM, URI <zallen at wheelinghospital.com> wrote:
>
> Bill-
>
> Basically I am just trying to get ITK working by following the instructions
> in Chapter 2 of the ITK Software Guide
> (http://www.itk.org/ItkSoftwareGuide.pdf), but it doesn't seem to be working
> for me.  Do you simply follow those instructions as written and it works?
>
>
>
> Bill Lorensen wrote:
>>
>> URI,
>>
>> I have changed the subject so that we can start from scratch with your
>> problem.
>>
>> What exactly are you trying to buiild? I build itk on mingw
>> frequently. I use the windows cmake.
>>
>> Bill
>>
>> On Tue, Nov 24, 2009 at 8:00 PM, URI <zallen at wheelinghospital.com> wrote:
>>>
>>> I am getting the exact same error codes as the original poster.  I am
>>> using
>>> MinGW on a 64-bit Windows 7 machine.  I would like to try Dan's
>>> suggestion
>>> about using CMake 2.4 but I can't find anywhere to download it.  The only
>>> versions I can find on the CMake site
>>> (http://www.cmake.org/cmake/resources/software.html) are version 2.8 and
>>> 2.6.4.
>>>
>>>
>>>
>>> Hi Munther,
>>>
>>> It seems the "Hello World" application is not compatible with your
>>> version of CMake...
>>>
>>> Perhaps try CMake version 2.4.x? Anyone else on the list have ideas?
>>>
>>> Regards, Dan
>>>
>>> 2009/11/23 Gdeisat, Munther <M.A.Gdeisat at ljmu.ac.uk>:
>>>
>>>> ##########=================================
>>>> Check for working C compiler: cl
>>>>
>>>> Check for working C compiler: cl -- works
>>>>
>>>> Detecting C compiler ABI info
>>>>
>>>> Detecting C compiler ABI info - done
>>>>
>>>> Check for working CXX compiler: cl
>>>>
>>>> Check for working CXX compiler: cl -- works
>>>>
>>>> Detecting CXX compiler ABI info
>>>>
>>>> Detecting CXX compiler ABI info - done
>>>>
>>>> CMake Warning (dev) in CMakeLists.txt:
>>>>
>>>> No cmake_minimum_required command is present. A line of code such as
>>>>
>>>> cmake_minimum_required(VERSION 2.8)
>>>>
>>>> should be added at the top of the file. The version specified may be
>>>> lower
>>>>
>>>> if you wish to support older CMake versions for this project. For more
>>>>
>>>> information run "cmake --help-policy CMP0000".
>>>>
>>>> This warning is for project developers. Use -Wno-dev to suppress it.
>>>>
>>>> Looking for EnumProcesses in Psapi
>>>>
>>>> Looking for EnumProcesses in Psapi - not found
>>>>
>>>> Looking for mallinfo in malloc
>>>>
>>>> Looking for mallinfo in malloc - not found
>>>>
>>>> CMake Error at Common/CMakeLists.txt:163 (INSTALL):
>>>>
>>>> install TARGETS given no ARCHIVE DESTINATION for static library target
>>>>
>>>> "ITKCommon".
>>>>
>>>> CMake Error at Numerics/CMakeLists.txt:47 (INSTALL):
>>>>
>>>> install TARGETS given no ARCHIVE DESTINATION for static library target
>>>>
>>>> "ITKNumerics".
>>>>
>>>> CMake Error at Numerics/Statistics/CMakeLists.txt:21 (INSTALL):
>>>>
>>>> install TARGETS given no ARCHIVE DESTINATION for static library target
>>>>
>>>> "ITKStatistics".
>>>>
>>>> CMake Error at Numerics/FEM/CMakeLists.txt:169 (INCLUDE):
>>>>
>>>> include could not find load file:
>>>>
>>>> /CMake/itkCheckCXXAcceptsFlags.cmake
>>>>
>>>> CMake Error at Numerics/FEM/CMakeLists.txt:170
>>>> (itkCHECK_CXX_ACCEPTS_FLAGS):
>>>>
>>>> Unknown CMake command "itkCHECK_CXX_ACCEPTS_FLAGS".
>>>>
>>>> Configuring incomplete, errors occurred!
>>>>
>>>>
>>> --
>>> View this message in context:
>>> http://n2.nabble.com/no-subject-tp4031125p4062270.html
>>> Sent from the ITK Insight Users mailing list archive at Nabble.com.
>>> _____________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Kitware offers ITK Training Courses, for more information visit:
>>> http://www.kitware.com/products/protraining.html
>>>
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.itk.org/mailman/listinfo/insight-users
>>>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.html
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>>
>
> --
> View this message in context: http://n2.nabble.com/Problems-building-itk-under-MinGW-tp4104133p4130570.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list