WG: [Insight-users] Errors in building ITK under LINUX (SuSE)
hhiraki@lab.nig.ac.jp
hhiraki at lab . nig . ac . jp
Fri, 05 Dec 2003 18:43:23 +0900
Hi salah,
My guess is your gcc 3.1.xxxx compiles a C++ program to link
with its C++ runtime dynamic-library. VXL configure script
checks if a C++ program can be compiled and run. If gcc's C++
runtime is not in the search path, the compiled program isn't
runnable. I could build ITK with BUILD_SHARED_LIBS=ON after
setting the enviroment variable LD_LIBRARY_PATH to include
the path where libstdc++.so was installed.
Regards,
Hideaki Hiraki
"salah" <salah at gris . uni-tuebingen . de> wrote:
> Hello all,
>
> I am trying to build ITK under Linux (SuSE 9.0). I am just new to
> Linux. I followed the instruction in the ITK Sofware Guide.
>
> 1. I have used
>
> - cmake 1.8.2
> - ITK release 1.4
>
> The Cmake has generated the following errors and did not continue:
>
> CMake Error: VXL configure script failed
> CMake Error: Internal CMake error, TryCompile configure of cmake failed
>
> 2. I then tried to build itk release 1.2. Cmake has built fine, I suppose!
> when I called make from the binary directory of itk, a long list of errors
> appeared. I attached these errors in a file with this email. I think my c++
> compiler is gcc 3.1.xxxx.
>