[Insight-users] problem building insight application

tejas mehta tejas9090 at yahoo . com
Fri, 18 Jul 2003 12:03:53 -0700 (PDT)


--0-1566541269-1058555033=:33614
Content-Type: text/plain; charset=us-ascii

Thanks Luis. I included all the directories in CMakeLists.txt file. When building in VC++ I get the following error:
 
\itk\InsightApplications-1.2.0\Auxiliary\VtkFltk\fltkVTKImageViewer.h(20) : fatal error C1083: Cannot open include file: 'fltkVTKImageViewerGUI.h': No such file or directory
 
I could not find the file : 'fltkVTKImageViewerGUI.h' anywhere ????
 
Tejas 


Luis Ibanez <luis . ibanez at kitware . com> wrote:

Hi Tejas,

Please add the following lines to your CMakeLists.txt
file

INCLUDE_DIRECTORIES(
${myApplicationName_SOURCE_DIR}
)

Where "myApplicationName" is the name you gave to
your project at the beginning of the CMakeLists.txt
file with the command PROJECT()

These lines add the source directory of your project
to the list of directories to search for header files.


Please take a look at the previous posting
http://www . itk . org/pipermail/insight-users/2003-July/004278 . html
regarding the CMake configuration of projects using
ITK, VTK and FLTK.


Regards,


Luis



------------------
tejas mehta wrote:
> Hi,
> 
> I am trying to build the Geodisic Active Contour Application. I use 
> CMake to configure the itk applications:
> 
> Source: C:\itk\InsightApplications-1.2.0
> Bin: C:\temp_app
> 
> After this I use VC++ to build all the classes
> 
> Next, I copy the files from the GeodisisActiveContour directory into 
> another directory and try to configure using CMake. I add the following 
> lines to the CMakeLists.txt :
> 
> /FIND_PACKAGE(FLTK)
> // IF(FLTK_FOUND)
> //INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR})
> //ENDIF(FLTK_FOUND)/
> // 
> Next, I build the Project.dsw file in VC++. This is where I get the 
> following errors:
> 
> C:/itk_bin/GeodesicActiveContourGUI.h(7) : fatal error C1083: Cannot 
> open include file: 'GeodesicActiveContourBase.h': No such file or directory
> GeodesicActiveContour.cxx
> C:\itk_source\GeodesicActiveContour.cxx(18) : fatal error C1083: Cannot 
> open include file: 'GeodesicActiveContour.h': No such file or directory
> GeodesicActiveContourBase.cxx
> C:\itk_source\GeodesicActiveContourBase.h(20) : fatal error C1083: 
> Cannot open include file: 'itkImageFileReader.h': No such file or directory
> I would really appreciate if somenody would help me out.
> 
> 
> Tejas
> 
> 
> 
> 
> ------------------------------------------------------------------------
> Do you Yahoo!?
> SBC Yahoo! DSL 
> 
> - Now only $29.95 per month!





---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
--0-1566541269-1058555033=:33614
Content-Type: text/html; charset=us-ascii

<DIV>Thanks Luis. I included all the directories in CMakeLists.txt file. When building in VC++ I get the following error:</DIV>
<DIV>&nbsp;</DIV>
<DIV>\itk\InsightApplications-1.2.0\Auxiliary\VtkFltk\fltkVTKImageViewer.h(20) : fatal error C1083: Cannot open include file: 'fltkVTKImageViewerGUI.h': No such file or directory</DIV>
<DIV>&nbsp;</DIV>
<DIV>I&nbsp;could not&nbsp;find the file : 'fltkVTKImageViewerGUI.h' anywhere ????</DIV>
<DIV>&nbsp;</DIV>
<DIV>Tejas&nbsp;</DIV>
<DIV><BR><BR><B><I>Luis Ibanez &lt;luis . ibanez at kitware . com&gt;</I></B> wrote:</DIV>
<DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid; WIDTH: 100%"><BR>Hi Tejas,<BR><BR>Please add the following lines to your CMakeLists.txt<BR>file<BR><BR>INCLUDE_DIRECTORIES(<BR>${myApplicationName_SOURCE_DIR}<BR>)<BR><BR>Where "myApplicationName" is the name you gave to<BR>your project at the beginning of the CMakeLists.txt<BR>file with the command PROJECT()<BR><BR>These lines add the source directory of your project<BR>to the list of directories to search for header files.<BR><BR><BR>Please take a look at the previous posting<BR>http://www . itk . org/pipermail/insight-users/2003-July/004278 . html<BR>regarding the CMake configuration of projects using<BR>ITK, VTK and FLTK.<BR><BR><BR>Regards,<BR><BR><BR>Luis<BR><BR><BR><BR>------------------<BR>tejas mehta wrote:<BR>&gt; Hi,<BR>&gt; <BR>&gt; I am trying to build the Geodisic Active Contour Application. I use <BR>&gt; CMake to configure the itk applications:<BR>&gt; <BR>&gt; Source:
 C:\itk\InsightApplications-1.2.0<BR>&gt; Bin: C:\temp_app<BR>&gt; <BR>&gt; After this I use VC++ to build all the classes<BR>&gt; <BR>&gt; Next, I copy the files from the GeodisisActiveContour directory into <BR>&gt; another directory and try to configure using CMake. I add the following <BR>&gt; lines to the CMakeLists.txt :<BR>&gt; <BR>&gt; /FIND_PACKAGE(FLTK)<BR>&gt; // IF(FLTK_FOUND)<BR>&gt; //INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR})<BR>&gt; //ENDIF(FLTK_FOUND)/<BR>&gt; // <BR>&gt; Next, I build the Project.dsw file in VC++. This is where I get the <BR>&gt; following errors:<BR>&gt; <BR>&gt; C:/itk_bin/GeodesicActiveContourGUI.h(7) : fatal error C1083: Cannot <BR>&gt; open include file: 'GeodesicActiveContourBase.h': No such file or directory<BR>&gt; GeodesicActiveContour.cxx<BR>&gt; C:\itk_source\GeodesicActiveContour.cxx(18) : fatal error C1083: Cannot <BR>&gt; open include file: 'GeodesicActiveContour.h': No such file or directory<BR>&gt; GeodesicActiveContourBase.cxx<BR>&gt;
 C:\itk_source\GeodesicActiveContourBase.h(20) : fatal error C1083: <BR>&gt; Cannot open include file: 'itkImageFileReader.h': No such file or directory<BR>&gt; I would really appreciate if somenody would help me out.<BR>&gt; <BR>&gt; <BR>&gt; Tejas<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR>&gt; Do you Yahoo!?<BR>&gt; SBC Yahoo! DSL <BR>&gt; <HTTP: evt="1207/*http://promo . yahoo . com/sbc/" rd.yahoo.com *http: pa.yahoo.com><BR>&gt; - Now only $29.95 per month!<BR><BR><BR></BLOCKQUOTE></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://pa . yahoo . com/*http://rd . yahoo . com/evt=1207/*http://promo . yahoo . com/sbc/">SBC Yahoo! DSL</a> - Now only $29.95 per month!
--0-1566541269-1058555033=:33614--