[vtkusers] Build Error : VTK_USE_PARALLEL + VTK_WRAP_TCL
Kevin H. Hobbs
hobbsk at ohiou.edu
Tue Apr 10 10:48:04 EDT 2007
When I use the attached CMake script to build VTK from CVS I get the
build errors :
/home/kevin/kitware/VTK_Build_Mesa/Parallel/vtkTemporalStreamTracerTcl.cxx: In f
unction ‘int vtkTemporalStreamTracerCppCommand(vtkTemporalStreamTracer*, Tcl_Int
erp*, int, char**)’:
/home/kevin/kitware/VTK_Build_Mesa/Parallel/vtkTemporalStreamTracerTcl.cxx:354:
error: ‘vtkMultiProcessController’ was not declared in this scope
/home/kevin/kitware/VTK_Build_Mesa/Parallel/vtkTemporalStreamTracerTcl.cxx:354:
error: ‘temp0’ was not declared in this scope
/home/kevin/kitware/VTK_Build_Mesa/Parallel/vtkTemporalStreamTracerTcl.cxx:357:
error: expected primary-expression before ‘)’ token
/home/kevin/kitware/VTK_Build_Mesa/Parallel/vtkTemporalStreamTracerTcl.cxx:360:
error: ‘class vtkTemporalStreamTracer’ has no member named ‘SetController’
/home/kevin/kitware/VTK_Build_Mesa/Parallel/vtkTemporalStreamTracerTcl.cxx:367:
error: ‘vtkMultiProcessController’ was not declared in this scope
/home/kevin/kitware/VTK_Build_Mesa/Parallel/vtkTemporalStreamTracerTcl.cxx:367:
error: ‘temp20’ was not declared in this scope
/home/kevin/kitware/VTK_Build_Mesa/Parallel/vtkTemporalStreamTracerTcl.cxx:368:
error: ‘class vtkTemporalStreamTracer’ has no member named ‘GetController’
make[2]: *** [Parallel/CMakeFiles/vtkParallelTCL.dir/vtkTemporalStreamTracerTcl.
o] Error 1
This file is auto generated from
VTK/Parallel/vtkTemporalStreamTracer.cxx isn't it? It doesn't include
the header for the multi-process controller. I noticed that
vtkTemporalStreamTracer.cxx includes the multi-process controller only
if VTK_USE_MPI is set. Can't threads be used even if MPI isn't?
-------------- next part --------------
# This file began with the notes from dash6.kitware and was edited
# by Kevin Hobbs h b s @ h o . d
# o b k o i u e u
###################################################################
# The values in this section must always be provided
###################################################################
# these are the the name of the source and binary directory on disk.
SET (CTEST_SOURCE_NAME VTK)
SET (CTEST_BINARY_NAME VTK_Build_Mesa)
SET(CTEST_DASHBOARD_ROOT "$ENV{HOME}/kitware")
SET(CTEST_SOURCE_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${CTEST_SOURCE_NAME}")
SET(CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${CTEST_BINARY_NAME}")
# which ctest command to use for running the dashboard
SET (CTEST_COMMAND
"\"${CTEST_DASHBOARD_ROOT}/CMake_Build/bin/ctest\" -D Experimental -A \"${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}\""
)
# what cmake command to use for configuring this dashboard
SET (CTEST_CMAKE_COMMAND
"\"${CTEST_DASHBOARD_ROOT}/CMake_Build/bin/cmake\""
)
# should ctest wipe the binary tree before running
SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)
# this is the initial cache to use for the binary tree, be careful to escape
# any quotes inside of this string if you use it
# KHH I've switched to FC6 whose system mesa has osmesa...
#
SET (CTEST_INITIAL_CACHE "
SITE:STRING=gargon.hooperlab
BUILDNAME:STRING=Linux-gcc-4.1.1-x86_64
MAKECOMMAND:FILEPATH=/usr/bin/make -j 5
BUILD_SHARED_LIBS:BOOL=ON
VTK_USE_PARALLEL:BOOL=ON
VTK_WRAP_TCL:BOOL=ON
VTK_USE_HYBRID:BOOL=ON
VTK_OPENGL_HAS_OSMESA:BOOL=ON
VTK_USE_64BIT_IDS:BOOL=ON
#VTK_USE_OFFSCREEN:BOOL=ON
")
# what cvs command to use for configuring this dashboard
SET (CTEST_CVS_COMMAND "/usr/bin/cvs")
# set any extra directories to do an update on
SET (CTEST_EXTRA_UPDATES_1 "$ENV{HOME}/kitware/VTKData" "-dAP")
# set any extra envionment variables here
#SET (CTEST_ENVIRONMENT
#)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070410/a60ca344/attachment.pgp>
More information about the vtkusers
mailing list