[Paraview-developers] Need help on paraview customApp build failure

Kyle Lutz kyle.lutz at kitware.com
Wed Nov 14 08:57:47 EST 2012


This seems to be an issue with the new matplotlib code inside VTK.

The (hopefully temporary) workaround is to add vtkRenderingMatplotlib
to the target_link_libraries() line for your plugin.

-kyle

On Wed, Nov 14, 2012 at 5:48 AM, Pandu tech <pandu4tech at gmail.com> wrote:
> Hi,
>
> My customApp is a ParaView clone, with more plugins, custom Filters, Readers
> and Views. When I am trying to build my CustomApp I see the following error
> message:
>
> ==============================================================================
> /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
> CMakeFiles/CustomApp.dir/pqCustomAppInitializer.cxx.o: undefined reference
> to symbol 'vtkRenderingMatplotlib_AutoInit_Construct()'
> /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
> note: 'vtkRenderingMatplotlib_AutoInit_Construct()' is defined in DSO
> /home/CustomApp/build/paraview-build/lib/libvtkRenderingMatplotlib-pv3.14.so.1
> so try adding it to the linker command line
> /home/CustomApp/build/paraview-build/lib/libvtkRenderingMatplotlib-pv3.14.so.1:
> could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[2]: *** [CustomApp/CustomApp] Error 1
> make[2]: Leaving directory `/home/CustomApp/build/CustomApp-build'
> make[1]: *** [CustomApp/CMakeFiles/CustomApp.dir/all] Error 2
> make[1]: Leaving directory `/home/CustomApp/build/CustomApp-build'
> make: *** [all] Error 2
>
> =============================================================================
>
> ParaView build is successful. Python is also in the path and is working with
> matplotlib. ( able to plot sine function).
>
> I am using SuSe 12.1 x86_64, cmake version is 2.8.9.
>
> Please give any suggestions. Kindly let me know if you need further details.
>
> Appreciate your help in this regard,
>
> Thanks,
> Pandu.
>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
>


More information about the Paraview-developers mailing list