[Paraview] Example VisIt reader fails to configure

Takuya OSHIMA oshima at eng.niigata-u.ac.jp
Tue Sep 11 02:18:52 EDT 2012


Hi,

With the latest git-master, ParaView/Examples/Plugins/VisItReader
fails to configure with cmake stating that cmake command
"ADD_VISIT_PLUGIN_READER" is unknown. Is this a known problem?

If anyone is curious, I am trying to update a Shapefile reader plugin
which I have pulled from VisIt
(https://gitorious.org/avtshapefilefileformat_plugin) to work with the
latest master and having the same issue.

(OS X 10.6.8, CMake 2.8.9, Qt 4.8.2)
> cmake -DParaView_DIR=/opt/src/paraview/build ../ParaView/Examples/Plugins/VisItReader
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt4: /opt/Qt-4.8.2/bin/qmake (found version "4.8.2") 
CMake Error at CMakeLists.txt:21 (ADD_VISIT_PLUGIN_READER):
  Unknown CMake command "ADD_VISIT_PLUGIN_READER".


-- Configuring incomplete, errors occurred!

Takuya OSHIMA, Ph.D.
Faculty of Engineering, Niigata University
8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN


More information about the ParaView mailing list