[Paraview] how to build 4.3.1 with CosmoTools

Kashiwa, Bucky bak at lanl.gov
Tue Jul 28 16:55:36 EDT 2015


I¹m trying to build the ParaView-v4.3.1-source standard release, with
cosmotools enabled.  The directory is present at

ParaView-v4.3.1/ParaViewCore/VTKExtensions/CosmoTools

and useful looking source code, but it seems to be unrecognized.  Below is
pasted my ccmake command, and after that is the ccmake error message.  Any
help would be very welcome.  Thanks much, b.


ccmake2.8 \
-D BUILD_SHARED_LIBS:BOOL=ON \
-D BUILD_TESTING:BOOL=OFF \
-D CMAKE_BUILD_TYPE:STRING=Release \
-D 
CMAKE_C_COMPILER:FILEPATH=/usr/projects/hpcsoft/toss2/common/gcc/4.7.2/bin/
gcc \
-D 
CMAKE_CXX_COMPILER:FILEPATH=/usr/projects/hpcsoft/toss2/common/gcc/4.7.2/bi
n/g++ \
-D CMAKE_C_FLAGS:STRING=-fPIC \
-D CMAKE_CXX_FLAGS:STRING=-fPIC \
-D 
CMAKE_Fortran_COMPILER:FILEPATH=/usr/projects/hpcsoft/toss2/common/gcc/4.7.
2/bin/gfortran \
-D 
COSMOTOOLS_INCLUDE_DIR:PATH=../ParaView-v4.3.1-source/ParaViewCore/VTKExten
sions/CosmoTools \
-D FFMPEG_INCLUDE_DIR:PATH=/usr/projects/pv_dev/FFmpeg-1.2/include \
-D 
FFMPEG_avcodec_LIBRARY:FILEPATH=/usr/projects/pv_dev/FFmpeg-1.2/lib/libavco
dec.so \
-D 
FFMPEG_avformat_LIBRARY:FILEPATH=/usr/projects/pv_dev/FFmpeg-1.2/lib/libavf
ormat.so \
-D 
FFMPEG_avutil_LIBRARY:FILEPATH=/usr/projects/pv_dev/FFmpeg-1.2/lib/libavuti
l.so \
-D 
FFMPEG_dc1394_LIBRARY:FILEPATH=/usr/projects/pv_dev/FFmpeg-1.2/lib/libavdev
ice.so \
-D 
FFMPEG_dts_LIBRARY:FILEPATH=/usr/projects/pv_dev/FFmpeg-1.2/lib/libavformat
.so \
-D 
FFMPEG_gsm_LIBRARY:FILEPATH=/usr/projects/pv_dev/FFmpeg-1.2/lib/libavcodec.
so \
-D 
FFMPEG_swscale_LIBRARY:FILEPATH=/usr/projects/pv_dev/FFmpeg-1.2/lib/libswsc
ale.so \
-D GENERIC_IO_INCLUDE_DIR:PATH=/usr/include/gio-unix-2.0 \
-D GENERIC_IO_LIBRARIES:FILEPATH=/usr/lib64/libgio-2.0.so \
-D 
OPENGL_gl_LIBRARY:FILEPATH=/usr/projects/pv_dev/OSMesa-9.0.1/lib/libGL.so \
-D OPENGL_glu_LIBRARY:FILEPATH= \
-D OPENGL_INCLUDE_DIR:PATH=/usr/projects/pv_dev/OSMesa-9.0.1/include \
-D OSMESA_INCLUDE_DIR:PATH=/usr/projects/pv_dev/OSMesa-9.0.1/include \
-D 
OSMESA_LIBRARY:FILEPATH=/usr/projects/pv_dev/OSMesa-9.0.1/lib/libOSMesa.so
\
-D PARAVIEW_BUILD_QT_GUI:BOOL=ON \
-D PARAVIEW_BUILD_CATALYST_ADAPTORS:BOOL=ON \
-D PARAVIEW_ENABLE_COPROCESSING:BOOL=ON \
-D PARAVIEW_ENABLE_COSMOTOOLS:BOOL=ON \
-D PARAVIEW_ENABLE_FFMPEG:BOOL=ON \
-D PARAVIEW_ENABLE_PYTHON:BOOL=ON \
-D PARAVIEW_USE_MPI:BOOL=ON \
-D PYTHON_EXECUTABLE:FILEPATH=/usr/projects/pv_dev/Python-2.7.4/bin/python
\
-D 
PYTHON_INCLUDE_DIR:PATH=/usr/projects/pv_dev/Python-2.7.4/include/python2.7
 \
-D 
PYTHON_LIBRARY:FILEPATH=/usr/projects/pv_dev/Python-2.7.4/lib/libpython2.7.
so \
-D QT_QMAKE_EXECUTABLE:FILEPATH=/usr/projects/pv_dev/Qt-4.8.4/bin/qmake \
-D 
VTK_MPIRUN_EXE:FILEPATH=/usr/projects/hpcsoft/lightshow/openmpi/1.6.5-gcc-4
.7/bin/mpiexec \
-D VTK_OPENGL_HAS_OSMESA:BOOL=ON \
-D VTK_USE_X:BOOL=ON \
-D CMAKE_INSTALL_PREFIX:PATH=/usr/projects/pv_dev/PV-4.3.1-FX \
 ../ParaView-v4.3.1-source







 CMake Error at VTK/CMake/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
   Could NOT find CosmoTools (missing: COSMOTOOLS_LIBRARIES)
 Call Stack (most recent call first):
   VTK/CMake/FindPackageHandleStandardArgs.cmake:288
(_FPHSA_FAILURE_MESSAGE)
   CMake/FindCosmoTools.cmake:21 (find_package_handle_standard_args)
   ParaViewCore/VTKExtensions/CosmoTools/CMakeLists.txt:6 (find_package)









=======================================================================73
<>Bucky Kashiwa PhD, PE  <> Post: MS B216, Los Alamos, NM  87545       <>
<>  Ofc: TA3-SM123-RM276 <>Email: bak at lanl.gov, kashiwa at qwest.net      <>
<>Voice: 505-667-8812    <>  Fax: 505-665-5926  <>
                         <> Home: 505-988-7332  <> Cell: 505-795-5581  <>
=======================================================================73




More information about the ParaView mailing list