<div dir="ltr"><div><div><div>You probably don't want to do "touch *" since CMake and the generated Makefiles will automatically deal with time stamps for files. Often at times like this it's best to start from scratch in a clean build directory.<br><br></div>Another thing to check with your CMake configuration for Python is the Python interpretor, include directory and library. In the past when Python 2 and Python 3 were installed on the same system CMake would get confused. and mix them. You can check the following CMake variables and values for my machine:<br> PYTHON_EXECUTABLE /usr/bin/python2<br> PYTHON_EXTRA_LIBS<br> PYTHON_INCLUDE_DIR /usr/include/python2.7<br> PYTHON_LIBRARY /usr/lib/x86_64-linux-gnu/<a href="http://libpython2.7.so">libpython2.7.so</a><br><br><br></div>Cheers,<br></div>Andy<br><div><div><div><div><br><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 11, 2017 at 6:30 PM, Andrew Lam <span dir="ltr"><<a href="mailto:werdna.mal222@gmail.com" target="_blank">werdna.mal222@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi, my name is Andrew. I'm currently in a class that requires us to install VTK.<br><br></div>I have an issue running make in my VTK-build directory. I get a bunch of clock skew issues that pop up that won't go away after calling<br><br></div>$ touch *<br><br></div><div>then it will print out<br><br>make[2]: *** [Wrapping/Python/<wbr>vtkAngularPeriodicDataArrayPyt<wbr>hon.cxx] Error 1<br>make[1]: *** [Wrapping/Python/CMakeFiles/<wbr>vtkCommonCorePythonD.dir/all] Error 2<br></div><div><br></div>it will then run to about 32% and then end printing<br><br>make: *** [all] Error 2<br><br></div>I'm using python 2.7, VTK 7.1.1, cmake 3.7.2<br></div>I'm also going to include the output of the make call. Please let me know if you have any suggestions or if you need any more information to understand the issue.<br><br>[ 0%] Built target kwiml_test<br>[ 0%] Built target vtksys<br>[ 1%] Built target vtkWrappingTools<br>[ 1%] Built target vtkalglib<br>[ 1%] Built target vtkexpat<br>[ 2%] Built target vtkzlib<br>[ 2%] Built target vtkDICOMParser<br>[ 2%] Built target vtkEncodeString<br>[ 2%] Built target vtkjpeg<br>[ 2%] Built target vtkHashSource<br>[ 2%] Built target vtkglew<br>[ 2%] Built target H5make_libsettings<br>[ 2%] Built target H5detect<br>[ 2%] Built target vtkWrapTcl<br>[ 2%] Built target vtkParseJava<br>[ 2%] Built target vtkWrapPython<br>[ 2%] Built target vtkWrapPythonInit<br>[ 2%] Built target vtkWrapTclInit<br>[ 2%] Built target vtkWrapJava<br>[ 2%] Built target vtkjsoncpp<br>[ 2%] Built target verdict<br>[ 2%] Built target vtksqlite<br>[ 2%] Built target vtkoggtheora<br>[ 2%] Built target vtkWrapHierarchy<br>[ 4%] Built target vtkproj4<br>[ 4%] Built target vtkfreetype<br>[ 5%] Built target vtklibxml2<br>[ 5%] Built target vtkpng<br>[ 5%] Built target vtkmetaio<br>[ 5%] Built target vtkgl2ps<br>[ 5%] Built target vtktiff<br>[ 20%] Built target vtkCommonCore<br>[ 26%] Built target VTKData<br>[ 28%] Built target vtkCommonSystem<br>[ 29%] Built target vtkCommonMath<br>[ 29%] Built target vtkhdf5<br>[ 29%] Built target vtkWrappingPythonCore<br>[ 29%] Built target vtkLocalExample<br>[ 29%] Built target vtkCommonMisc<br>[ 29%] Built target vtkCommonTransforms<br>[ 29%] Built target vtkCommonSystemCxxTests<br>[ 29%] Python Wrapping - generating vtkAbstractArrayPython.cxx<br>[ 29%] Built target vtkhdf5_hl<br>Usage: vtkWrapPython-7.1 [options] infile... <br> --help print this help message<br> --version print the VTK version<br> -o <file> the output file<br> -I <dir> add an include directory<br> -D <macro[=def]> define a preprocessor macro<br> -U <macro> undefine a preprocessor macro<br> @<file> read arguments from a file<br> --hints <file> the hints file to use<br> --types <file> the type hierarchy file to use<br> --concrete force concrete class (ignored, deprecated)<br> --abstract force abstract class (ignored, deprecated)<br> --vtkobject vtkObjectBase-derived class (ignored, deprecated)<br> --special non-vtkObjectBase class (ignored, deprecated)<br>make[2]: *** [Wrapping/Python/<wbr>vtkAbstractArrayPython.cxx] Error 1<br>make[2]: *** Waiting for unfinished jobs....<br>[ 29%] Built target vtkpython<br>[ 29%] Python Wrapping - generating vtkAngularPeriodicDataArrayPyt<wbr>hon.cxx<br>Usage: vtkWrapPython-7.1 [options] infile... <br> --help print this help message<br> --version print the VTK version<br> -o <file> the output file<br> -I <dir> add an include directory<br> -D <macro[=def]> define a preprocessor macro<br> -U <macro> undefine a preprocessor macro<br> @<file> read arguments from a file<br> --hints <file> the hints file to use<br> --types <file> the type hierarchy file to use<br> --concrete force concrete class (ignored, deprecated)<br> --abstract force abstract class (ignored, deprecated)<br> --vtkobject vtkObjectBase-derived class (ignored, deprecated)<br> --special non-vtkObjectBase class (ignored, deprecated)<br>make[2]: *** [Wrapping/Python/<wbr>vtkAngularPeriodicDataArrayPyt<wbr>hon.cxx] Error 1<br>make[1]: *** [Wrapping/Python/CMakeFiles/<wbr>vtkCommonCorePythonD.dir/all] Error 2<br>make[1]: *** Waiting for unfinished jobs....<br>Scanning dependencies of target vtkCommonMathCxxTests<br>make[2]: Warning: File `Common/Math/Testing/Cxx/<wbr>CMakeFiles/<wbr>vtkCommonMathCxxTests.dir/<wbr>depend.make' has modification time 0.041 s in the future<br>[ 29%] Building CXX object Common/Math/Testing/Cxx/<wbr>CMakeFiles/<wbr>vtkCommonMathCxxTests.dir/<wbr>vtkCommonMathCxxTests.cxx.o<br>[ 29%] Building CXX object Common/Math/Testing/Cxx/<wbr>CMakeFiles/<wbr>vtkCommonMathCxxTests.dir/<wbr>TestAmoebaMinimizer.cxx.o<br>[ 30%] Built target vtkCommonCoreCxxTests<br>[ 30%] Building CXX object Common/Math/Testing/Cxx/<wbr>CMakeFiles/<wbr>vtkCommonMathCxxTests.dir/<wbr>TestMatrix3x3.cxx.o<br>[ 30%] Building CXX object Common/Math/Testing/Cxx/<wbr>CMakeFiles/<wbr>vtkCommonMathCxxTests.dir/<wbr>TestPolynomialSolversUnivariat<wbr>e.cxx.o<br>[ 30%] Building CXX object Common/Math/Testing/Cxx/<wbr>CMakeFiles/<wbr>vtkCommonMathCxxTests.dir/<wbr>TestQuaternion.cxx.o<br>[ 30%] Linking CXX executable ../../../../bin/<wbr>vtkCommonMathCxxTests<br>[ 32%] Built target vtkCommonDataModel<br>make[2]: warning: Clock skew detected. Your build may be incomplete.<br>[ 32%] Built target vtkCommonMathCxxTests<br>make: *** [all] Error 2<br><br></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>