<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; ">
<div>
<div>
<div style="font-family: Calibri, sans-serif; ">I have finally managed to get ITKv4 w/WrapITK compiled on my Mac OSX (Lion 10.7.4, python 2.7). Now when I try to run the DicomSliceRead.py example, I keep getting the following error: &quot;ImportError: No module
 named InsightToolkit&quot;. I have set the DYLD_<span style="font-style: italic; ">LIBRARY_</span>PATH to the ITK build directory and I still get the same errors.</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; ">During compiling process, These are the variables I set:</div>
<div style="font-family: Calibri, sans-serif; ">BUILD TESTING: OFF</div>
<div style="font-family: Calibri, sans-serif; ">BUILD EXAMPLES: OFF</div>
<div style="font-family: Calibri, sans-serif; ">ITK USE REVIEW: ON</div>
<div style="font-family: Calibri, sans-serif; ">ITK WRAPPING: ON</div>
<div style="font-family: Calibri, sans-serif; ">ITK WRAP PYTHON: ON</div>
<div style="font-family: Calibri, sans-serif; ">ITK WRAP JAVA: ON</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; ">I also tested the helloworld.cxx program and it worked fine, so it must be something with the python wrapping variables. Any help is greatly appreciated.&nbsp;</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; ">Cheers</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div>
<div><font face="Arial" style="font-family: Calibri, sans-serif; color: rgb(0, 0, 0); font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><b><font size="3">Ahmed
 F. Halaweish</font></b></font><span style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; "></span>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Arial"><br>
</font></div>
</div>
</div>
</div>
</div>
</body>
</html>