Further investigations: - I commented out the ICS/IDS reader plugin that was causing build errors. Now, it builds. - The output libraries are now static! Do we have to precise if a plugin is static or dynamic?
This is visible for several definitely different PV plugin projects. "make -j 2" gives the following (ending) output: ... [ 78%] [ 80%] Generating moc_ChironToolbarActions.cxx Generating qrc_chiron.cxx [ 82%] Generating moc_ChironToolbarActionsImplementation.cxx [ 84%] [ 86%] Building CXX object Plugins/CMakeFiles/ChironToolbar.dir/qrc_chiron.cxx.o Building CXX object Plugins/CMakeFiles/ChironToolbar.dir/moc_ChironToolbarActions.cxx.o [ 89%] Building CXX object Plugins/CMakeFiles/ChironToolbar.dir/ChironToolbarActionsImplementation.cxx.o [ 91%] Building CXX object Plugins/CMakeFiles/ChironToolbar.dir/moc_ChironToolbarActionsImplementation.cxx.o [ 93%] Building CXX object Plugins/CMakeFiles/ChironToolbar.dir/ChironToolbarActions.cxx.o [ 95%] Building CXX object Plugins/CMakeFiles/ChironToolbar.dir/ChironToolbar_Plugin.cxx.o [ 97%] Building CXX object Plugins/CMakeFiles/ChironToolbar.dir/moc_ChironToolbar_Plugin.cxx.o Linking CXX static library ../bin/libChironToolbar.a [100%] Built target ChironToolbar Jerome 2009/12/3 Jérôme <jerome.ve...@gmail.com> > 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 <utkarsh.ayac...@kitware.com> > > 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 >> > >> > 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