<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello everyone,<br><br>I have a problem about adding a plugin on Paraview since I am new to Cmake, and would like to know if anyone else had the same problem previously, and if you had, I would appreciate it if you could share the solution you used with me..<br><br>Without any modification, I am trying to add the existing Moments plugin (that comes with the Paraview code) as it was defined on the wiki/plugins_howto. However when I run cmake (I have cmake 2.6 patch 4 installed), I get the following error:<br>--------------------------------<br>CMake Error at CMakeLists.txt:24 (ADD_PARAVIEW_PLUGIN):<br> Unknown CMake command "ADD_PARAVIEW_PLUGIN".<br><br><br>CMake Warning (dev) in CMakeLists.txt:<br> No cmake_minimum_required command is present. A line of code such as<br><br> cmake_minimum_required(VERSION
2.6)<br><br> should be added at the top of the file. The version specified may be lower<br> if you wish to support older CMake versions for this project. For more<br> information run "cmake --help-policy CMP0000".<br>This warning is for project developers. Use -Wno-dev to suppress it.<br><br>-- Configuring incomplete, errors occurred!<br>---------------------------------------------<br><br>And adding the line " cmake_minimum_required(VERSION 2.6)" gives me the same error as well: "Unknown CMake command ADD_PARAVIEW_PLUGIN". <br><br>Is this error because of the cmakeLists.txt file? Or simply because of my Paraview settings? If so, what settings do I need to turn on? (I have built the current version of Paraview).<br><br>Any help/example would be appreciated.<br><br>Thank you very much.<br>Sedat<br><br></td></tr></table><br>