<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=NL link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal><span lang=EN-GB>Hi,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>I&#8217;m trying to wrap ITK with Python by
following the steps described in: </span><a
href="http://www.itk.org/pipermail/insight-users/2004-May/008493.html"><span
lang=EN-GB>http://www.itk.org/pipermail/insight-users/2004-May/008493.html</span></a><o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span lang=EN-GB>Everything goes well until step K, where I
get the following errors in Cmake:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-GB>Could NOT find
PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)<o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>CMake Error: The following variables are used in
this project, but they are set to NOTFOUND.</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>Please set them or make sure they are set and
tested correctly in the CMake files:</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>PYTHON_INCLUDE_DIR (ADVANCED)</span><span
lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>used as include directory in directory
C:/Development/Insight/Wrapping/CSwig</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>used as include directory in directory
C:/Development/Insight/Wrapping/CSwig/SwigRuntime</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>used as include directory in directory
C:/Development/Insight/Wrapping/CSwig/VXLNumerics</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>used as include directory in directory
C:/Development/Insight/Wrapping/CSwig/CommonA</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>used as include directory in directory
C:/Development/Insight/Wrapping/CSwig/CommonB</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>used as include directory in directory
C:/Development/Insight/Wrapping/CSwig/Numerics</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>used as include directory in directory
C:/Development/Insight/Wrapping/CSwig/BasicFiltersA</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>used as include directory in directory
C:/Development/Insight/Wrapping/CSwig/BasicFiltersB</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>used as include directory in directory
C:/Development/Insight/Wrapping/CSwig/IO</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>used as include directory in directory
C:/Development/Insight/Wrapping/CSwig/Algorithms</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>used as include directory in directory
C:/Development/Insight/Wrapping/CSwig/Tests</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>used as include directory in directory
C:/Development/Insight/Wrapping/CSwig/Tests/Tcl</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>PYTHON_LIBRARY (ADVANCED)</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>linked by target &quot;SwigRuntimePython&quot; in
directory C:/Development/Insight/Wrapping/CSwig/SwigRuntime</span><span
lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>linked by target &quot;_VXLNumericsPython&quot; in
directory C:/Development/Insight/Wrapping/CSwig/VXLNumerics</span><span
lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>linked by target &quot;_ITKCommonAPython&quot; in
directory C:/Development/Insight/Wrapping/CSwig/CommonA</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>linked by target &quot;_ITKCommonBPython&quot; in
directory C:/Development/Insight/Wrapping/CSwig/CommonB</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>linked by target &quot;_ITKNumericsPython&quot; in
directory C:/Development/Insight/Wrapping/CSwig/Numerics</span><span
lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>linked by target
&quot;_ITKBasicFiltersAPython&quot; in directory
C:/Development/Insight/Wrapping/CSwig/BasicFiltersA</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>linked by target
&quot;_ITKBasicFiltersBPython&quot; in directory
C:/Development/Insight/Wrapping/CSwig/BasicFiltersB</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>linked by target &quot;_ITKIOPython&quot; in
directory C:/Development/Insight/Wrapping/CSwig/IO</span><span lang=EN-GB><o:p></o:p></span></p>

<p style='margin:0cm;margin-bottom:.0001pt;-qt-block-indent:0'><span
lang=EN-GB style='color:red'>linked by target &quot;_ITKAlgorithmsPython&quot;
in directory C:/Development/Insight/Wrapping/CSwig/Algorithms</span><span
lang=EN-GB><o:p></o:p></span></p>

<p class=MsoNormal style='-qt-paragraph-type:empty;-qt-block-indent:0'><span
lang=EN-GB><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>I&#8217;m using CMake 2.8.2 and I have
Python 2.6 installed. I tried a couple of things for setting the Python
Libraries, but nothing has worked out so far. Should they be in one of these
directories <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>(...Python\Lib or Python\libs) or am I
missing something?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>Thank you in advance.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>Regards,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>Rita<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p>

</div>

</body>

</html>