You are not logged in.

#1 2008-06-26 08:17:35

sidc
Member
Registered: 2008-06-19
Posts: 76

Unable to compile VTK

I tried compiling VTK using both yaourt and the direct method( manually from the AUR website ), but I keep getting this error
.....
[  0%] Java Wrappings
[  0%] Java Wrappings
[  2%] Built target vtkIOJavaJavaClasses
Linking CXX shared library ../../bin/libvtksys.so
[  2%] Built target vtksys
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

I'd appreciate it if someone could resolve this.

Offline

#2 2008-06-26 09:21:29

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Unable to compile VTK

Did you try alennons patch from the AUR comment-page? I am just trying and writing this the build prcess is at "%" right now.

Offline

#3 2008-06-26 14:58:21

sidc
Member
Registered: 2008-06-19
Posts: 76

Re: Unable to compile VTK

No I did not try his patch since it was intended to solve a different issue apparently. But, I tried it again now with the patch and it still does not compile.

Last edited by sidc (2008-06-26 15:06:58)

Offline

#4 2008-06-27 19:42:37

sidc
Member
Registered: 2008-06-19
Posts: 76

Re: Unable to compile VTK

Finally! I managed to compile and install it. It seems that gcc 4.3 is quite a step apart from other versions. It is causing issues in lots of compilations. Anyway, to compile it, I just had to edit 3 files

- Utilities/DICOMParser/DICOMAppHelper.cxx
- Utilities/DICOMParser/DICOMFile.cxx
- Utilities/DICOMParser/DICOMParser.cxx
I changed the <string> header to <string.h>

Last edited by sidc (2008-06-27 19:49:10)

Offline

Board footer

Powered by FluxBB