<br>Hi Eugen,<br><br>Thanks a lot for posting the configuration output of your build.<br><br>I just compared to what I get in my build of ITK 3.18 with gcc-4.1.<br><br> * g++-4.4 (Ubuntu 4.4.1-4ubuntu9) 4.4.1<br> * Ubuntu 9.10 installed in a 64bits machine.<br>
<br><br>Here are the differences:<br><br><br>3,4c3,4<br>< -- Check for working C compiler: /usr/bin/gcc<br>< -- Check for working C compiler: /usr/bin/gcc -- works<br>---<br>> -- Check for working C compiler: /usr/bin/gcc-4.4<br>
> -- Check for working C compiler: /usr/bin/gcc-4.4 -- works<br>7,8c7,8<br>< -- Check for working CXX compiler: /usr/bin/c++<br>< -- Check for working CXX compiler: /usr/bin/c++ -- works<br>---<br>> -- Check for working CXX compiler: /usr/bin/g++-4.4<br>
> -- Check for working CXX compiler: /usr/bin/g++-4.4 -- works<br>333c333<br>< -- Looking for C++ include emmintrin.h - not found<br>---<br>> -- Looking for C++ include emmintrin.h - found<br>335,337c335,343<br>< -- Performing Try-Run Test VXL_HAS_SSE2_HARDWARE_SUPPORT - Test Compilation Failed<br>
< -- Performing Test VXL_SSE2_HARDWARE_SUPPORT_POSSIBLE<br>< -- Performing Test VXL_SSE2_HARDWARE_SUPPORT_POSSIBLE - Success<br>---<br>> -- Performing Test VXL_HAS_SSE2_HARDWARE_SUPPORT - Success<br>> -- Performing Test VXL_HAS_MM_MALLOC<br>
> -- Performing Test VXL_HAS_MM_MALLOC - Success<br>> -- Performing Test VXL_HAS_ALIGNED_MALLOC<br>> -- Performing Test VXL_HAS_ALIGNED_MALLOC - Failed<br>> -- Performing Test VXL_HAS_MINGW_ALIGNED_MALLOC<br>> -- Performing Test VXL_HAS_MINGW_ALIGNED_MALLOC - Failed<br>
> -- Performing Test VXL_HAS_POSIX_MEMALIGN<br>> -- Performing Test VXL_HAS_POSIX_MEMALIGN - Failed<br>378c384<br>< -- Looking for 64-bit int. Found long long.<br>---<br>> -- Looking for 64-bit int. Found long.<br>
390c396<br>< -- Looking for 96-bit float. Found long double.<br>---<br>> -- Looking for 96-bit float. Not found.<br>394c400<br>< -- Looking for 128-bit float. Not found.<br>---<br>> -- Looking for 128-bit float. Found long double.<br>
510c516<br>< -- Build files have been written to: /home/eugen/development/slam/Installationen/InsightToolkit/InsightToolkit-3.18.0/_build<br>---<br>> -- Build files have been written to: /home/ibanez/src/ITK-3-18/Builds/ProblemReported<br>
<br><br>---------------------------------<br><br>Most of the differences seem to be related to 64bits vs 32bits.<br>(Is your Ubuntu installation a 64 bits one ? )<br><br>Also,<br><br>I'm wondering about the binary directory where you are trying<br>
to build ITK. <br><br>Are you placing this binary directory inside the source tree of ITK ?<br><br>That can easily confuse the CMake configuration process.<br><br><br> Please let us know<br><br><br> Thanks<br><br>
<br> Luis<br><br><br><br><br>---------------------------------------------------------------------------------------------<br><div class="gmail_quote">On Mon, Apr 26, 2010 at 5:33 AM, Eugen Funk <span dir="ltr"><<a href="mailto:eugen.funk@gmail.com">eugen.funk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Luis, hi Bill,<br><br>thank you for you responce.<br>I still didnt manage to compile the toolkit.<br>
Maybe some information about my system gives some ides:<br><br><ul><li>Ubuntu 9.10</li><li>gcc 4.4.1 (No other version installed)<br>
</li><li>I did not set any variables (eg paths to gcc and gcc++) directly to gcc in cmake. Since i do not have other compilers installed, i assume that the right one is chosen. Here is the list of<br>ls /usr/bin | grep gcc<br>
c89-gcc<br>c99-gcc<br>gcc<br>gcc-4.4<br>gccxml<br>gccxml_cc1plus<br>i486-linux-gnu-gcc<br>i486-linux-gnu-gcc-4.4<br>winegcc</li></ul>At the end I attached the whole output of cmake since i do not know which of checks is responsibel for the definitions used in Utilities/itkjpeg/jpeglib.h.<br>
<br>Thanks again!<br><br>Output:<br>-- The C compiler identification is GNU<br>-- The CXX compiler identification is GNU<br>-- Check for working C compiler: /usr/bin/gcc<br>-- Check for working C compiler: /usr/bin/gcc -- works<br>
-- Detecting C compiler ABI info<br>-- Detecting C compiler ABI info - done<br>-- Check for working CXX compiler: /usr/bin/c++<br>-- Check for working CXX compiler: /usr/bin/c++ -- works<br>-- Detecting CXX compiler ABI info<br>
-- Detecting CXX compiler ABI info - done<br>-- Looking for sys/types.h<br>-<br></blockquote></div>....snip.........<br>