[vtkusers] Compilation problem vtk 6.1.0

Etudes NG nathanael.geng at etudes-ng.net
Thu Mar 13 05:43:00 EDT 2014


Hello,

I try to compile vtk 6.1 in debug mode in centos 6.5.
Here is the log:
[ 13%] Linking C shared library ../../../lib/libvtktiff-6.1.so
Building C object
ThirdParty/libxml2/vtklibxml2/CMakeFiles/vtklibxml2.dir/xpath.c.o
/mnt/DataDrive/sw/build/VTK-6.1.0/ThirdParty/libxml2/vtklibxml2/xmlwriter.c:
In function 'xmlTextWriterVSprintf':
/mnt/DataDrive/sw/build/VTK-6.1.0/ThirdParty/libxml2/vtklibxml2/xmlwriter.c:41:40:
error: incompatible types when assigning to type 'va_list' from type
'struct __va_list_tag *'
       #define VA_COPY(dest,src) (dest) = (src)
                                        ^
/mnt/DataDrive/sw/build/VTK-6.1.0/ThirdParty/libxml2/vtklibxml2/xmlwriter.c:4384:5:
note: in expansion of macro 'VA_COPY'
     VA_COPY(locarg, argptr);
     ^
/mnt/DataDrive/sw/build/VTK-6.1.0/ThirdParty/libxml2/vtklibxml2/xmlwriter.c:41:40:
error: incompatible types when assigning to type 'va_list' from type
'struct __va_list_tag *'
       #define VA_COPY(dest,src) (dest) = (src)
                                        ^
/mnt/DataDrive/sw/build/VTK-6.1.0/ThirdParty/libxml2/vtklibxml2/xmlwriter.c:4396:9:
note: in expansion of macro 'VA_COPY'
         VA_COPY(locarg, argptr);
         ^
[ 13%] Building C object
ThirdParty/libproj4/vtklibproj4/CMakeFiles/vtkproj4.dir/proj_s_min_err.c.o
make[2]: ***
[ThirdParty/libxml2/vtklibxml2/CMakeFiles/vtklibxml2.dir/xmlwriter.c.o]
Error 1
make[2]: *** Waiting for unfinished jobs....

I try with vtk 5.10, same problem..

Thanks in advance for the help!

Nathanaël.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140313/b8a975cc/attachment.html>


More information about the vtkusers mailing list