I realised that adding LD_LIBRARY_PATH doesn't work when it requires another plugin - but adding the REQUIRED_PLUGINS in the CMakeLists.txt works :)
2009/12/8 Paul Edwards <[email protected]>: > This is fixed by adding my plugin directory to the LD_LIBRARY_PATH. > > Thanks, > Paul > > 2009/12/7 Utkarsh Ayachit <[email protected]>: >>> This is from the auto loading - it will work if I load in the other >>> plugin first. It is telling me that it is not a valid qt plugin and >>> then it also says which library is missing (the other plugin) >> >> Is this dependency among plugins because you are referring to some >> classes defined my plugin A in plugin B? If so, you might be better >> off creating a library for the common classes and then have the two >> plugins depend on it. You'll have to use LD_LIBRARY_PATH or rpaths to >> ensure that the shared libraries are loaded when the plugins are >> loaded. ParaView currently does not guarantee any order when trying to >> auto-load the plugins at startup. That may be something worth >> investigating. >> >> Utkarsh >> > _______________________________________________ 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
