[Paraview] Compile Error with Custom Plugin for ParaView CVS

clinton at elemtech.com clinton at elemtech.com
Fri Feb 22 11:47:01 EST 2008


${pqComponents_SOURCE_DIR} needs to be added as an include dir before you do 
your QT4_WRAP_CPP call.

Clint

On Friday 22 February 2008 9:38:31 am Mike Jackson wrote:
> I though I would attempt to insert my Client plugin cmake code into
> the paraview build so that I could build everything in one step. I
> patterned my cmake code after the Prism plugin with a one major
> difference. I call my Client cmake code from my
> PVRoboMetParaViewImport.cmake file.
>
>    The compile progresses ok until I get to the point where the moc
> generated file tries to get compiled.:
>
> [ 99%] Generating moc_pqH5RoboMetReaderPanelImplementation.cxx
> cd /Users/Shared/Kitware-CVS/ParaView3/Build/H5RoboMet && /Users/
> Shared/OpenSource/Qt-4.3.3-UBFrwk/bin/moc -o /Users/Shared/Kitware-
> CVS/ParaView3/Build/H5RoboMet/
> moc_pqH5RoboMetReaderPanelImplementation.cxx /Users/Shared/Kitware-
> CVS/ParaView3/Build/H5RoboMet/pqH5RoboMetReaderPanelImplementation.h
> /Users/Shared/Kitware-CVS/ParaView3/Build/H5RoboMet/
> pqH5RoboMetReaderPanelImplementation.h:45: Error: Undefined interface
> make[2]: *** [H5RoboMet/moc_pqH5RoboMetReaderPanelImplementation.cxx]
> Error 1
> make[1]: *** [H5RoboMet/CMakeFiles/H5RoboMetReaderPanelPlugin.dir/
> all] Error 2
>
> Line 45 of that header file is this:
>
>    Q_INTERFACES(pqObjectPanelInterface)
>
> I am guessing that I am missing any include path somewhere but not
> really sure where.
>
>
> If I compile ParaView completely, then compile my plugin using its
> own cmake then the code compiles just fine.
>
> Anyone have any ideas?
>
> --
> Mike Jackson
> imikejackson & gmail * com
>
>
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview




More information about the ParaView mailing list