You need to modify the CMakeLists.txt file for your writer.

Use the Find_Library(...) command to find the dependent dlls and then use something like the following:

 #  Build the package as a plugin for ParaView.
ADD_LIBRARY("${MODULE_NAME}" MODULE ${wrappedSrcs} ${CS_SOURCES} $ {PVRoboMet_SRCS} ${PVRoboMet_HEADERS})
 TARGET_LINK_LIBRARIES("${MODULE_NAME}"
                     vtkClientServer
                     vtkPVServerManager
                     ${MXA_LIBRARIES}
                     ${MXA_SUPPORT_LIBRARIES}
                     ${BOOST_FILESYSTEM_LIBRARY}
 )

for your plugin CmakeLists.txt.

_________________________________________________________
Mike Jackson                  [email protected]
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio



On Jan 9, 2009, at 5:26 AM, Natalie Happenhofer wrote:

Hi!
I´m trying to write a Paraview Writer which writes data in the .vdc- format i.e. the data format supported by the VAPoR visualization software.

Downloading the vapor source code, there is a program which does that, so I just modified that code in a way that can be called from Paraview. The problem now is that this code needs to be linked to a few dlls, and I do not know how to achieve this in Paraview. Is it done with my placing the dlls in the Paraview-build directory or do I have to modify the CMakeLists.txt in the directory where I placed the vdcWriter-code?

Greetings,
Natalie

¡Descarga gratis el pack de 20 emoticones! Messenger te anticipa tu regalo de Navidad_______________________________________________
ParaView mailing list
[email protected]
http://www.paraview.org/mailman/listinfo/paraview

_______________________________________________
ParaView mailing list
[email protected]
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to