<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Andriy,<div><br></div><div>I was able to successfully configure, build and test SimpleITK with EPDFree7.1. I posted more details under your created JIRA issue.</div><div><br></div><div>The tricky part is setting the advanced CMake variables for the EPD's version of python I had to set the following under ccmake's advanced settings:</div><div><br></div><div><div><span class="Apple-style-span" style="font-family: arial, FreeSans, Helvetica, sans-serif; font-size: 14px; line-height: 20px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">PYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/7.1/bin/python<br>PYTHON_INCLUDE_DIR=/Library/Frameworks/Python.framework/Versions/7.1/Headers<br>PYTHON_LIBRARY=/Library/Frameworks/Python.framework/Versions/7.1/lib/libpython2.7.dylib</p></span></div><div></div></div><div><br></div><div>Hope this helps,</div><div>Brad</div><div><br></div><div>On Oct 19, 2011, at 5:43 PM, Andriy Fedorov wrote:<span class="Apple-style-span" style="font-family: arial, FreeSans, Helvetica, sans-serif; font-size: 14px; line-height: 20px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br></p></span></div><div><div><blockquote type="cite"><div>Thanks, Matt. An issue has been created here:<br><a href="https://itk.icts.uiowa.edu/jira/browse/SIMPLEITK-198">https://itk.icts.uiowa.edu/jira/browse/SIMPLEITK-198</a><br><br>On Wed, Oct 19, 2011 at 12:52 PM, Matt McCormick<br>&lt;matt.mccormick@kitware.com&gt; wrote:<br><blockquote type="cite">Hi Andriy,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks for the report. &nbsp;An issue can be created here:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">https://itk.icts.uiowa.edu/jira/browse/SIMPLEITK<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite">Matt<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Wed, Oct 19, 2011 at 12:39 PM, Andriy Fedorov<br></blockquote><blockquote type="cite">&lt;fedorov@bwh.harvard.edu&gt; wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Hi,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I compiled SimpleITK from source, and am now trying to install it so<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">that python can see the package. Maybe I am not doing it correctly,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">but I have a runtime error while trying to import the package. Any<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">suggestions?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">My system details: OSX 10.6.8 (Snow Leopard), gcc-4.2.1, python 2.7.1.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Python has been installed from an Enthought distribution.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">If I need to submit a bug report, can someone point me to the right<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">location to do this? Is this regular ITK MAntis or not?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">[fedorov@bear site-packages] easy_install SimpleITK-0.3.0-py2.7.egg<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Processing SimpleITK-0.3.0-py2.7.egg<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Copying SimpleITK-0.3.0-py2.7.egg to<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">/Library/Frameworks/EPD64.framework/Versions/7.0/lib/python2.7/site-packages<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Adding SimpleITK 0.3.0 to easy-install.pth file<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Installed /Library/Frameworks/EPD64.framework/Versions/7.0/lib/python2.7/site-packages/SimpleITK-0.3.0-py2.7.egg<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Processing dependencies for SimpleITK==0.3.0<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Finished processing dependencies for SimpleITK==0.3.0<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">[fedorov@bear site-packages] ipython<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Enthought Python Distribution -- http://www.enthought.com<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Python 2.7.1 |EPD 7.0-2 (64-bit)| (r271:86832, Dec &nbsp;3 2010, 15:56:20)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Type "copyright", "credits" or "license" for more information.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">IPython 0.10.1 -- An enhanced Interactive Python.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">? &nbsp; &nbsp; &nbsp; &nbsp; -&gt; Introduction and overview of IPython's features.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">%quickref -&gt; Quick reference.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">help &nbsp; &nbsp; &nbsp;-&gt; Python's own help system.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">object? &nbsp; -&gt; Details about 'object'. ?object also works, ?? prints more.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">In [1]: import SimpleITK<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Fatal Python error: PyThreadState_Get: no current thread<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Abort trap<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">--<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Andriy Fedorov, Ph.D.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Research Fellow<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Brigham and Women's Hospital<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Harvard Medical School<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">75 Francis Street<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Boston, MA 02115 USA<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">fedorov@bwh.harvard.edu<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">(617) 525-6258&nbsp;(office)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_____________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Powered by www.kitware.com<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Visit other Kitware open-source projects at<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">http://www.kitware.com/opensource/opensource.html<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Kitware offers ITK Training Courses, for more information visit:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">http://www.kitware.com/products/protraining.html<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Please keep messages on-topic and check the ITK FAQ at:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">http://www.itk.org/Wiki/ITK_FAQ<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Follow this link to subscribe/unsubscribe:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">http://www.itk.org/mailman/listinfo/insight-users<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote>_____________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at<br>http://www.kitware.com/opensource/opensource.html<br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://www.kitware.com/products/protraining.html<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.itk.org/mailman/listinfo/insight-users<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; 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-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">========================================================</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Bradley Lowekamp<span class="Apple-converted-space">&nbsp;</span><span class="Apple-converted-space">&nbsp;</span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Medical Science and Computing for</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Office of High Performance Computing and Communications</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">National Library of Medicine<span class="Apple-converted-space">&nbsp;</span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; "><a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a></font></p><br class="Apple-interchange-newline"></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>