On Wed, Dec 2, 2009 at 10:51 AM, Utkarsh Ayachit
<utkarsh.ayac...@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.edwa...@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
_______________________________________________
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

Reply via email to