[Insight-users] How to set the INCLUDE_DIRECTIORIES in the CMakeList.txt of GaussianFilter?
Hon-Cheng Wong
hcwong at must . edu . mo
Fri, 1 Aug 2003 16:02:27 +0800
This is a multi-part message in MIME format.
------=_NextPart_000_0009_01C35846.4DC44810
Content-Type: text/plain;
charset="big5"
Content-Transfer-Encoding: quoted-printable
Dear Luis and all ITK users,
In order to separate the GaussianFilter in independent project, =
I have separated=20
the FLTKImageViewer library and built it using IN-SOURCE build. Both my =
source
and bin of FLTKImageViewer are located at D:\ITK =
Research\FltkImageViewer.
My GaussianFilter is located at D:\ITK Research\GaussianFilter.
As you told me in the previous E-mail, the INCLUDE_DIRECTORIES=20
should look something like
INCLUDE_DIRECTORIES(
/home/wong/src/FltkImageViewer
/home/wong/src/FltkImageViewer
)
Could you tell me the exactly what /home/wong/src will be in my =
case?
Since I could not set the INCLUDE_DIRECTORIES in the CMakeList.txt of
GaussianFilter right. I have tried the following, but it doesn't work =
and I got
the same errors as before.
INCLUDE_DIRECTORIES(
/ITK Research/FltkImageViewer
)
Thank you very much again!!
Regards,
Hugo
Hon-Cheng Wong, Hugo
Faculty of Information Technology,
Macao University of Science and Technology,
Macao, China
------=_NextPart_000_0009_01C35846.4DC44810
Content-Type: text/html;
charset="big5"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2800.1126" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>Dear Luis and all ITK =
users,</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
size=3D3><FONT face=3D"Times New Roman"><SPAN=20
style=3D"mso-spacerun: =
yes"> </SPAN></FONT></FONT=
></SPAN><SPAN=20
lang=3DEN-US><FONT size=3D3><FONT face=3D"Times New Roman">In order to =
separate the=20
GaussianFilter in independent project, </FONT></FONT></SPAN><SPAN=20
lang=3DEN-US><FONT face=3D"Times New Roman" size=3D3>I have separated=20
</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>the FLTKImageViewer library and built =
it using=20
<STRONG>IN-SOURCE</STRONG> build. </FONT></SPAN><SPAN lang=3DEN-US><FONT =
face=3D"Times New Roman" size=3D3>Both my source</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>and bin of </FONT></SPAN><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>FLTKImageViewer are located at =
D:\ITK=20
Research\FltkImageViewer.</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>My GaussianFilter is located at D:\ITK =
Research\GaussianFilter.</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3></FONT></SPAN> </P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3> =
As you told=20
me in the previous E-mail, the INCLUDE_DIRECTORIES </FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>should look something =
like</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3></FONT></SPAN> </P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>INCLUDE_DIRECTORIES(</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3> =20
/home/wong/src/FltkImageViewer</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3> =20
/home/wong/src/FltkImageViewer</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>)</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3></FONT></SPAN> </P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3> Could =
you tell me=20
the exactly what /home/wong/src will be in my case?</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>Since </FONT></SPAN><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>I could not set the =
INCLUDE_DIRECTORIES in=20
the CMakeList.txt of</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>GaussianFilter right. I have tried the =
following,=20
but it doesn't work and I got</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>the same errors as =
before.</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3></FONT></SPAN> </P><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>INCLUDE_DIRECTORIES(</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3> /ITK=20
Research/FltkImageViewer</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3> </FONT></SPAN><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>)</FONT></SPAN></P></FONT></SPAN>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3></FONT></SPAN> </P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>Thank you very much =
again!!</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3></FONT></SPAN> </P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>Regards,</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>Hugo</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3></FONT></SPAN> </P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>Hon-Cheng Wong, Hugo</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>Faculty of Information=20
Technology,</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>Macao University of Science and=20
Technology,</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>Macao,=20
China</FONT></SPAN></P></FONT></DIV></BODY></HTML>
------=_NextPart_000_0009_01C35846.4DC44810--