On 22/01/15 11:21, Dr. Roman Grothausmann wrote:
Adding the abs. file locations to the build command does not help nor does
-L/opt/paraview-4.3.1_git/lib/paraview-4.3/

I figured that the vtk dynamic libraries of PV have the ending *-pv4.3.so which seems to be the reason why the linker does not find them. If I create symbolic links to these files without the extension:

cd /opt/compilation/paraview-git_build/lib/
for i in *-pv*.so; do ln -s $i ${i%-pv*}.so; done

and adding -L/opt/compilation/paraview-git_build/lib/ to CMAKE_CXX_FLAGS
the compilation of ITK succeeds.

I wonder, is that the way it's meant to be done?


What am I missing in my configuration of PV and ITK?

When and where should I specify:
CMAKE_CXX_FLAGS                  -fPIC
BUILD_SHARED_LIBS                ON/OFF

Is this the right VTK_DIR specification for ITK:
/opt/compilation/ParaView-v4.3.1/build/VTK
or
/opt/paraview-4.3.1_git/lib/cmake/paraview-4.3



Many thanks for any help or hints.
Roman



--
Dr. Roman Grothausmann

Tomographie und Digitale Bildverarbeitung
Tomography and Digital Image Analysis

Institut für Funktionelle und Angewandte Anatomie, OE 4120
Medizinische Hochschule Hannover
Carl-Neuberg-Str. 1
D-30625 Hannover

Tel. +49 511 532-9574
_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to