[Paraview] ParaView as ThirdParty

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Apr 21 15:28:25 EDT 2015


Try doing  a "Debug" build i.e. set CMAKE_BUILD_TYPE cmake variable to
Debug and then attach a debugger. The call stack will provide some
clues. Feel free to share the callstack.

Utkarsh

On Wed, Apr 15, 2015 at 7:37 PM, Kevin Dean
<kevin.dean at decisionsciencescorp.com> wrote:
> also, when execute paraview (with python enabled), I get Segmentation
> Fault... is there a way I can debug this to figure out what the problem
> might be...
>
> Kevin E. Dean
>
> On Wed, Apr 15, 2015 at 4:31 PM, Kevin Dean
> <kevin.dean at decisionsciencescorp.com> wrote:
>
>>
>> ---------- Forwarded message ----------
>> From: Kevin Dean <kevin.dean at decisionsciencescorp.com>
>> Date: Wed, Apr 15, 2015 at 4:30 PM
>> Subject: ParaView as ThirdParty
>> To: ParaView at paraview.org
>>
>>
>> so, I have been able to use ParaView as a thirdparty (in it's own
>> install/not build directory) for a little bit. However, there are a couple
>> of things:
>>
>> (1) when selecting PARAVIEW_INSTALL_DEVELOPMENT_FILES, I must have
>> PARAVIEW_ENABLE_PYTHON:BOOL=ON; otherwise I get build errors for missing
>> libraries.
>>
>> (2) then after a successful build, I try to build my project against these
>> ParaView/VTK libraries again; however, I get an error with
>> vtkPVInitializePythonModules()
>>
>> Linking CXX executable mtview
>> CMakeFiles/mtview.dir/ParaViewMainWindow.cxx.o: In function
>> `ParaViewMainWindow':
>> /home/kdean/workspace-dsc/mtview/ParaViewMainWindow.cxx:108: undefined
>> reference to `vtkPVInitializePythonModules'
>> collect2: ld returned 1 exit status
>> make[2]: *** [mtview] Error 1
>> make[1]: *** [CMakeFiles/mtview.dir/all] Error 2
>> make: *** [all] Error 2
>>
>> Is there a reference point to try and Debug this issue? Thanks a lot.
>>
>> Kevin E. Dean
>>
>
>
> This email and its contents are confidential. If you are not the intended
> recipient, please do not disclose or use the information within this email
> or its attachments. If you have received this email in error, please report
> the error to the sender by return email and delete this communication from
> your records.
>
> _______________________________________________
> 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
>


More information about the ParaView mailing list