Hi Brad,<br><br>Yes, the error reported was related to the xxx64 methods...<br>I pulled tag 4.3rc04 and it got past that problem.<br>Unfortunately, a new problem appeared:<br><br>...<br>[ 87%] Building CXX object Modules/IO/HDF5/test/CMakeFiles/ITKIOHDF5TestDriver.dir/itkHDF5ImageIOStreamingReadWriteTest.cxx.o<br>
In file included from /home/lucid/InsightToolkit-4.3rc04/Modules/IO/ImageBase/include/itkImageFileReader.h:195,<br> from /home/lucid/InsightToolkit-4.3rc04/Modules/IO/ImageBase/include/itkIOTestHelper.h:24,<br>
from /home/lucid/InsightToolkit-4.3rc04/Modules/IO/HDF5/test/itkHDF5ImageIOStreamingReadWriteTest.cxx:19:<br>/home/lucid/InsightToolkit-4.3rc04/Modules/IO/ImageBase/include/itkImageFileReader.hxx: In member function 'void itk::ImageFileReader<TOutputImage, ConvertPixelTraits>::GenerateData() [with TOutputImage = itk::Image<float, 3u>, ConvertPixelTraits = itk::DefaultConvertPixelTraits<float>]':<br>
/home/lucid/InsightToolkit-4.3rc04/Modules/IO/HDF5/test/itkHDF5ImageIOStreamingReadWriteTest.cxx:134: instantiated from here<br>/home/lucid/InsightToolkit-4.3rc04/Modules/IO/ImageBase/include/itkImageFileReader.hxx:437: warning: cast from 'char*' to 'const float*' increases required alignment of target type<br>
/home/lucid/InsightToolkit-4.3rc04/Modules/IO/ImageBase/include/itkImageFileReader.hxx:437: warning: cast from 'char*' to 'const float*' increases required alignment of target type<br>At global scope:<br>cc1plus: warning: unrecognized command line option "-Wno-long-double"<br>
Linking CXX executable ../../../../bin/ITKIOHDF5TestDriver<br>../../../../lib/libitkhdf5-4.3.a(H5.c.o): In function `H5check_version':<br>H5.c:(.text+0x2b4): undefined reference to `H5libhdf5_settings'<br>../../../../lib/libitkhdf5-4.3.a(H5T.c.o): In function `H5T_init_interface':<br>
H5T.c:(.text+0x13b8): undefined reference to `H5TN_init_interface'<br>collect2: ld returned 1 exit status<br>make[2]: *** [bin/ITKIOHDF5TestDriver] Error 1<br>make[1]: *** [Modules/IO/HDF5/test/CMakeFiles/ITKIOHDF5TestDriver.dir/all] Error 2<br>
make: *** [all] Error 2<br>lucid@ubuntu:~/ITK-MX53-4.3rc04$ <br><br>--Ed<br><br><div class="gmail_quote">On Mon, Dec 10, 2012 at 11:56 AM, Bradley Lowekamp <span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I think that the following patch which has been included in the 4.3 release candidate should address the problem:<div>
<br></div><div><a href="https://github.com/Kitware/ITK/commit/8e802e50259e4bd92e4ad761e434d46c639ab70d" target="_blank">https://github.com/Kitware/ITK/commit/8e802e50259e4bd92e4ad761e434d46c639ab70d</a></div><div><br></div>
<div>Was the error reported related to the methods modified above not being available?</div><div><br></div><div>Brad</div><div><div class="h5"><div><br><div><div>On Dec 10, 2012, at 1:45 PM, Ed Menard <<a href="mailto:emenard@nvs-technologies.com" target="_blank">emenard@nvs-technologies.com</a>> wrote:</div>
<br><blockquote type="cite">Hi Vladmir,<br><br>Thanks for pointing me in the right direction...<br>Setting ITK_USE_SYSTEM_TIFF to ON did help, but then I found that the TIFF library built for my target system was an older version, and ITK still wouldn't compile...<br>
<br>No time at the moment to update/rebuild my cross-environment, so I dropped back to ITK 3.20.1, and that compiled successfully (with ITK_USE_SYSTEM_TIFF)...<br><br>Thanks for your help!<br>--Ed<br><br><div class="gmail_quote">
On Sun, Dec 9, 2012 at 9:20 AM, Vladimir S. FONOV <span dir="ltr"><<a href="mailto:vladimir.fonov@gmail.com" target="_blank">vladimir.fonov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hello,<div><br></div><div>the problem comes from the fact that ITK bundles lib tiff library source in Modules/ThirdParty/TIFF/src , which builds a binary program ( itkmkg3states from mkg3states.c) which is used to generate the source of tif_fax3sm.c </div>
<div><br></div><div>In case of cross-platform build it means that Cmake have to figure out that itkmkg3states have to be build using your host compiler and not cross-compiler (i.e building a binary for intel instead for arm). </div>
<div><br></div><div>You can probably get around it by using libtiff which comes with iMX build environment ( set ITK_USE_SYSTEM_TIFF to ON)</div><div><br><div><div>On 2012-12-09, at 12:00 PM, <a href="mailto:insight-users-request@itk.org" target="_blank">insight-users-request@itk.org</a> wrote:</div>
<br><blockquote type="cite"><span style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">Here are the steps I performed:</span><br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">- Created an empty directory (ITK-MX53-4.2.1), peer with the sources</span><br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">(InsightToolkit-4.2.1)</span><br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">- Created a ToolChain-MX53.cmake file (including setting CMAKE_SYSTEM_NAME</span><br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">to Linux and other settings)</span><br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">- Copied ToolChain-MX53.cmake to ITK-MX53-4.2.1</span><br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">- From ITK-MX53-4.2.1 ran: cmake</span><br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">-DCMAKE_TOOLCHAIN_FILE=./Toolchain-MX53.cmake ../InsightToolkit-4.2.1</span><br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">- Copied the generated cmTryCompileExecXxx files to the target and ran them,</span><br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">and then copied TryRunResults.cmake to TryRunResults-MX53.cmake and updated</span><br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">with the obtained results</span><br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">- From ITK-MX53-4.2.1 ran: cmake -C ./TryRunResults-MX53.cmake</span><br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">../InsightToolkit-4.2.1</span><br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">- Ran make</span></blockquote>
</div><br><div>
<div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-wrap:break-word;word-spacing:0px">
<div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-wrap:break-word;word-spacing:0px">
<div>---</div><div>Best regards,</div><div><br></div><div>Vladimir S. FONOV </div><div><br></div></div><br></div><br><br>
</div>
<br></div></div><br>_____________________________________<br>
Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>
_____________________________________<br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>Kitware offers ITK Training Courses, for more information visit:<br><a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br></div></div></div></div></blockquote></div><br>