I answer to myself, so that it can be useful for other people facing my problem.
I managed to solve it by modifying the CMakeLists.txt under
'Utilities/VisitBridge/databases' and putting :
if(HAVE_LIBCGNS AND VISIT_BUILD_READER_CGNS)
target_link_libraries(vtkIOVisItBridge ${CGNS_LIBRARIES} -lhdf5)
endif(HAVE_LIBCGNS AND VISIT_BUILD_READER_CGNS)
I don't if it is the best way to solve things but it worked for me.
I then tried to import the CGNS reader from Visit (2.5.2 version). I directly
copied the avtCGNSFileFormat.x files to Paraview directory.
Despite the rough approach, it worked perfectly and allows to see 2D surface
described in 3D manner (this problem was already reported on paraview mailing
list http://public.kitware.com/pipermail/paraview/2009-July/012930.html ).
Best regards,
Patrick Martins
----- Original Message -----
From: [email protected]
Sent: 09/13/12 01:31 AM
To: [email protected]
Subject: [Paraview] Questions about 13100_cgns_fixes
Dear Sir/Madam,
I am using Paraview for a small project purpose. Since I have CGNS 3.1 files,
I tried to compile Paraview from git-master with Visit-CGNS reader enabled.
Unfortunately, it crashes complaining about HDF5 symbols not found. I guess I
need to specify somewhere that the CGNS library is using hdf5 and link against
it but I am at a loss. Has anyone encountered this problem and know how to
solve it ?
And one more thing, is there a plan to import the latest CGNS reader from
Visit to get more fixes ?
Regards,
Patrick Martins
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview