No subject


Fri Jan 14 08:05:08 EST 2011


I did not submit a bug report/patch for this issue.
    http://www.itk.org/mailman/private/insight-developers/2011-January/0167=
54.html
    http://public.kitware.com/Bug/view.php?id=3D11659

HTH

Cheers, Dan

On 9 February 2011 02:10, Seth Gilchrist <seth at mech.ubc.ca> wrote:
> Hello all,
> I have been using ITK in Linux without trouble, however, my colleagues
> prefer to work in a Windows environment and have asked if I can port my
> code.=A0 I am reluctant to do addition coding for this and have looked fo=
r a
> direct rout.=A0 From reading it seems like cygwin is a good way to go, bu=
t I'm
> having trouble compiling itk.=A0 I get all the way to 97% complete and er=
ror
> out with the message:
>
> [ 96%] Built target ITKIO
> Scanning dependencies of target itkTestDriver
> [ 97%] Building CXX object
> Code/IO/CMakeFiles/itkTestDriver.dir/itkTestDriver.o
> Linking CXX executable ../../bin/itkTestDriver.exe
> ../../bin/libITKCommon.a(itkWin32OutputWindow.o):itkWin32OutputWindow.cxx=
:(.text
> +0x262): undefined reference to `_GetStockObject at 4'
> collect2: ld returned 1 exit status
> make[2]: *** [bin/itkTestDriver.exe] Error 1
> make[1]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/all] Error 2
> make: *** [all] Error 2
>
> I have looked for a solution to this and it seems that most people with t=
his
> error are writing their own make files, rather than using cmake to genera=
te
> them.=A0 My best guess is that there is an additional package needed by
> cygwin, but I don't know which one.=A0 Can anybody recommend one to check=
?=A0 Or
> maybe somebody can recommend a better way to move my code from Linux to W=
in?
>
> Thanks for your time,
> Seth
> +--------------------------+
> WinXP Pro, Version 2002, SP3 Running in Virtualbox 3.2.12:
> CYGWIN_NT-5.1
> cmake 2.8.2
> gcc 4.3.4
> GNU ld 2.20.51.20100410
> _____________________________________
> 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