[Paraview] custom reader and extra libs (blas) link problem

Felipe Bordeu felipe.bordeu at ec-nantes.fr
Thu Nov 4 05:33:15 EDT 2010


Hello,

I have a custom reader, and I have to do a lot of computations to 
generate the data.
I want to use blas to speed up the computations.

How can I link my plugging to the blas library???
the cmake macro  ADD_PARAVIEW_PLUGIN(..   does not have any option for 
extra libraries.
and when I try  to use it I get :
/.../bin/paraview: symbol lookup error: /../libPGDReader.so: undefined 
symbol: cblas_saxpy

If I use the pluging in a vtk project I explicitly link the library and 
everything work fine.


I have another question:
Can my reader know if it used in paraview or in a c++ project (only 
vtk)?? (I want to automatised some things if is used in paraview)?

thanks

-- 

Felipe Bordeu Weldt
Ingénieur de Recherche
-------------------------------------
Tél. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
Felipe.Bordeu at ec-nantes.fr
Intitut GeM - UMR CNRS 6183
École Centrale de Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
-------------------------------------



More information about the ParaView mailing list