[Insight-users] A challenge to all Windows users
Michael Jackson
mike.jackson at bluequartz.net
Tue Dec 22 16:43:10 EST 2009
Well,
I have setup Windows XP, Windows 7, Windows 7 Pro, Windows 7
Ultimate all from scratch with that exact recipe and I never have any
problems. Your case may be different. I know it works on the clean
systems that I setup. You may have to "fill in some blanks" but the
basic approach is sound. Note in the recipe that there is NOT one
usage of the terminal or command prompt or setting of environment
variables. It does all "just work"**
--
Mike Jackson <www.bluequartz.net>
** If you install both 32 and 64 bit versions on a single system and
want to build both 32 and 64 bit apps against one or the other, then
there are some tricks that help out. We are "not there yet" with your
setup.
On Dec 22, 2009, at 4:19 PM, URI wrote:
>
> Michael-
>
> Thanks for the response. Did you take the challenge and build this
> from
> scratch on a test system?
>
> Also, can you point me to where you got Free Visual Studio Express?
> I don't
> want to grab the wrong thing by accident.
>
>
>
>
> Michael Jackson wrote:
>>
>> I would start off by downloading the Free Visual Studio Express. You
>> can only build 32 bit apps with it** but it is known to work for ITK
>> and CMake.
>>
>> Download the Prebuilt Binary for CMake from CMake.org
>> Install it (Take all the defaults)
>> Download and install VS Express 2008. Use all the defaults for
>> installation.
>>
>> Download and uncompress ITK from sourceforge link. Make sure the
>> directory where ITK is uncompressed is C:\InsightToolkit-3.16.0
>>
>> Launch "CMake-Gui.exe"
>>
>> Fill in the "Where is the Source Code" C:\InsightToolkit-3.14.0
>> Fill in the "Where to build the binaries" C:
>> \InsightToolkit-3.14.0\i386
>>
>> Click the "Configure Button", a new dialog will appear. Select the
>> "Visual Studio 2008" Generator. Click OK. Let that go for a while. Go
>> get some coffee. When you come back click the "Generate" button. When
>> that is finished, use "Windows Explorer" to open up C:
>> \InsightToolkit-3.14.0\i386. Double click "ITK.sln". After Visual
>> Studio Launches, there will be an "ALL BUILD" project down the left
>> side. Right click on that, and select "Build" from the menu. Go get
>> lunch. Come back and ITK is built.
>>
>>
>>
>> _________________________________________________________
>> Mike Jackson mike.jackson at bluequartz.net
>> BlueQuartz Software www.bluequartz.net
>> Principal Software Engineer Dayton, Ohio
>>
>> On Dec 22, 2009, at 12:03 PM, URI wrote:
>>
>>>
>>> Hello all-
>>>
>>> Many of you have probably been following my epic struggles to get
>>> ITK
>>> working under Windows in another thread. I have decided that the
>>> solution
>>> to my problem might be more forthcoming if I issue a challenge to
>>> all the
>>> Windows users out there.
>>>
>>> I realize that many of you have ITK up and running and you have no
>>> problems
>>> compiling it. My guess is that you got your systems set up and
>>> worked out
>>> the bugs when you started and have just been cruising along since
>>> then. I
>>> am trying to get ITK working for the first time and have had nothing
>>> but
>>> trouble, and even after sorting out some major mistakes caused by my
>>> inexperience my errors seem to be confusing to the people who are
>>> trying to
>>> help me. So this brings me to the challenge.
>>>
>>> I would like some of you Windows users to start fresh on a computer
>>> that has
>>> never had ITK or CMake or MinGW or any of that stuff on it and get
>>> ITK
>>> running from scratch, and then tell me step by step what you have
>>> done. The
>>> reason I ask you to start with a system that has never had any of
>>> these
>>> programs installed is in case there are any hidden configuration
>>> issues that
>>> are already set on your existing systems (environment variables,
>>> registry
>>> settings, anything like that).
>>>
>>> I have tried to get ITK working on two different systems, the
>>> first is
>>> 64-bit Windows 7 and the second is 32-bit Windows XP SP3. I don't
>>> have any
>>> particular affinity for any specific compiler, I have been trying to
>>> use
>>> MinGW but if there is something else that works (preferably free) I
>>> am open
>>> to anything. I think maybe this would be easier than me saying "Ok,
>>> now I'm
>>> getting this error" and having people try to figure out what I've
>>> done
>>> wrong.
>>>
>>> If someone can accept the challenge please respond with the steps
>>> you used
>>> to get ITK up and running from scratch, including things like:
>>>
>>> 1) where you downloaded the installation files
>>> 2) what settings you used when installing each program
>>> 3) what changes you made (if any) to your PATH variable
>>> 4) the directory names you used when installing
>>> 5) how you configured CMake (i.e. which directory did you use for
>>> your
>>> source and bin directories; what variable settings did you use)
>>>
>>>
>>> Basically everything and anything that could potentially cause a
>>> problem if
>>> not done correctly by a novice. I can't believe that I'm the only
>>> open
>>> source/CMake/ITK novice who has run into these problems, and so I
>>> think lots
>>> of people would benefit from these sort of instructions.
>>> --
>>> View this message in context:
>>> http://n2.nabble.com/A-challenge-to-all-Windows-users-tp4204581p4204581.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/A-challenge-to-all-Windows-users-tp4204581p4205836.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