[Insight-users] INSTALL TARGETS given no DESTINATION

Luis Ibanez luis.ibanez at kitware.com
Tue Apr 1 22:28:06 EDT 2008


Hi Pradeepa,

The CMake variable:


          CMAKE_INSTALL_PREFIX


expects the path to the directory where you
plan to install ITK after you build it.

If you are pointing it to a file, that will
explain the CMake error.

Please point this variable to an new directory.

Note that you don't need to install ITK in
order to use it. You can simply use it from
its build directory.



    Regards,



       Luis



--------------------------
pradeepa Gunaratne wrote:
> Hi Luis,
>  
> Thanks for the reply. My platform is Windows vista and I am using visual 
> studio 8 2005. I unzipped both ITK and CMake. Then I ran CMakesetup. Th 
> GUI asks for the source code and the binary locations. I gave them and 
> clicked on "configure". Then this error shows saying that INSTALL 
> TARGETS given no DESTINATION.
>  
> The CMAKE_INSTALL_PREFIX was having a wrong value. I set it to the path 
> where I unzipped CMake. Then clicked confifure again. This time also the 
> same error given. Pls let me know whether there is any setting I have 
> missed.
>  
> Thank you very much.
>  
> Pradeepa
> 
> ----- Original Message ----.
> From: Luis Ibanez <luis.ibanez at kitware.com>
> To: pradeepa Gunaratne <gunadp at yahoo.com>
> Cc: Insight-users at itk.org
> Sent: Tuesday, 1 April, 2008 4:47:48 PM
> Subject: Re: [Insight-users] INSTALL TARGETS given no DESTINATION
> 
> 
> Hi Pradeepa,
> 
> Did you modify the settings of the CMake variable:
> 
>               CMAKE_INSTALL_PREFIX
> 
> when you configured ITK using CMake  ??
> 
> 
> Also, what is your platform ?
> 
> 
>   Please let us know,
> 
> 
>       Thanks
> 
> 
> 
>         Luis
> 
> 
> ------------------------
> pradeepa Gunaratne wrote:
>  > Hi All,
>  >
>  > I have just started building itk through cmake. When I give the source
>  > and binary locations and click on "configure", it gives me an error
>  > message saying that INSTALL TARGETS given no DESTINATION. My environment
>  > is Windows Vista, CMake 2.4 patch 8 and InsightToolkit-3.4.0.
>  >
>  > Please help me to solve this as I couldn't find any solution.
>  >
>  > thanks,
>  >
>  > Pradeepa
>  >
>  >
>  > ------------------------------------------------------------------------
>  > Get the name you always wanted with the new y7mail email address
>  > 
> <http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http://au.yahoo.com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other 
> <http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http://au.yahoo.com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other>>. 
> 
>  >
>  >
>  >
>  > ------------------------------------------------------------------------
>  >
>  > _______________________________________________
>  > Insight-users mailing list
>  > Insight-users at itk.org <mailto:Insight-users at itk.org>
>  > http://www.itk.org/mailman/listinfo/insight-users
> 
> 
> ------------------------------------------------------------------------
> Get the name you always wanted with the new y7mail email address 
> <http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http://au.yahoo.com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other>. 
> 


More information about the Insight-users mailing list