<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: 微软雅黑; COLOR: #000080; FONT-SIZE: 10.5pt
}
</STYLE>

<META name=GENERATOR content="MSHTML 9.00.8112.16457"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Dear Bill,</DIV>
<DIV>Thank you very much for your help!</DIV>
<DIV>Even I run the simplest program, there are the same problem.</DIV>
<DIV>One program is like the following:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;CMakeLists.txt is:</DIV>
<DIV>cmake_minimum_required(VERSION&nbsp;2.8)</DIV>
<DIV>
<DIV>&nbsp;</DIV>
<DIV>find_package(ITK&nbsp;REQUIRED)</DIV>
<DIV>include(${ITK_USE_FILE})</DIV>
<DIV>&nbsp;</DIV>
<DIV>project(nihao)</DIV>
<DIV>&nbsp;</DIV>
<DIV>add_executable(nihao&nbsp;nihao.cxx&nbsp;)</DIV>
<DIV>target_link_libraries(nihao&nbsp;&nbsp;${ITK_LIBRARIES})</DIV></DIV>
<DIV>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
The nihao.cxx is:</DIV>
<DIV>
<DIV>#include&nbsp;"itkImage.h"</DIV>
<DIV>#include&nbsp;&lt;iostream&gt;</DIV>
<DIV>int&nbsp;main()</DIV>
<DIV>{</DIV>
<DIV>typedef&nbsp;itk::Image&lt;&nbsp;unsigned&nbsp;short,&nbsp;3&nbsp;&gt;&nbsp;ImageType;</DIV>
<DIV>ImageType::Pointer&nbsp;image&nbsp;=&nbsp;ImageType::New();</DIV>
<DIV>std::cout&nbsp;&lt;&lt;&nbsp;"Nihao&nbsp;!"&nbsp;&lt;&lt;&nbsp;std::endl;</DIV>
<DIV>return&nbsp;0;</DIV>
<DIV>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>Can you give me some help? Thanks!</DIV></DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>

<DIV><SPAN>flydps</SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV 
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV 
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>发件人:</B>&nbsp;<A href="mailto:bill.lorensen@gmail.com">Bill 
Lorensen</A></DIV>
<DIV><B>发送时间:</B>&nbsp;2012-12-17&nbsp;23:41</DIV>
<DIV><B>收件人:</B>&nbsp;<A href="mailto:flydps@163.com">flydps</A></DIV>
<DIV><B>抄送:</B>&nbsp;<A 
href="mailto:insight-users@itk.org">Insight-Users</A></DIV>
<DIV><B>主题:</B>&nbsp;Re: Re: [Insight-users] cannot open 
file揈:\ITK_BIN4.2.1\lib\Debug\itksys-4.2.lib?</DIV></DIV></DIV>
<DIV>
<DIV>Please&nbsp;keep&nbsp;discussion&nbsp;on&nbsp;the&nbsp;list.</DIV>
<DIV>Can&nbsp;you&nbsp;provide&nbsp;the&nbsp;CMakeLists.txt&nbsp;file&nbsp;for&nbsp;your&nbsp;application?</DIV>
<DIV>&nbsp;</DIV>
<DIV>On&nbsp;Mon,&nbsp;Dec&nbsp;17,&nbsp;2012&nbsp;at&nbsp;9:57&nbsp;AM,&nbsp;flydps&nbsp;&lt;flydps@163.com&gt;&nbsp;wrote:</DIV>
<DIV>&gt;&nbsp;Dear&nbsp;Bill,</DIV>
<DIV>&gt;&nbsp;Thank&nbsp;you&nbsp;very&nbsp;much&nbsp;for&nbsp;your&nbsp;reply.&nbsp;But&nbsp;I&nbsp;think&nbsp;I&nbsp;build&nbsp;the&nbsp;Itk&nbsp;and&nbsp;the</DIV>
<DIV>&gt;&nbsp;application&nbsp;of&nbsp;itk&nbsp;both&nbsp;in&nbsp;debug&nbsp;type.&nbsp;I&nbsp;am&nbsp;sure&nbsp;that&nbsp;the&nbsp;the&nbsp;application&nbsp;is</DIV>
<DIV>&gt;&nbsp;debug&nbsp;type.&nbsp;As&nbsp;to&nbsp;itk&nbsp;itself,&nbsp;I&nbsp;chose&nbsp;the&nbsp;default&nbsp;type,&nbsp;and&nbsp;when&nbsp;I&nbsp;select</DIV>
<DIV>&gt;&nbsp;the&nbsp;Advanced&nbsp;selection&nbsp;in&nbsp;CMake,&nbsp;most&nbsp;items&nbsp;show&nbsp;debug&nbsp;type.&nbsp;&nbsp;I&nbsp;use&nbsp;&nbsp;itk&nbsp;for</DIV>
<DIV>&gt;&nbsp;every&nbsp;application&nbsp;will&nbsp;get&nbsp;the&nbsp;same&nbsp;error:&nbsp;&nbsp;cannot&nbsp;open&nbsp;file</DIV>
<DIV>&gt;&nbsp;E:\ITK_BIN4.2.1\lib\Debug\itksys-4.2.lib?</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;&nbsp;________________________________</DIV>
<DIV>&gt;&nbsp;flydps</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;&nbsp;From:&nbsp;Bill&nbsp;Lorensen</DIV>
<DIV>&gt;&nbsp;Date:&nbsp;2012-12-17&nbsp;21:26</DIV>
<DIV>&gt;&nbsp;To:&nbsp;flydps</DIV>
<DIV>&gt;&nbsp;CC:&nbsp;Insight-users</DIV>
<DIV>&gt;&nbsp;Subject:&nbsp;Re:&nbsp;[Insight-users]&nbsp;cannot&nbsp;open</DIV>
<DIV>&gt;&nbsp;file揈:\ITK_BIN4.2.1\lib\Debug\itksys-4.2.lib?</DIV>
<DIV>&gt;&nbsp;Your&nbsp;project&nbsp;must&nbsp;be&nbsp;built&nbsp;with&nbsp;the&nbsp;same&nbsp;build_type&nbsp;as&nbsp;itk.&nbsp;I&nbsp;suspect</DIV>
<DIV>&gt;&nbsp;that&nbsp;your&nbsp;build_type&nbsp;is&nbsp;Debug,&nbsp;but&nbsp;your&nbsp;ITK&nbsp;was&nbsp;built&nbsp;with&nbsp;a&nbsp;different</DIV>
<DIV>&gt;&nbsp;build&nbsp;type.</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;&nbsp;On&nbsp;Mon,&nbsp;Dec&nbsp;17,&nbsp;2012&nbsp;at&nbsp;8:06&nbsp;AM,&nbsp;flydps&nbsp;&lt;flydps@163.com&gt;&nbsp;wrote:</DIV>
<DIV>&gt;&gt;&nbsp;Hi,&nbsp;all</DIV>
<DIV>&gt;&gt;&nbsp;I&nbsp;am&nbsp;using&nbsp;Itk&nbsp;4.2.1&nbsp;with&nbsp;vs&nbsp;2010,&nbsp;but&nbsp;when&nbsp;I&nbsp;build&nbsp;the&nbsp;project&nbsp;that&nbsp;I</DIV>
<DIV>&gt;&gt;&nbsp;every</DIV>
<DIV>&gt;&gt;&nbsp;used&nbsp;without&nbsp;problem&nbsp;under&nbsp;Linux,&nbsp;I&nbsp;get&nbsp;an&nbsp;error:&nbsp;2&gt;LINK&nbsp;:&nbsp;fatal&nbsp;error</DIV>
<DIV>&gt;&gt;&nbsp;LNK1104:&nbsp;cannot&nbsp;open&nbsp;file揈:\ITK_BIN4.2.1\lib\Debug\itksys-4.2.lib?&nbsp;Can</DIV>
<DIV>&gt;&gt;&nbsp;anyone&nbsp;give&nbsp;me&nbsp;some&nbsp;help,&nbsp;thanks!</DIV>
<DIV>&gt;&gt;</DIV>
<DIV>&gt;&gt;&nbsp;________________________________</DIV>
<DIV>&gt;&gt;&nbsp;flydps</DIV>
<DIV>&gt;&gt;</DIV>
<DIV>&gt;&gt;&nbsp;_____________________________________</DIV>
<DIV>&gt;&gt;&nbsp;Powered&nbsp;by&nbsp;www.kitware.com</DIV>
<DIV>&gt;&gt;</DIV>
<DIV>&gt;&gt;&nbsp;Visit&nbsp;other&nbsp;Kitware&nbsp;open-source&nbsp;projects&nbsp;at</DIV>
<DIV>&gt;&gt;&nbsp;http://www.kitware.com/opensource/opensource.html</DIV>
<DIV>&gt;&gt;</DIV>
<DIV>&gt;&gt;&nbsp;Kitware&nbsp;offers&nbsp;ITK&nbsp;Training&nbsp;Courses,&nbsp;for&nbsp;more&nbsp;information&nbsp;visit:</DIV>
<DIV>&gt;&gt;&nbsp;http://www.kitware.com/products/protraining.php</DIV>
<DIV>&gt;&gt;</DIV>
<DIV>&gt;&gt;&nbsp;Please&nbsp;keep&nbsp;messages&nbsp;on-topic&nbsp;and&nbsp;check&nbsp;the&nbsp;ITK&nbsp;FAQ&nbsp;at:</DIV>
<DIV>&gt;&gt;&nbsp;http://www.itk.org/Wiki/ITK_FAQ</DIV>
<DIV>&gt;&gt;</DIV>
<DIV>&gt;&gt;&nbsp;Follow&nbsp;this&nbsp;link&nbsp;to&nbsp;subscribe/unsubscribe:</DIV>
<DIV>&gt;&gt;&nbsp;http://www.itk.org/mailman/listinfo/insight-users</DIV>
<DIV>&gt;&gt;</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;&nbsp;--</DIV>
<DIV>&gt;&nbsp;Unpaid&nbsp;intern&nbsp;in&nbsp;BillsBasement&nbsp;at&nbsp;noware&nbsp;dot&nbsp;com</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>--&nbsp;</DIV>
<DIV>Unpaid&nbsp;intern&nbsp;in&nbsp;BillsBasement&nbsp;at&nbsp;noware&nbsp;dot&nbsp;com</DIV></DIV></BODY></HTML>