<HTML xmlns:o><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type></HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Without getting into the specifics, maybe this should help:</DIV>
<DIV> </DIV>
<DIV><A title=http://www.insight-journal.org/browse/publication/755
href="http://www.insight-journal.org/browse/publication/755">http://www.insight-journal.org/browse/publication/755</A></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=Terran.Wu@semt.com.cn
href="mailto:Terran.Wu@semt.com.cn">Terran Wu</A> </DIV>
<DIV><B>Sent:</B> Tuesday, February 07, 2012 4:34 AM</DIV>
<DIV><B>To:</B> <A title=insight-users@itk.org
href="mailto:insight-users@itk.org">insight-users@itk.org</A> </DIV>
<DIV><B>Subject:</B> [Insight-users] ITK compile issues on
IOS5.0</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV>
<DIV>
<DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px"><FONT
class=Apple-style-span color=#275d90>Hi Everyone,</FONT></DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px"><FONT
class=Apple-style-span color=#275d90>I am currently now tring to compile ITK on
IOS system.</FONT></DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px"><FONT
class=Apple-style-span color=#275d90>I download InsightToolkit-3.20.1 from <SPAN
style="FONT-FAMILY: nimbusmonl-regu-extend_850; FONT-SIZE: 15px"
class=Apple-style-span><A
href="http://www.itk.org/ITK/">http://www.itk.org/ITK/</A>
resources/software.html. </SPAN></FONT></DIV>
<DIV style="FONT-FAMILY: calibri, sans-serif; FONT-SIZE: 14px"><FONT
class=Apple-style-span color=#275d90><SPAN
style="FONT-FAMILY: nimbusmonl-regu-extend_850; FONT-SIZE: 15px"
class=Apple-style-span>Then I download cmake-2.8.7 </SPAN><SPAN
style="FONT-FAMILY: nimbusromno9l; FONT-SIZE: 15px" class=Apple-style-span><SPAN
style="FONT-FAMILY: nimbusromno9l; FONT-SIZE: 11pt">from </SPAN></SPAN><SPAN
style="FONT-FAMILY: nimbusromno9l; FONT-SIZE: 15px" class=Apple-style-span><SPAN
style="FONT-FAMILY: nimbusmonl-regu-extend_850; FONT-SIZE: 11pt"><A
href="http://www.cmake.org/cmake/">http://www.cmake.org/cmake/</A>
resources/software.html. </SPAN></SPAN></FONT></DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px"><SPAN
style="FONT-FAMILY: nimbusromno9l; COLOR: rgb(39,93,144); FONT-SIZE: 15px"
class=Apple-style-span><SPAN
style="FONT-FAMILY: nimbusmonl-regu-extend_850; FONT-SIZE: 11pt">All
</SPAN><SPAN style="FONT-FAMILY: nimbusromno9l; FONT-SIZE: 11pt">the ITK source
files are uncompressed into
/users/TerranWu/Documents/ITK_LIB/</SPAN></SPAN><SPAN
style="COLOR: rgb(39,93,144)"
class=Apple-style-span>InsightToolkit-3.20.1.</SPAN></DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px"><SPAN
style="COLOR: rgb(39,93,144)" class=Apple-style-span>I setup a directory
</SPAN><SPAN
style="FONT-FAMILY: nimbusromno9l; COLOR: rgb(39,93,144); FONT-SIZE: 15px"
class=Apple-style-span>/users/TerranWu/Documents/ITK_LIB/ITK_BINARY to generate
the </SPAN><SPAN
style="FONT-FAMILY: nimbusmonl-regu-extend_850; FONT-SIZE: 15px"
class=Apple-style-span><FONT class=Apple-style-span color=#275d90>.xcodeproj
file.</FONT></SPAN></DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px"><SPAN
style="FONT-FAMILY: nimbusmonl-regu-extend_850; FONT-SIZE: 15px"
class=Apple-style-span><FONT class=Apple-style-span color=#275d90>In the
terminal I issued the command /users/TerranWu/bin/ccmake -GXcode
/users/TerranWu/Documents/ITKLIB/InsightToolkit-3.20.1/, and the ITK.xcodeproj
file generate successfully.</FONT></SPAN></DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px"><SPAN
style="FONT-FAMILY: nimbusmonl-regu-extend_850; FONT-SIZE: 15px"
class=Apple-style-span><FONT class=Apple-style-span color=#275d90>I open the
ITK.xcodeproj using XCode4.2, and here is my project
setting:</FONT></SPAN></DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px"><SPAN
style="FONT-FAMILY: nimbusmonl-regu-extend_850; FONT-SIZE: 15px"
class=Apple-style-span><FONT class=Apple-style-span color=#275d90>
<DIV style="FONT-FAMILY: calibri, sans-serif; FONT-SIZE: 14px">ARCHS =
$(ARCHS_STANDARD_32_BIT</DIV></FONT></SPAN></DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px"><SPAN
style="FONT-FAMILY: nimbusmonl-regu-extend_850; FONT-SIZE: 15px"
class=Apple-style-span><FONT class=Apple-style-span color=#275d90>BASE
SDK:ios5.0</FONT></SPAN></DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px"><SPAN
style="FONT-FAMILY: nimbusmonl-regu-extend_850; FONT-SIZE: 15px"
class=Apple-style-span><FONT class=Apple-style-span color=#275d90>
<DIV style="FONT-FAMILY: calibri, sans-serif; FONT-SIZE: 14px">VALID_ARCHS =
armv6 armv7</DIV>
<DIV> </DIV></FONT></SPAN></DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px"><SPAN
style="FONT-FAMILY: calibri; FONT-SIZE: medium" class=Apple-style-span><FONT
class=Apple-style-span color=#275d90>After changing the project setting I
also <SPAN style="FONT-FAMILY: nimbusromno9l; FONT-SIZE: 11pt">remove the
dependency on itkmkg3states and itkTestDriver of ALL_BUILD
target.</SPAN></FONT></SPAN></DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px"><FONT
class=Apple-style-span color=#275d90><SPAN
style="FONT-FAMILY: calibri; FONT-SIZE: medium" class=Apple-style-span><SPAN
style="FONT-FAMILY: nimbusromno9l; FONT-SIZE: 11pt">Dependency on
</SPAN></SPAN><SPAN style="FONT-FAMILY: nimbusromno9l; FONT-SIZE: 15px"
class=Apple-style-span>itkmkg3states of itktiff target is also
removed.</SPAN></FONT></DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px"><FONT
class=Apple-style-span color=#275d90><SPAN
style="FONT-FAMILY: nimbusromno9l; FONT-SIZE: 15px" class=Apple-style-span>Then
I start to compile </SPAN></FONT><SPAN
style="FONT-FAMILY: nimbusmonl-regu-extend_850; COLOR: rgb(39,93,144); FONT-SIZE: 15px"
class=Apple-style-span>the ITK.xcodeproj, met an error like this:</SPAN></DIV>
<DIV><FONT class=Apple-style-span color=#ff2500
face=NimbusMonL-Regu-Extend_850><SPAN style="FONT-SIZE: 15px"
class=Apple-style-span>target specifies product type
'com.apple.product-type.tool', but there's no such product type for the
'iphonesimulator' platform</SPAN></FONT></DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px"><SPAN
style="FONT-FAMILY: nimbusmonl-regu-extend_850; COLOR: rgb(39,93,144); FONT-SIZE: 15px"
class=Apple-style-span>Do anyone know why this error happened, and how to fix
it.</SPAN></DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px"><SPAN
style="FONT-FAMILY: nimbusmonl-regu-extend_850; COLOR: rgb(39,93,144); FONT-SIZE: 15px"
class=Apple-style-span>Thank you all very much</SPAN></DIV></DIV>
<DIV
style="FONT-FAMILY: calibri, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 14px">
<DIV>
<DIV><FONT class=Apple-style-span color=#3772ff>-- </FONT></DIV>
<DIV>
<P
style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: calibri, sans-serif; FONT-SIZE: 10.5pt"
class=MsoNormal align=left><SPAN style="COLOR: rgb(0,112,192)" lang=EN-US>Best
Regards<o:p></o:p></SPAN></P>
<P
style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: calibri, sans-serif; FONT-SIZE: 10.5pt"
class=MsoNormal align=left><SPAN style="COLOR: rgb(0,112,192)" lang=EN-US>Terran
Wu<o:p></o:p></SPAN></P>
<P
style="TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: calibri, sans-serif; FONT-SIZE: 10.5pt"
class=MsoNormal><B><SPAN
style="FONT-FAMILY: 宋体; COLOR: rgb(0,112,192); FONT-SIZE: 9pt">巫幪<SPAN
lang=EN-US><o:p></o:p></SPAN></SPAN></B></P>
<P
style="TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: calibri, sans-serif; FONT-SIZE: 10.5pt"
class=MsoNormal><B><SPAN style="FONT-FAMILY: 宋体; COLOR: rgb(0,112,192)"
lang=EN-US><o:p></o:p></SPAN></B> </P>
<P
style="TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: calibri, sans-serif; FONT-SIZE: 10.5pt"
class=MsoNormal><SPAN style="COLOR: rgb(127,127,127); FONT-SIZE: 11pt"
lang=EN-US><IMG id=Picture_x0020_4
alt="Description: cid:image001.png@01CA4B37.99F9CD50"
src="cid:8FD0667E756542568FB9A6CC13305DB1@Zurich" width=69 height=31
type="image/png"></SPAN><SPAN style="COLOR: rgb(0,112,192)"
lang=EN-US><o:p></o:p></SPAN></P>
<P
style="TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: calibri, sans-serif; FONT-SIZE: 10.5pt"
class=MsoNormal><B><SPAN
style="FONT-FAMILY: 宋体; COLOR: rgb(0,112,192); FONT-SIZE: 9pt">深圳百胜医疗科技有限公司<SPAN
lang=EN-US><o:p></o:p></SPAN></SPAN></B></P>
<P
style="TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: calibri, sans-serif; FONT-SIZE: 10.5pt"
class=MsoNormal><SPAN style="COLOR: rgb(0,112,192)" lang=EN-US>Shenzhen Esaote
Medical Technology Co., Ltd<o:p></o:p></SPAN></P>
<P
style="TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: calibri, sans-serif; FONT-SIZE: 10.5pt"
class=MsoNormal><SPAN style="COLOR: rgb(0,112,192)" lang=EN-US></SPAN></P>
<P
style="TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: calibri, sans-serif; FONT-SIZE: 10.5pt"
class=MsoNormal><SPAN style="COLOR: rgb(0,112,192)" lang=EN-US>Tel:
+86-755-26037236</SPAN></P>
<P
style="TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: calibri, sans-serif; FONT-SIZE: 10.5pt"
class=MsoNormal><SPAN style="COLOR: rgb(0,112,192)" lang=EN-US></SPAN><SPAN
style="COLOR: rgb(0,112,192)" class=Apple-style-span>Email: <A
style="COLOR: blue; TEXT-DECORATION: underline"
href="mailto:Terran.Wu@semt.com.cn"><SPAN
style="COLOR: blue">Terran.Wu@semt.com.cn</SPAN></A></SPAN></P></DIV></DIV></DIV></DIV></DIV>
<P>
<HR>
_____________________________________<BR>Powered by www.kitware.com<BR><BR>Visit
other Kitware open-source projects
at<BR>http://www.kitware.com/opensource/opensource.html<BR><BR>Kitware offers
ITK Training Courses, for more information
visit:<BR>http://www.kitware.com/products/protraining.html<BR><BR>Please keep
messages on-topic and check the ITK FAQ
at:<BR>http://www.itk.org/Wiki/ITK_FAQ<BR><BR>Follow this link to
subscribe/unsubscribe:<BR>http://www.itk.org/mailman/listinfo/insight-users<BR></DIV></DIV></DIV></BODY></HTML>