[Paraview] building a custom viewer from the example

Samuel Crow samuel_crow_work at rocketmail.com
Thu Jun 26 17:20:17 EDT 2008


While I'm waiting for the latest edition of the ParaView Guide and CMake manual to arrive, I'm trying to compile a slight variation of the example reader for ParaView version 3.2.2 .  I've modified it to call vtkTIFFReader instead of vtkPNGReader.  I've changed every instance of PNG to TIFF in the XML files.  Also, I've modified the CMake script in accordance with the Wiki so it starts with the following two lines of code:

FIND_PACKAGE(ParaView REQUIRED)
INCLUDE(${PARAVIEW_USE_FILE})

When I point the CMake script entry "MyTIFFReader_SOURCE_DIR" with the directory containing the files I've described, CMake attempts to configure with an error stating that it can't find the directory I've pointed it to and fails with an Include in the call stack.  I'm using the full absolute path.  Am I supposed to point it somewhere else?

I'm building this with the Unix Makefiles option on a Mac PowerBook G4 with 1 GB of RAM and MacOSX 10.4.11 .

Thanks in advance,

--Sam


      



More information about the ParaView mailing list