[vtkusers] Issuings running make in my VTK-build directory
Andy Bauer
andy.bauer at kitware.com
Wed Apr 12 10:10:40 EDT 2017
Hi Andrew,
Please keep the discussions on the mailing list so that everyone can
participate.
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.
Best,
Andy
On Tue, Apr 11, 2017 at 11:04 PM, Andrew Lam <werdna.mal222 at gmail.com>
wrote:
> Hi Andy,
>
> Thanks for responding. I can't find those 4 variables you talked about
>
> PYTHON_EXECUTABLE /usr/bin/python2
> PYTHON_EXTRA_LIBS
> PYTHON_INCLUDE_DIR /usr/include/python2.7
> PYTHON_LIBRARY /usr/lib/x86_64-linux-gnu/libp
> ython2.7.so
>
> When I run ccmake toggle advanced mode and scroll to the section with p
> variables I only see these variables
>
> OPENGL_xmesa_INCLUDE_DIR OPENGL_xmesa_INCLUDE_DIR-NOTFOUND
>
> PROJ_BIN_SUBDIR bin
>
> PROJ_DATA_SUBDIR share/proj
>
> PROJ_DOC_SUBDIR doc/proj
>
> PROJ_INCLUDE_SUBDIR include
>
> PROJ_LIB_SUBDIR lib
>
> USE_COMPILER_HIDDEN_VISIBILITY ON
>
> 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.
>
> Thanks,
>
> Andrew
>
>
> On Tue, Apr 11, 2017 at 7:32 PM, Andy Bauer <andy.bauer at kitware.com>
> wrote:
>
>> 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.
>>
>> 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:
>> PYTHON_EXECUTABLE /usr/bin/python2
>> PYTHON_EXTRA_LIBS
>> PYTHON_INCLUDE_DIR /usr/include/python2.7
>> PYTHON_LIBRARY /usr/lib/x86_64-linux-gnu/libp
>> ython2.7.so
>>
>>
>> Cheers,
>> Andy
>>
>>
>>
>> On Tue, Apr 11, 2017 at 6:30 PM, Andrew Lam <werdna.mal222 at gmail.com>
>> wrote:
>>
>>> Hi, my name is Andrew. I'm currently in a class that requires us to
>>> install VTK.
>>>
>>> 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
>>>
>>> $ touch *
>>>
>>> then it will print out
>>>
>>> make[2]: *** [Wrapping/Python/vtkAngularPeriodicDataArrayPython.cxx]
>>> Error 1
>>> make[1]: *** [Wrapping/Python/CMakeFiles/vtkCommonCorePythonD.dir/all]
>>> Error 2
>>>
>>> it will then run to about 32% and then end printing
>>>
>>> make: *** [all] Error 2
>>>
>>> I'm using python 2.7, VTK 7.1.1, cmake 3.7.2
>>> 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.
>>>
>>> [ 0%] Built target kwiml_test
>>> [ 0%] Built target vtksys
>>> [ 1%] Built target vtkWrappingTools
>>> [ 1%] Built target vtkalglib
>>> [ 1%] Built target vtkexpat
>>> [ 2%] Built target vtkzlib
>>> [ 2%] Built target vtkDICOMParser
>>> [ 2%] Built target vtkEncodeString
>>> [ 2%] Built target vtkjpeg
>>> [ 2%] Built target vtkHashSource
>>> [ 2%] Built target vtkglew
>>> [ 2%] Built target H5make_libsettings
>>> [ 2%] Built target H5detect
>>> [ 2%] Built target vtkWrapTcl
>>> [ 2%] Built target vtkParseJava
>>> [ 2%] Built target vtkWrapPython
>>> [ 2%] Built target vtkWrapPythonInit
>>> [ 2%] Built target vtkWrapTclInit
>>> [ 2%] Built target vtkWrapJava
>>> [ 2%] Built target vtkjsoncpp
>>> [ 2%] Built target verdict
>>> [ 2%] Built target vtksqlite
>>> [ 2%] Built target vtkoggtheora
>>> [ 2%] Built target vtkWrapHierarchy
>>> [ 4%] Built target vtkproj4
>>> [ 4%] Built target vtkfreetype
>>> [ 5%] Built target vtklibxml2
>>> [ 5%] Built target vtkpng
>>> [ 5%] Built target vtkmetaio
>>> [ 5%] Built target vtkgl2ps
>>> [ 5%] Built target vtktiff
>>> [ 20%] Built target vtkCommonCore
>>> [ 26%] Built target VTKData
>>> [ 28%] Built target vtkCommonSystem
>>> [ 29%] Built target vtkCommonMath
>>> [ 29%] Built target vtkhdf5
>>> [ 29%] Built target vtkWrappingPythonCore
>>> [ 29%] Built target vtkLocalExample
>>> [ 29%] Built target vtkCommonMisc
>>> [ 29%] Built target vtkCommonTransforms
>>> [ 29%] Built target vtkCommonSystemCxxTests
>>> [ 29%] Python Wrapping - generating vtkAbstractArrayPython.cxx
>>> [ 29%] Built target vtkhdf5_hl
>>> Usage: vtkWrapPython-7.1 [options] infile...
>>> --help print this help message
>>> --version print the VTK version
>>> -o <file> the output file
>>> -I <dir> add an include directory
>>> -D <macro[=def]> define a preprocessor macro
>>> -U <macro> undefine a preprocessor macro
>>> @<file> read arguments from a file
>>> --hints <file> the hints file to use
>>> --types <file> the type hierarchy file to use
>>> --concrete force concrete class (ignored, deprecated)
>>> --abstract force abstract class (ignored, deprecated)
>>> --vtkobject vtkObjectBase-derived class (ignored, deprecated)
>>> --special non-vtkObjectBase class (ignored, deprecated)
>>> make[2]: *** [Wrapping/Python/vtkAbstractArrayPython.cxx] Error 1
>>> make[2]: *** Waiting for unfinished jobs....
>>> [ 29%] Built target vtkpython
>>> [ 29%] Python Wrapping - generating vtkAngularPeriodicDataArrayPyt
>>> hon.cxx
>>> Usage: vtkWrapPython-7.1 [options] infile...
>>> --help print this help message
>>> --version print the VTK version
>>> -o <file> the output file
>>> -I <dir> add an include directory
>>> -D <macro[=def]> define a preprocessor macro
>>> -U <macro> undefine a preprocessor macro
>>> @<file> read arguments from a file
>>> --hints <file> the hints file to use
>>> --types <file> the type hierarchy file to use
>>> --concrete force concrete class (ignored, deprecated)
>>> --abstract force abstract class (ignored, deprecated)
>>> --vtkobject vtkObjectBase-derived class (ignored, deprecated)
>>> --special non-vtkObjectBase class (ignored, deprecated)
>>> make[2]: *** [Wrapping/Python/vtkAngularPeriodicDataArrayPython.cxx]
>>> Error 1
>>> make[1]: *** [Wrapping/Python/CMakeFiles/vtkCommonCorePythonD.dir/all]
>>> Error 2
>>> make[1]: *** Waiting for unfinished jobs....
>>> Scanning dependencies of target vtkCommonMathCxxTests
>>> make[2]: Warning: File `Common/Math/Testing/Cxx/CMake
>>> Files/vtkCommonMathCxxTests.dir/depend.make' has modification time
>>> 0.041 s in the future
>>> [ 29%] Building CXX object Common/Math/Testing/Cxx/CMakeF
>>> iles/vtkCommonMathCxxTests.dir/vtkCommonMathCxxTests.cxx.o
>>> [ 29%] Building CXX object Common/Math/Testing/Cxx/CMakeF
>>> iles/vtkCommonMathCxxTests.dir/TestAmoebaMinimizer.cxx.o
>>> [ 30%] Built target vtkCommonCoreCxxTests
>>> [ 30%] Building CXX object Common/Math/Testing/Cxx/CMakeF
>>> iles/vtkCommonMathCxxTests.dir/TestMatrix3x3.cxx.o
>>> [ 30%] Building CXX object Common/Math/Testing/Cxx/CMakeF
>>> iles/vtkCommonMathCxxTests.dir/TestPolynomialSolversUnivariate.cxx.o
>>> [ 30%] Building CXX object Common/Math/Testing/Cxx/CMakeF
>>> iles/vtkCommonMathCxxTests.dir/TestQuaternion.cxx.o
>>> [ 30%] Linking CXX executable ../../../../bin/vtkCommonMathCxxTests
>>> [ 32%] Built target vtkCommonDataModel
>>> make[2]: warning: Clock skew detected. Your build may be incomplete.
>>> [ 32%] Built target vtkCommonMathCxxTests
>>> make: *** [all] Error 2
>>>
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the VTK FAQ at:
>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>
>>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/vtkusers
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170412/11ee3063/attachment-0001.html>
More information about the vtkusers
mailing list