Hi Hong, The Catalyst User's Guide corresponds to ParaView 4.0 and later. You're correct that for 3.98 you'll need to link to one of the CoProcessing libraries. If I recall correctly, you should use:
TARGET_LINK_LIBRARIES(phastaIC.exe vtkCoProcessorImplementation) If that doesn't work, can you email me the list of CoProcessing libraries in your build tree? Regards, Andy On Wed, Aug 28, 2013 at 11:53 AM, Hong Yi <[email protected]> wrote: > When building our simulation code linked to ParaView 3.98 (built with > coprocessing enabled) with CMake, I got the error "cannot find > -lvtkPVPythonCatalyst" in the final linking stage. I followed Catalyst User > Guide to add the following into CMakeLists.txt to handle coprocessing: > > ------------------------------------------ > ... > find_package(ParaView 3.98 REQUIRED COMPONENTS vtkPVPythonCatalyst > PhastaAdaptor) > include("${PARAVIEW_USE_FILE}") > add_definitions("-DUSE_CATALYST") > ... > target_link_libraries(phastaIC.exe vtkPVPythonCatalyst PhastaAdaptor) > ... > ------------------------------------------ > > I verified there is no vtkPVPythonCatalyst lib in the ParaView build, > although there are a few coprocessing-related libs there in the ParaView > build. Should I change vtkPVPythonCatalyst to some coprocessing-related > component? If so, which component name should I use? I need to use python > for pipeline handling and link catalyst to fortran code. > > Thanks for any tips you can provide! > > Hong > > > _______________________________________________ > 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 > >
_______________________________________________ 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
