[Paraview] problem with latest CVS

David Doria daviddoria at gmail.com
Wed Dec 2 17:54:35 EST 2009


On Wed, Dec 2, 2009 at 10:51 AM, Utkarsh Ayachit
<utkarsh.ayachit at kitware.com> wrote:
> Paul,
>
> I've been changing the way plugins are configured. Can you try
> clean-building your plugin? If that doesn't work, can you post your
> CMakeLists.txt file?
>
> Thanks
> Utkarsh
>
> On Wed, Dec 2, 2009 at 6:33 AM, Paul Edwards <paul.m.edwards at gmail.com> wrote:
>> I'm getting build errors on my plugins:
>>
>> .....
>> /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:43:86: error:
>> /path/to/build/dir/MyReader/vtkSMXML_MyReaderSMPlugin.h: No such file
>> or directory
>> /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx: In member
>> function ‘virtual void
>> MyReaderGUIPlugin_Plugin::GetXMLs(std::vector<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char> >,
>> std::allocator<std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> > > >&)’:
>> /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:69: error:
>> ‘MyReaderSMPluginvtkMyReaderGetInterfaces’ was not declared in this
>> scope
>> make[2]: *** [MyReader/CMakeFiles/MyReaderGUIPlugin.dir/MyReaderGUIPlugin_Plugin.cxx.o]
>> Error 1
>>
>> Is it just me?!
>>
>> Thanks,
>> Paul
>> _______________________________________________
>> Powered by www.kitware.com
>>

I am having a similar problem:

gmake[2]: *** No rule to make target
`/media/portable/VTK_Additions/PointSetNormalEstimation.xml', needed
by `plugin/vtkSMXML_PointSetNormalEstimation.h'.

My CMakeLists.txt in the plugin directory is simply:

INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES} ../../)

ADD_PARAVIEW_PLUGIN(PointSetNormalEstimation "1.0"
  SERVER_MANAGER_XML ../../PointSetNormalEstimation.xml
SERVER_MANAGER_SOURCES ../../vtkPointSetNormalEstimation.cxx
)

Thanks,

David


More information about the ParaView mailing list