Jerome, I tried to mimic your plugin by a small example but could not reproduce your issue. If you don't mind helping me track this down, can you try the following:
* First, try clean building -- delete the build directory for the plugin (not paraview) and try again. * Does the vtkSMXML_*.h the compiler is complaining about exist? * What does ICSImageReader_Plugin.cxx look like? Thanks, Utkarsh On Thu, Dec 3, 2009 at 5:20 AM, Jérôme <[email protected]> wrote: > Utkarsh, > > I have similar problem: the generated vtkSMXML_ header files cannot be > found. Attached is my CMakeLists defining the plugins. Some variables are > declared in other places. If you need them, tell me. > > Jerome > > > 2009/12/2 Utkarsh Ayachit <[email protected]> >> >> 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 <[email protected]> >> 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 >> > >> > 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 >> > >> _______________________________________________ >> 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 > > _______________________________________________ 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
