VisItBridge not compiling anymore
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Hi
I want to use VisItBridge, so I tried to compile the repository : ParaView-v4.1.0/Examples/Plugins/VisItReader
First, during the cmake step, I had the following error : CMake Error at CMakeLists.txt:25 (ADD_VISIT_PLUGIN_READER): Unknown CMake command "ADD_VISIT_PLUGIN_READER". -- Configuring incomplete, errors occurred!
So I added set(VisItBridgePlugin_SOURCE_DIR ... set(AVT_DATABASE_SOURCE_DIR ... include(${VisItBridgePlugin_SOURCE_DIR}/CMake/VisItCommon.cmake) in the file ParaView-v4.1.0/Examples/Plugins/VisItReader/CMakeLists.txt
Then, by typing "make" I had this error : Linking CXX shared library libVisItReaderExample.so /usr/bin/ld: ne peut trouver -lvtkVisItAVTAlgorithms collect2: erreur: ld a retourné 1 code d'état d'exécution make[2]: *** [libVisItReaderExample.so] Erreur 1 make[1]: *** [CMakeFiles/VisItReaderExample.dir/all] Erreur 2
If I want to succeed I need to remove vtkVisItAVTAlgorithms from TARGET_LINK_LIBRARIES in ParaView-v4.1.0/Examples/Plugins/VisItReader/CMakeLists.txt
My questions are : 1/ Is this example obsolete ? Or in other words, do you still work on this ? 2/ If yes, could you fix erros I mentioned ? Like this we will able to compile Examples/Plugins/VisItReader without changing the CMakeLists file by hand
Thank you for your answers