<div dir="ltr"><div>Hi Andrew,<br><br></div>Please keep the discussions on the mailing list so that everyone can participate.<br><div><div><br>In order to get the Python options you will need to enable Python wrapping in your VTK build. You can do this by setting the VTK_WRAP_PYTHON CMake variable to ON.<br><br></div><div>Best,<br></div><div>Andy<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 11, 2017 at 11:04 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">Hi Andy,<div><br></div><div>Thanks for responding. I can't find those 4 variables you talked about</div><span class=""><div><br></div><div><span style="font-size:12.8px"> PYTHON_EXECUTABLE </span><span style="font-size:12.8px"><wbr> /usr/bin/python2</span><br style="font-size:12.8px"><span style="font-size:12.8px"> PYTHON_EXTRA_LIBS</span><br style="font-size:12.8px"><span style="font-size:12.8px"> PYTHON_INCLUDE_DIR </span><span style="font-size:12.8px"><wbr> /usr/include/python2.7</span><br style="font-size:12.8px"><span style="font-size:12.8px"> PYTHON_LIBRARY </span><span style="font-size:12.8px"><wbr> /usr/lib/x86_64-linux-gnu/</span><a href="http://libpython2.7.so/" style="font-size:12.8px" target="_blank">libp<wbr>ython2.7.so</a><br></div><div><br></div></span><div>When I run ccmake toggle advanced mode and scroll to the section with p variables I only see these variables </div><div><br></div><div>OPENGL_xmesa_INCLUDE_DIR OPENGL_xmesa_INCLUDE_DIR-<wbr>NOTFOUND </div><div>PROJ_BIN_SUBDIR bin </div><div>PROJ_DATA_SUBDIR share/proj </div><div>PROJ_DOC_SUBDIR doc/proj </div><div>PROJ_INCLUDE_SUBDIR include </div><div>PROJ_LIB_SUBDIR lib </div><div>USE_COMPILER_HIDDEN_VISIBILITY ON </div><div><br></div><div>Also regarding starting a clean build directory to resolve the clock skew issues, I've deleted and created a new build directory multiple times now and have still gotten clock skew issues.</div><div><br></div><div>Thanks,</div><div><br></div><div>Andrew</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 11, 2017 at 7:32 PM, Andy Bauer <span dir="ltr"><<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.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>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 <wbr> /usr/bin/python2<br> PYTHON_EXTRA_LIBS<br> PYTHON_INCLUDE_DIR <wbr> /usr/include/python2.7<br> PYTHON_LIBRARY <wbr> /usr/lib/x86_64-linux-gnu/<a href="http://libpython2.7.so" target="_blank">libp<wbr>ython2.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"><div><div class="m_630008823534564971h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_630008823534564971h5"><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/vtkAngularPer<wbr>iodicDataArrayPython.cxx] Error 1<br>make[1]: *** [Wrapping/Python/CMakeFiles/vt<wbr>kCommonCorePythonD.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/vtkAbstractAr<wbr>rayPython.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/vtkAngularPer<wbr>iodicDataArrayPython.cxx] Error 1<br>make[1]: *** [Wrapping/Python/CMakeFiles/vt<wbr>kCommonCorePythonD.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/CMake<wbr>Files/vtkCommonMathCxxTests.di<wbr>r/depend.make' has modification time 0.041 s in the future<br>[ 29%] Building CXX object Common/Math/Testing/Cxx/CMakeF<wbr>iles/vtkCommonMathCxxTests.dir<wbr>/vtkCommonMathCxxTests.cxx.o<br>[ 29%] Building CXX object Common/Math/Testing/Cxx/CMakeF<wbr>iles/vtkCommonMathCxxTests.dir<wbr>/TestAmoebaMinimizer.cxx.o<br>[ 30%] Built target vtkCommonCoreCxxTests<br>[ 30%] Building CXX object Common/Math/Testing/Cxx/CMakeF<wbr>iles/vtkCommonMathCxxTests.dir<wbr>/TestMatrix3x3.cxx.o<br>[ 30%] Building CXX object Common/Math/Testing/Cxx/CMakeF<wbr>iles/vtkCommonMathCxxTests.dir<wbr>/TestPolynomialSolversUnivaria<wbr>te.cxx.o<br>[ 30%] Building CXX object Common/Math/Testing/Cxx/CMakeF<wbr>iles/vtkCommonMathCxxTests.dir<wbr>/TestQuaternion.cxx.o<br>[ 30%] Linking CXX executable ../../../../bin/vtkCommonMathC<wbr>xxTests<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></div></div>______________________________<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/opensou<wbr>rce/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_FA<wbr>Q</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/mail<wbr>man/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>