[ITK-users] [ITK] Linker errors on example
Ricky Singla
rsingla92 at gmail.com
Thu May 1 21:20:33 EDT 2014
Yes sorry. Everything is built in debug.
On May 1, 2014 5:07 PM, "Bill Lorensen" <bill.lorensen at gmail.com> wrote:
> Are you building the example with the same build configuration (debug,
> release, etc) that you built ITK?
> On May 1, 2014 7:44 PM, "Ricky Singla" <rsingla92 at gmail.com> wrote:
>
>> 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
>>
>>
>> _____________________________________
>> 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.php
>>
>> 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
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140501/97875e34/attachment.html>
More information about the Insight-users
mailing list