[ITK] [ITK-users] No ITKReview.lib found!
Khojaste, Amir
amir.khojaste at sunnybrook.ca
Tue Apr 28 12:02:00 EDT 2015
Hello folks,
I have built a project with ITK4.7 and Visual Studio 2013. Everything went fine with no problem. However I wanted to test my program using ITK3.20.2 and Visual Studio 2008. I get the following error:
fatal error LNK1104: cannot open file 'ITKIOReview.lib'
I have this library when I built my ITK4.7 however I don't see it when I try to build ITK3.20.2. Please note that I have built the ITK3.20.2 with ITK_USE_Review to be ON! As well.
This is the CMakelists I have used for both ITK environments:
cmake_minimum_required(VERSION 2.8)
project(CropVolumeMain)
find_package(ITK REQUIRED)
include(${ITK_USE_FILE})
if (ITKVtkGlue_LOADED)
find_package(VTK REQUIRED)
include(${VTK_USE_FILE})
endif()
add_executable(CropVolumeMain MACOSX_BUNDLE CropVolumeMain.cxx)
if( "${ITK_VERSION_MAJOR}" LESS 4 )
target_link_libraries(CropVolumeMain ITKReview ${ITK_LIBRARIES})
else( "${ITK_VERSION_MAJOR}" LESS 4 )
target_link_libraries(CropVolumeMain ${ITK_LIBRARIES})
endif( "${ITK_VERSION_MAJOR}" LESS 4 )
Any help is much appreciated!
Cheers,
Amir
This e-mail is intended only for the named recipient(s) and may contain confidential, personal and/or health information (information which may be subject to legal restrictions on use, retention and/or disclosure). No waiver of confidence is intended by virtue of communication via the internet. Any review or distribution by anyone other than the person(s) for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and destroy all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150428/aff1e243/attachment.html>
-------------- next part --------------
_____________________________________
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://public.kitware.com/mailman/listinfo/insight-users
More information about the Community
mailing list