<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello,<div><br></div><div>Can you please send me you CMakeCache.txt file from the build directory.</div><div><br></div><div>The simplest thing to do may be to remote using the anaconda "system" tiff library and just use the one ITK has. This can be done by modifying the conda recipe build script here [1].</div><div><br></div><div>Most likely there is some confusion which occurs during the CMake configuration about which tiff library to use.</div><div><br></div><div>Brad</div><div><br></div><div>[1] <a href="https://github.com/conda/conda-recipes/blob/master/simpleitk/build.sh#L35">https://github.com/conda/conda-recipes/blob/master/simpleitk/build.sh#L35</a></div><div><br><div><div>On Oct 23, 2014, at 4:43 AM, Guillaume Lemaître <<a href="mailto:g.lemaitre58@gmail.com">g.lemaitre58@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div><div>Hi all,<br><br></div><div>First, I am a newbie in Python and anaconda and sorry in advance if things seems trivial<br></div>I tried to install SimpleITK through conda-recipe. The installation by itself seems to be fined but the test is failling:<br><br>==== testing package: simpleitk-0.8.0.post29-py27_0 =====<br>import: u'SimpleITK'<br>Traceback (most recent call last):<br> File "/home/lemaitre/anaconda/conda-bld/test-tmp_dir/run_test.py", line 25, in <module><br> import SimpleITK<br> File "/home/lemaitre/anaconda/envs/_test/lib/python2.7/site-packages/SimpleITK/__init__.py", line 1, in <module><br> from .SimpleITK import *<br> File "/home/lemaitre/anaconda/envs/_test/lib/python2.7/site-packages/SimpleITK/SimpleITK.py", line 28, in <module><br> _SimpleITK = swig_import_helper()<br> File "/home/lemaitre/anaconda/envs/_test/lib/python2.7/site-packages/SimpleITK/SimpleITK.py", line 24, in swig_import_helper<br> _mod = imp.load_module('_SimpleITK', fp, pathname, description)<br>ImportError: /home/lemaitre/anaconda/envs/_test/lib/python2.7/site-packages/SimpleITK/_SimpleITK.so: symbol TIFFFieldDataType, version LIBTIFF_4.0 not defined in file libtiff.so.5 with link time reference<br>TESTS FAILED: simpleitk-0.8.0.post29-py27_0<br><br></div><div>I got that the issue is linked with the libtiff but I believed that anaconda would manage the installation of the dependencies needed.<br><br></div><div>My system is:<br></div><div>Ubuntu 14.04<br>Python 2.7.8 |Anaconda 2.1.0 (64-bit)| (default, Aug 21 2014, 18:22:21) <br>[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2<br><br></div><div>Cheers,</div><div><br>-- <br><div dir="ltr"><div><span style="font-family: 'Times New Roman'; font-size: inherit;"><table style="width:638px" cellpadding="0" border="0"><tbody><tr style="height:37.5pt"><td style="width:228px;height:37.5pt;padding:0.75pt" align="left" valign="top"><b><span style="font-family:Arial,Helvetica;font-size:8pt">LEMAÎTRE Guillaume</span><span style="font-size:8pt;font-family:Helvetica"><br></span><font size="1"><span style="font-family:Arial">PhD Candiate<br>MSc Erasmus Mundus ViBOT (Vision-roBOTic)<br></span></font><span style="font-size:7.5pt;font-family:Arial" lang="EN-GB"><font>MSc Business Innovation and Technology Management<br></font></span></b><span style="font-size:7.5pt;font-family:Arial" lang="EN-GB"><b><br></b><font color="#0DB02B"><a href="mailto:g.lemaitre58@gmail.com" target="_blank">g.lemaitre58@gmail.com</a><br><br></font></span><div><br class="webkit-block-placeholder"></div></td><td style="width:400px;height:37.5pt;padding:0.75pt" align="left" valign="top"><span style="font-size:8pt"><b><span style="font-family:Arial,Helvetica">ViCOROB - Computer Vision and Robotic Team</span></b></span><span style="font-size:7.5pt;font-family:Arial"><br>Universitat de Girona, Campus Montilivi, Edifici P-IV 17071 Girona<br>Tel. +34 972 41 98 12 - Fax. +34 972 41 82 59 </span><br><span lang="EN-GB"><a href="http://vicorob.udg.es/" style="font-family:Arial;font-size:7.5pt" target="_blank">http://vicorob.udg.es/</a><br><font><b><font face="Arial, Helvetica"><span style="font-size:11px">LE2I - Le Creusot</span></font><br></b><font face="Arial" size="1">IUT Le Creusot, Laboratoire LE2I, 12 rue de la Fonderie, 71200 Le Creusot<br>Tel. +33 3 85 73 10 90</font></font><span style="font-family:Arial;font-size:x-small"> - Fax. +33 3 85 73 10 97</span><span style="font-family:Arial;font-size:x-small"> </span><span style="font-family:Arial;font-size:x-small"><br></span><span style="font-family:Arial;font-size:7.5pt" lang="EN-GB"><a href="http://le2i.cnrs.fr/" target="_blank">http://le2i.cnrs.fr</a></span></span></td></tr></tbody></table></span></div><div style="text-align:left"><img src="https://sites.google.com/site/glemaitre58/_/rsrc/1340103962984/config/le2i.png"> <img src="https://sites.google.com/site/glemaitre58/_/rsrc/1340103388011/config/vico.png"> <img src="https://sites.google.com/site/glemaitre58/_/rsrc/1340103887254/config/ub.png"> <img src="https://sites.google.com/site/glemaitre58/_/rsrc/1340103809482/config/udg.png"> <img src="https://sites.google.com/site/glemaitre58/_/rsrc/1340104225210/config/vibot.png"></div><a href="https://sites.google.com/site/glemaitre58/" target="_blank">https://sites.google.com/site/glemaitre58/</a><br>Vice - Chairman of A.S.C. Fours UFOLEP<br>Chairman of A.S.C. Fours FFC<br>Webmaster of <a href="http://ascfours.free.fr/" target="_blank">http://ascfours.free.fr</a></div>
</div></div>
_____________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://www.kitware.com/products/protraining.php<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://public.kitware.com/mailman/listinfo/insight-users<br></blockquote></div><br></div></body></html>