[Paraview] 3.8 problem with remote plugins

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Jun 2 11:03:24 EDT 2010


Ah...the problem is due to the fact that ${OUTSRCS} was passed in as
SOURCES and not GUI_SOURCES. Actually, any Qt based classes should be
passed in as GUI_SOURCES. So try the following:

ADD_PARAVIEW_PLUGIN(MeshCutter "1.0"
                    GUI_INTERFACES ${OUTIFACES}
                    SERVER_MANAGER_XML MeshCutterSM.xml
                    SERVER_MANAGER_SOURCES vtkMeshCutter.cxx
vtkAxialRadial.cxx vtkTheta.cxx vtkRadius.cxx vtkRadiusSource.cxx
vtkRadiusRepresentation.cxx vtkRadiusWidget.cxx
                    GUI_SOURCES pqRadiusWidget.cxx ${MOC_SRCS}
${OUTSRCS} ${UIC_SRCS})

Utkarsh


On Wed, Jun 2, 2010 at 10:57 AM, Paul Edwards <paul.m.edwards at gmail.com> wrote:
> Utkarsh,
> I can make my plugins work by adding pqComponents to the
> TARGET_LINK_LIBRARIES.  Should this be necessary?
> Regards,
> Paul
>
>
> On 2 June 2010 14:51, Utkarsh Ayachit <utkarsh.ayachit at kitware.com> wrote:
>>
>> Have tried clean building your plugin? Can you post the CMakeLists.txt
>> for your plugin?
>>
>> Utkarsh
>>
>> On Wed, Jun 2, 2010 at 5:56 AM, Paul Edwards <paul.m.edwards at gmail.com>
>> wrote:
>> > Hi,
>> > I've just tried building against v3.8 of paraview and I am getting a
>> > load
>> > error for some remote plugins.  It complains about an undefined symbol -
>> > "vtkPVGUIPluginInterface".  Is anyone else experiencing this?  I'm
>> > running
>> > the linux version.
>> > Regards,
>> > Paul
>> > _______________________________________________
>> > 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
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.paraview.org/mailman/listinfo/paraview
>> >
>> >
>
>


More information about the ParaView mailing list