[IGSTK-Users] Problem to compite IGSTK Visual C++ 6.0
Patrick Cheng
cheng at isis.georgetown.edu
Thu Mar 27 11:20:59 EDT 2008
Hi Julio Daniel,
The configurations of these libraries look fine. I suggest that you
check two places for possible problems:
1. Make sure that the library files (*.lib) are in the ITK and VTK's
binary directory
2. Make sure that you use the same build mode for all the libraries.
CMake will put libraries of Debug build into "Binary_DIR/bin/debug" and
Release build into "Binary_DIR/bin/release".
If you build ITK 'Only' under Rlease mode and then try to build IGSTK
under Debug, it will generate the kind of error messages you had,
because CMake will look into the "Binary_DIR/bin/debug" of ITK for
libraries but they are not there.
If you want to switch between debug and release build in your IGSTK
project, you should build ITK, VTK, and FLTK for both debug and release.
Also, for FLTK, it's better to use the CMake to generate the work space
file, and build the library using that.
Again, it will be difficult for us to help you debug the problem here,
because we don't have Visual C++ 6.0 and can't replicate the problem. We
strongly suggest you to use the 2003 or 2005 version so that we can
better assist you.
Thank you,
Patrick
Daniel Gil wrote:
> Hi Patrick,
>
> Yes i set the correct ITK binary directory.
>
> I send you the CMakeCache.txt of IGSTK (IGSTKCMakeCache.txt),
> the CMakeCache.txt of ITK (ITKCMakeCache.txt), and the CMakeCache.txt of vtk
> (VTKCMakeCache.txt).
>
>
> Thanks for your help.
>
> Julio Daniel.
>
>
>
>
>
>
> */Patrick Cheng <cheng at isis.georgetown.edu>/* wrote:
>
> Hi Julio Daniel,
>
> Did you set the correct ITK binary directory when configuring IGSTK
> using CMake? Can you send us the CMakeCache.txt file in the IGSTK
> binary
> directory and also the system paths of your ITK and FLTK binary
> directory?
>
> The IGSTK team has officially given up support the Vistual C++ 6.0
> compiler since a year ago, meaning we don't have nightly build machine
> to test the library under this compiler.
>
> You can check out the testing results on our dashboard:
> http://public.kitware.com/dashboard.php?name=igstk
>
> Thank you,
>
> Patrick
>
> Daniel Gil wrote:
> > Hi,
> >
> > T am new IGSTK user. I have compilated fltk 1.1.7, vtk-5.0.4, and
> > InsightToolkit-3.4.0 with no errors. but i have a lot errors when
> i try
> > to compile IGSTK. A part of th erros is:
> >
> > D:\Libraries\IGSTK\IGSTK-3.0\Source\igstkObject.h(117) : error
> C2027:
> > use of undefined type 'Object'
> > D:\Libraries\IGSTK\IGSTK-3.0\Source\igstkObject.h(40) : see
> > declaration of 'Object'
> > D:\LIBRAR~1\ITK\INSIGH~1.0\Code\Common\itkConceptChecking.h(509)
> : error
> > C2653: 'Detail' : is not a class or namespace name
> > D:\LIBRAR~1\ITK\INSIGH~1.0\Code\Common\itkConceptChecking.h(519)
> > : see reference to class template instantiation 'Signed' being
> compiled
> > D:\LIBRAR~1\ITK\INSIGH~1.0\Code\Common\itkConceptChecking.h(509)
> : error
> > C2143: syntax error : missing ';' before '<'
> > D:\LIBRAR~1\ITK\INSIGH~1.0\Code\Common\itkConceptChecking.h(519)
> > : see reference to class template instantiation 'Signed' being
> compiled
> > D:\LIBRAR~1\ITK\INSIGH~1.0\Code\Common\itkConceptChecking.h(509)
> : error
> > C2059: syntax error : '<'
> > D:\LIBRAR~1\ITK\INSIGH~1.0\Code\Common\itkConceptChecking.h(519)
> > : see reference to class template instantiation 'Signed' being
> compiled
> > D:\LIBRAR~1\ITK\INSIGH~1.0\Code\Common\itkConceptChecking.h(509)
> : error
> > C2238: unexpected token(s) preceding ';'
> >
> > I don't understand.
> > anybody can help me?
> >
> > thanks.
> >
> > Julio Daniel
> >
> >
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------
> > Be a better friend, newshound, and know-it-all with Yahoo!
> Mobile. Try
> > it now.
> >
> > >
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > IGSTK-Users mailing list
> > IGSTK-Users at public.kitware.com
> > http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
>
>
> ------------------------------------------------------------------------
> Never miss a thing. Make Yahoo your homepage.
> <http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
>
More information about the IGSTK-Users
mailing list