[ITK-users] [ITK] Linker errors on example
Ricky Singla
rsingla92 at gmail.com
Thu May 1 19:43:38 EDT 2014
Hi all,
I'm experiencing difficulty building one of the examples - in particular it
is the Snakes one found here :
http://www.itk.org/Wiki/ITK/Examples/ImageSegmentation/ExtractContourWithSnakes
I've checked out, configured, generated (via cmake-gui) and built ITK 4.5
successfully. The generator used was Visual Studio 9 2008 with default
settings.
After downloading the .tar and extracting it, I configured and generated
the ExtractContourWithSnakes successfully with Visual Studio 11. No
modifications were made to the example's CMake, and it did find my ITK_DIR
successfully.
When building the solution however, I encounter LNK 2001 errors regarding
unresolve external symbols. These are with several files. Some of those
files are:
- ITKCommon-4.5.lib(itkProcessObject.obj)
- ITKCommon-4.5.lib(itkMetaDataDictionary.obj)
- ITKIOMRC-4.5.lib(itkMRCImageIO.obj)
- itkvnl-4.5.lib(vnl_matrix+uchar-.obj)
- itksys-4.5lib(SystemTools.obj)
and so on. I haven't seen a repeat of this question with an answer before,
and am hoping someone can point out what's wrong here. I'm working on a
Windows 7 machine, trying to build in 32bit.
A similar linker error occurs on another project, with similar settings to
the example, leading me to believe it's either an issue with the
generators, the ITK build I have, or my PATH.
Any idea?
Thank you.
Cheers,
Ricky Singla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140501/7c8b135f/attachment.html>
More information about the Insight-users
mailing list