Building vtk 7.0 ubuntu errors

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Building vtk 7.0 ubuntu errors

jaki19
This post was updated on .
Hallo,
In order to build java classes from vtk 7.0, I don't understand why I have this error (do I missed to install some files??) I don't think that I have to edit the V_HexMetric.cpp file with #include <string.h> :

    [67%] Building CXX object ThirdParty/verdict/vtkverdict/CMakeFiles/verdict.dir/V_HexMetric.cpp.o
     /home/dev/Documents/VTK-7.0.0/ThirdParty/verdict/vtkverdict/V_HexMetric.cpp: In function
     ‘void v_hex_quality(int, double (*)[3], unsigned int, HexMetricVals*)’:
     /home/dev/Documents/VTK-7.0.0/ThirdParty/verdict/vtkverdict/V_HexMetric.cpp:2699:49:
     error: ‘memset’ was not declared in this scope
     memset( metric_vals, 0, sizeof(HexMetricVals) );
                                                 ^
     make[2]: *** [ThirdParty/verdict/vtkverdict/CMakeFiles/verdict.dir/V_HexMetric.cpp.o] Erreur 1
     make[1]: *** [ThirdParty/verdict/vtkverdict/CMakeFiles/verdict.dir/all] Erreur 2
     make: *** [all] Erreur 2

System: Ubuntu 14

Many thanks