[Insight-users] A challenge to all Windows users
Mike Jackson
mike.jackson at bluequartz.net
Thu Dec 24 08:32:04 EST 2009
As we have stated in past posts, you are simple NOT selecting the
correct directory for the "Where the source files are". That directory
should be the top most directory in the ITK structure that contains a
CMakeLists.txt file. You did not select that. Delete the
C:\InsightToolkit* directory structure and unzip it again. Once you
run CMake on the wrong directory it can be difficult to remove all
traces of the CMake generated files. This is what your current errors
are all about.
Try again. Oh, And get the MinGW installation fixed.
_________________________________________________________
Mike Jackson mike.jackson at bluequartz.net
On Thu, Dec 24, 2009 at 5:40 AM, URI <zallen at wheelinghospital.com> wrote:
>
> Kevin-
>
> After reading this more closely I found an error that I made. I unzipped
> the Insight source to C:\InsightToolkit-3.16.0, which is also the location
> that I entered in the "Where is the source code" box in CMake. I see that
> you actually used the InsightToolkit-3.16.0 directory that is inside this
> directory, which for my system is
> C:\InsightToolkit-3.16.0\InsightToolkit-3.16.0
>
> However, if I use the C:\InsightToolkit-3.16.0\InsightToolkit-3.16.0
> directory as the source directory in CMake I get the error:
>
> CMake Error: The source
> "C:/InsightToolkit-3.16.0/InsightToolkit-3.16.0/CMakeLists.txt" does not
> match the source "C:/InsightToolkit-3.16.0/CMakeLists.txt" used to generate
> cache. Re-run cmake with a different source directory.
>
>
>
> Kevin H. Hobbs wrote:
>>
>> On 12/23/2009 11:38 AM, URI wrote:
>>>
>>>
>>> Let me ask you for a few more specifics in your instructions:
>>>
>>> 1. You said "I installed mingw with the c++ compiler added to the
>>> default
>>> options." Please tell me all options that you selected. When I run the
>>> installer the only default that is selected is "MinGW base tools", so
>>> that
>>> means the only things I had selected were "MinGW base tools" and "g++
>>> compiler".
>>
>> That's correct. I added the C++ compiler to the default options.
>>
>>>
>>> 2. To what directory did you install CMake?
>>
>> I installed CMake in it's default location: "C:\Program Files\CMake 2.8"
>>
>> The default for me is
>>> “C:\Program Files (x86)\CMake 2.8”, should I use this?
>>>
>>
>> The default should be fine.
>>
>>
>>> 3. When you unzipped the Insight source, where did you put it?
>>>
>>
>> C:\Users\hooper\Desktop
>>
>>> 4. What is the exact name and path of the build directory you used?
>>>
>>
>> C:\Users\hooper\Desktop\InsightToolkit-3.16.0\Build
>>
>>> 5. When configuring CMake you said
>>
>> I was in the CMake GUI.
>>
>> "I browsed to the Insight source
>>> directory." Please specify exactly which directory you used. It seems
>>> like
>>> it should be obvious, but I have made mistakes here in the past.
>>
>> I browsed to the directory :
>> C:\Users\hooper\Desktop\InsightToolkit-3.16.0\InsightToolkit-3.16.0
>>
>>>
>>> 6. After hitting "Configure" you say to choose "MinGW MakeFiles". I also
>>> see four options to choose from: Use default native compilers, Specify
>>> native compiler, etc. The first one is the default, is this what you
>>> used?
>>>
>>
>> Yes.
>>
>>
>>
>> _____________________________________
>> 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/A-challenge-to-all-Windows-users-tp4204581p4212743.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