[Insight-users] fatal error LNK1104: cannot open file 'ITKBasicFilters.obj'

Xiaoxiao Liu xiaoxiao.liu at kitware.com
Wed Mar 20 10:18:12 EDT 2013


Remove   "//ITKBasicFilters " ( "//" is a typo?), it should work for you.
${ITK_LIBRARIES} contains all the ITK libraries.

More examples can be found :
http://www.itk.org/Wiki/ITK/Examples



On Wed, Mar 20, 2013 at 12:37 AM, Yuan <kimonao at 163.com> wrote:

> when i build a project using ITK and VTK togeter.
> i got such an error:  fatal error LNK1104: cannot open file
> '\\ITKBasicFilters.obj'
>
> but when i searched this file in  D:/itk-bin, i got nothing.
> Could anyone give me some advices?!
>
> the last of the  cmakefile is as following:
>
> ADD_EXECUTABLE( ${PROJECT_NAME}
>                 ${${PROJECT_NAME}_SRCS}
>                 ${${PROJECT_NAME}_UIS_H}
>                 ${${PROJECT_NAME}_MOC_SRCS}
>                 ${${PROJECT_NAME}_RCCS}
>               )
>
> TARGET_LINK_LIBRA RIES ( ${PROJECT_NAME}
>    QVTK
>   #ITKIO
>   ${VTK_LIBRARIES} ${ITK_LIBRARIES}
>   //ITKBasicFilters
>   )
>
>
>
>
> _____________________________________
> 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
>
>


-- 


---------------------------------------------
*Xiaoxiao Liu*, Ph.D.
R & D Engineer
Kitware Inc <http://www.kitware.com/>.
Clifton Park, NY
Phone: (518) 881-4924  or  (518) 371-3971 x124
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130320/cf18c457/attachment.htm>


More information about the Insight-users mailing list