<div dir="ltr"><div>CosmoTools is part of a closed-source project at ANL. The COSMOTOOLS_INCLUDE_DIR is incorrect and you need to provide the COSMOTOOLS_LIBRARIES variable with the external library to link against. The small part of it that the ParaView module depends on was added to ParaView so that we wouldn't have the closed-source dependency. Unfortunately, that change didn't make it into 4.3.1, but if you build against ParaView's master branch, you will no longer need the closed source cosmotools package and will still have most of the features in the CosmoTools module.<br><br></div><div>HTH,<br></div>Shawn<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 28, 2015 at 4:55 PM, Kashiwa, Bucky <span dir="ltr"><<a href="mailto:bak@lanl.gov" target="_blank">bak@lanl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I¹m trying to build the ParaView-v4.3.1-source standard release, with<br>
cosmotools enabled. The directory is present at<br>
<br>
ParaView-v4.3.1/ParaViewCore/VTKExtensions/CosmoTools<br>
<br>
and useful looking source code, but it seems to be unrecognized. Below is<br>
pasted my ccmake command, and after that is the ccmake error message. Any<br>
help would be very welcome. Thanks much, b.<br>
<br>
<br>
ccmake2.8 \<br>
-D BUILD_SHARED_LIBS:BOOL=ON \<br>
-D BUILD_TESTING:BOOL=OFF \<br>
-D CMAKE_BUILD_TYPE:STRING=Release \<br>
-D<br>
CMAKE_C_COMPILER:FILEPATH=/usr/projects/hpcsoft/toss2/common/gcc/4.7.2/bin/<br>
gcc \<br>
-D<br>
CMAKE_CXX_COMPILER:FILEPATH=/usr/projects/hpcsoft/toss2/common/gcc/4.7.2/bi<br>
n/g++ \<br>
-D CMAKE_C_FLAGS:STRING=-fPIC \<br>
-D CMAKE_CXX_FLAGS:STRING=-fPIC \<br>
-D<br>
CMAKE_Fortran_COMPILER:FILEPATH=/usr/projects/hpcsoft/toss2/common/gcc/4.7.<br>
2/bin/gfortran \<br>
-D<br>
COSMOTOOLS_INCLUDE_DIR:PATH=../ParaView-v4.3.1-source/ParaViewCore/VTKExten<br>
sions/CosmoTools \<br>
-D FFMPEG_INCLUDE_DIR:PATH=/usr/projects/pv_dev/FFmpeg-1.2/include \<br>
-D<br>
FFMPEG_avcodec_LIBRARY:FILEPATH=/usr/projects/pv_dev/FFmpeg-1.2/lib/libavco<br>
dec.so \<br>
-D<br>
FFMPEG_avformat_LIBRARY:FILEPATH=/usr/projects/pv_dev/FFmpeg-1.2/lib/libavf<br>
ormat.so \<br>
-D<br>
FFMPEG_avutil_LIBRARY:FILEPATH=/usr/projects/pv_dev/FFmpeg-1.2/lib/libavuti<br>
l.so \<br>
-D<br>
FFMPEG_dc1394_LIBRARY:FILEPATH=/usr/projects/pv_dev/FFmpeg-1.2/lib/libavdev<br>
ice.so \<br>
-D<br>
FFMPEG_dts_LIBRARY:FILEPATH=/usr/projects/pv_dev/FFmpeg-1.2/lib/libavformat<br>
.so \<br>
-D<br>
FFMPEG_gsm_LIBRARY:FILEPATH=/usr/projects/pv_dev/FFmpeg-1.2/lib/libavcodec.<br>
so \<br>
-D<br>
FFMPEG_swscale_LIBRARY:FILEPATH=/usr/projects/pv_dev/FFmpeg-1.2/lib/libswsc<br>
ale.so \<br>
-D GENERIC_IO_INCLUDE_DIR:PATH=/usr/include/gio-unix-2.0 \<br>
-D GENERIC_IO_LIBRARIES:FILEPATH=/usr/lib64/<a href="http://libgio-2.0.so" rel="noreferrer" target="_blank">libgio-2.0.so</a> \<br>
-D<br>
OPENGL_gl_LIBRARY:FILEPATH=/usr/projects/pv_dev/OSMesa-9.0.1/lib/libGL.so \<br>
-D OPENGL_glu_LIBRARY:FILEPATH= \<br>
-D OPENGL_INCLUDE_DIR:PATH=/usr/projects/pv_dev/OSMesa-9.0.1/include \<br>
-D OSMESA_INCLUDE_DIR:PATH=/usr/projects/pv_dev/OSMesa-9.0.1/include \<br>
-D<br>
OSMESA_LIBRARY:FILEPATH=/usr/projects/pv_dev/OSMesa-9.0.1/lib/libOSMesa.so<br>
\<br>
-D PARAVIEW_BUILD_QT_GUI:BOOL=ON \<br>
-D PARAVIEW_BUILD_CATALYST_ADAPTORS:BOOL=ON \<br>
-D PARAVIEW_ENABLE_COPROCESSING:BOOL=ON \<br>
-D PARAVIEW_ENABLE_COSMOTOOLS:BOOL=ON \<br>
-D PARAVIEW_ENABLE_FFMPEG:BOOL=ON \<br>
-D PARAVIEW_ENABLE_PYTHON:BOOL=ON \<br>
-D PARAVIEW_USE_MPI:BOOL=ON \<br>
-D PYTHON_EXECUTABLE:FILEPATH=/usr/projects/pv_dev/Python-2.7.4/bin/python<br>
\<br>
-D<br>
PYTHON_INCLUDE_DIR:PATH=/usr/projects/pv_dev/Python-2.7.4/include/python2.7<br>
\<br>
-D<br>
PYTHON_LIBRARY:FILEPATH=/usr/projects/pv_dev/Python-2.7.4/lib/libpython2.7.<br>
so \<br>
-D QT_QMAKE_EXECUTABLE:FILEPATH=/usr/projects/pv_dev/Qt-4.8.4/bin/qmake \<br>
-D<br>
VTK_MPIRUN_EXE:FILEPATH=/usr/projects/hpcsoft/lightshow/openmpi/1.6.5-gcc-4<br>
.7/bin/mpiexec \<br>
-D VTK_OPENGL_HAS_OSMESA:BOOL=ON \<br>
-D VTK_USE_X:BOOL=ON \<br>
-D CMAKE_INSTALL_PREFIX:PATH=/usr/projects/pv_dev/PV-4.3.1-FX \<br>
../ParaView-v4.3.1-source<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
CMake Error at VTK/CMake/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):<br>
Could NOT find CosmoTools (missing: COSMOTOOLS_LIBRARIES)<br>
Call Stack (most recent call first):<br>
VTK/CMake/FindPackageHandleStandardArgs.cmake:288<br>
(_FPHSA_FAILURE_MESSAGE)<br>
CMake/FindCosmoTools.cmake:21 (find_package_handle_standard_args)<br>
ParaViewCore/VTKExtensions/CosmoTools/CMakeLists.txt:6 (find_package)<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
=======================================================================73<br>
<>Bucky Kashiwa PhD, PE <> Post: MS B216, Los Alamos, NM 87545 <><br>
<> Ofc: TA3-SM123-RM276 <>Email: <a href="mailto:bak@lanl.gov">bak@lanl.gov</a>, <a href="mailto:kashiwa@qwest.net">kashiwa@qwest.net</a> <><br>
<>Voice: <a href="tel:505-667-8812" value="+15056678812">505-667-8812</a> <> Fax: <a href="tel:505-665-5926" value="+15056655926">505-665-5926</a> <><br>
<> Home: <a href="tel:505-988-7332" value="+15059887332">505-988-7332</a> <> Cell: <a href="tel:505-795-5581" value="+15057955581">505-795-5581</a> <><br>
=======================================================================73<br>
<br>
<br>
_______________________________________________<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/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>