MantisBT - ParaView
View Issue Details
0014855ParaView(No Category)public2014-07-11 04:132016-08-12 09:59
Stephane Veys 
Utkarsh Ayachit 
normalminorhave not tried
closedmoved 
4.4 
 
TBD
crash
0014855: VisItBridge not compiling anymore
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
No tags attached.
Issue History
2014-07-11 04:13Stephane VeysNew Issue
2014-07-30 13:07Utkarsh AyachitAssigned To => Ben Boeckel (Kitware)
2014-07-30 13:07Utkarsh AyachitNote Added: 0033144
2015-07-28 08:39Christophe BourcierNote Added: 0034840
2015-07-28 08:51Utkarsh AyachitAssigned ToBen Boeckel (Kitware) => Utkarsh Ayachit
2015-07-28 08:51Utkarsh AyachitStatusbacklog => todo
2015-07-28 08:51Utkarsh AyachitProduct Version4.1 => 4.4
2016-08-12 09:59Kitware RobotNote Added: 0038595
2016-08-12 09:59Kitware RobotStatustodo => closed
2016-08-12 09:59Kitware RobotResolutionopen => moved

Notes
(0033144)
Utkarsh Ayachit   
2014-07-30 13:07   
Ben,

This functionality may indeed have been lost during migration to VTK modules. We should fix this.

Utkarsh
(0034840)
Christophe Bourcier   
2015-07-28 08:39   
Hi,

This bug still exists in Paraview 4.3.1 and Paraview master.

Moreover, in the file vtkVisItReader*SM.xml generated by cmake, these lines are missing from the <SourceProxy> section (and must be add manually before make if we want our reader to be listed in the open file dialog box):

     <Hints>
        <ReaderFactory extensions="lata"
               file_description="lata Files">
        </ReaderFactory>
     </Hints>

Can you fix it in a next release? Thanks.

Christophe
(0038595)
Kitware Robot   
2016-08-12 09:59   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.