<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier, monaco, monospace, sans-serif;font-size:14pt"><DIV style="FONT-SIZE: 14pt; FONT-FAMILY: courier, monaco, monospace, sans-serif">Hi Luis,</DIV>
<DIV style="FONT-SIZE: 14pt; FONT-FAMILY: courier, monaco, monospace, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 14pt; FONT-FAMILY: courier, monaco, monospace, sans-serif">Thanks for your support, I got it working. I have done a simple mistake, pointing only to the code directory. Now I got the CMake done for ITK, but faced with a new problem.</DIV>
<DIV style="FONT-SIZE: 14pt; FONT-FAMILY: courier, monaco, monospace, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 14pt; FONT-FAMILY: courier, monaco, monospace, sans-serif">I cmake the helloworld program as given in the Getting Started document as well as ItkSoftwareGuide.pdf. Igot the CMake done , but when tried to build in VC Studio 8, It gives these errors.</DIV>
<DIV style="FONT-SIZE: 14pt; FONT-FAMILY: courier, monaco, monospace, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 14pt; FONT-FAMILY: courier, monaco, monospace, sans-serif"><PRE>Compiling...
HelloWorld.cxx
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(135) : warning C4003: not enough actual parameters for macro '__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX'
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(135) : error C2065: '_String' : undeclared identifier
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(135) : error C2275: '_locale_t' : illegal use of this type as an expression
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdefs.h(2045) : see declaration of '_locale_t'
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(135) : error C2065: '_Locale' : undeclared identifier
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(135) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(135) : error C2491: '_strlwr_l' : definition of dllimport data not allowed
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(135) : error C2078: too many initializers
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(173) : warning C4003: not enough actual parameters for macro '__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX'
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(173) : error C2275: '_locale_t' : illegal use of this type as an expression
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdefs.h(2045) : see declaration of '_locale_t'
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(173) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(173) : error C2491: '_strupr_l' : definition of dllimport data not allowed
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(173) : error C2078: too many initializers
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(299) : warning C4003: not enough actual parameters for macro '__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX'
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(299) : error C2275: '_locale_t' : illegal use of this type as an expression
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdefs.h(2045) : see declaration of '_locale_t'
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(299) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(299) : error C2491: '_wcslwr_l' : definition of dllimport data not allowed
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(299) : error C2078: too many initializers
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(305) : warning C4003: not enough actual parameters for macro '__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX'
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(305) : error C2275: '_locale_t' : illegal use of this type as an expression
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdefs.h(2045) : see declaration of '_locale_t'
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(305) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(305) : error C2491: '_wcsupr_l' : definition of dllimport data not allowed
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(305) : error C2078: too many initializers
c:\pradeepa\anu\imageprocessing\applications\itk\insighttoolkit-3.4.0\code\common\itkMacro..h(45) : fatal error C1083: Cannot open include file: 'strstream.h': No such file or directory
</PRE></DIV>
<DIV style="FONT-SIZE: 14pt; FONT-FAMILY: courier, monaco, monospace, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 14pt; FONT-FAMILY: courier, monaco, monospace, sans-serif">Any idea on what I should do?</DIV>
<DIV style="FONT-SIZE: 14pt; FONT-FAMILY: courier, monaco, monospace, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 14pt; FONT-FAMILY: courier, monaco, monospace, sans-serif">Thanks,</DIV>
<DIV style="FONT-SIZE: 14pt; FONT-FAMILY: courier, monaco, monospace, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 14pt; FONT-FAMILY: courier, monaco, monospace, sans-serif">Pradeepa</DIV>
<DIV style="FONT-SIZE: 14pt; FONT-FAMILY: courier, monaco, monospace, sans-serif"><BR><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Luis Ibanez <luis..ibanez@kitware.com><BR>To: pradeepa Gunaratne <gunadp@yahoo.com>; Insight Users <insight-users@itk.org><BR>Sent: Tuesday, 1 April, 2008 7:28:06 PM<BR>Subject: Re: [Insight-users] INSTALL TARGETS given no DESTINATION<BR><BR><BR>Hi Pradeepa,<BR><BR>The CMake variable:<BR><BR><BR> CMAKE_INSTALL_PREFIX<BR><BR><BR>expects the path to the directory where you<BR>plan to install ITK after you build it.<BR><BR>If you are pointing it to a file, that will<BR>explain the CMake error..<BR><BR>Please point this variable to an new directory.<BR><BR>Note that you don't need to install ITK in<BR>order to use it. You can simply use it from<BR>its build directory.<BR><BR><BR><BR> Regards,<BR><BR><BR><BR>
Luis<BR><BR><BR><BR>--------------------------<BR>pradeepa Gunaratne wrote:<BR>> Hi Luis,<BR>> <BR>> Thanks for the reply. My platform is Windows vista and I am using visual <BR>> studio 8 2005. I unzipped both ITK and CMake. Then I ran CMakesetup. Th <BR>> GUI asks for the source code and the binary locations. I gave them and <BR>> clicked on "configure". Then this error shows saying that INSTALL <BR>> TARGETS given no DESTINATION.<BR>> <BR>> The CMAKE_INSTALL_PREFIX was having a wrong value. I set it to the path <BR>> where I unzipped CMake. Then clicked confifure again. This time also the <BR>> same error given. Pls let me know whether there is any setting I have <BR>> missed.<BR>> <BR>> Thank you very much.<BR>> <BR>> Pradeepa<BR>> <BR>> ----- Original Message ----.<BR>> From: Luis Ibanez <<A href="mailto:luis.ibanez@kitware.com"
ymailto="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</A>><BR>> To: pradeepa Gunaratne <<A href="mailto:gunadp@yahoo.com" ymailto="mailto:gunadp@yahoo.com">gunadp@yahoo.com</A>><BR>> Cc: <A href="mailto:Insight-users@itk.org" ymailto="mailto:Insight-users@itk.org">Insight-users@itk.org</A><BR>> Sent: Tuesday, 1 April, 2008 4:47:48 PM<BR>> Subject: Re: [Insight-users] INSTALL TARGETS given no DESTINATION<BR>> <BR>> <BR>> Hi Pradeepa,<BR>> <BR>> Did you modify the settings of the CMake variable:<BR>> <BR>> CMAKE_INSTALL_PREFIX<BR>> <BR>> when you configured ITK using CMake ??<BR>> <BR>> <BR>> Also, what is your platform ?<BR>> <BR>> <BR>> Please let us know,<BR>> <BR>> <BR>> Thanks<BR>> <BR>> <BR>> <BR>> Luis<BR>> <BR>> <BR>>
------------------------<BR>> pradeepa Gunaratne wrote:<BR>> > Hi All,<BR>> ><BR>> > I have just started building itk through cmake. When I give the source<BR>> > and binary locations and click on "configure", it gives me an error<BR>> > message saying that INSTALL TARGETS given no DESTINATION. My environment<BR>> > is Windows Vista, CMake 2.4 patch 8 and InsightToolkit-3..4.0.<BR>> ><BR>> > Please help me to solve this as I couldn't find any solution.<BR>> ><BR>> > thanks,<BR>> ><BR>> > Pradeepa<BR>> ><BR>> ><BR>> > ------------------------------------------------------------------------<BR>> > Get the name you always wanted with the new y7mail email address<BR>> > <BR>> <<A
href="http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http://au.yahoo.com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other" target=_blank>http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http://au.yahoo.com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other</A> <BR>> <<A href="http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http://au.yahoo.com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other" target=_blank>http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http://au.yahoo.com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other</A>>>. <BR>> <BR>> ><BR>> ><BR>> ><BR>> > ------------------------------------------------------------------------<BR>> ><BR>> > _______________________________________________<BR>> > Insight-users mailing list<BR>> > <A href="mailto:Insight-users@itk.org"
ymailto="mailto:Insight-users@itk.org">Insight-users@itk.org</A> <mailto:<A href="mailto:Insight-users@itk.org" ymailto="mailto:Insight-users@itk.org">Insight-users@itk.org</A>><BR>> > <A href="http://www.itk.org/mailman/listinfo/insight-users" target=_blank>http://www.itk.org/mailman/listinfo/insight-users</A><BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> Get the name you always wanted with the new y7mail email address <BR>> <<A href="http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http://au.yahoo.com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other" target=_blank>http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http://au.yahoo.com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other</A>>. <BR>> <BR></DIV>
<DIV style="FONT-SIZE: 14pt; FONT-FAMILY: courier, monaco, monospace, sans-serif"><BR></DIV></div><br>
<hr size=1>
Get the name you always wanted with the <a href="http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http://au.yahoo..com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other" target=_blank>new y7mail email address</a>.
</body></html>