From: Leonardo Flórez-Valencia Date: Mon, 10 Oct 2016 20:54:11 +0000 (-0500) Subject: ... X-Git-Tag: v0.1~89 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=f58a42ca9deb4b190a83787ce51622cdcefab9fc;p=cpPlugins.git ... --- diff --git a/lib/Instances/CMakeLists.txt b/lib/Instances/CMakeLists.txt index 455a407..0ec835b 100644 --- a/lib/Instances/CMakeLists.txt +++ b/lib/Instances/CMakeLists.txt @@ -29,6 +29,6 @@ TARGET_LINK_LIBRARIES(${_pfx}Meshes ${_pfx}BoundingBoxes) TARGET_LINK_LIBRARIES(${_pfx}ImageIterators ${_pfx}Images) TARGET_LINK_LIBRARIES(${_pfx}ImageFilters ${_pfx}Images ${_pfx}ImageIterators) TARGET_LINK_LIBRARIES(${_pfx}ImageNeighborhoodIterators ${_pfx}Images) -TARGET_LINK_LIBRARIES(${_pfx}Paths ${_pfx}Images) +TARGET_LINK_LIBRARIES(${_pfx}Paths ${VTK_LIBRARIES} ${_pfx}Images) ## eof - $RCSfile$ diff --git a/lib/cpBaseQtApplication/MainWindow.cxx b/lib/cpBaseQtApplication/MainWindow.cxx index f8ac71a..60cdc20 100644 --- a/lib/cpBaseQtApplication/MainWindow.cxx +++ b/lib/cpBaseQtApplication/MainWindow.cxx @@ -71,6 +71,7 @@ MainWindow( int argc, char* argv[], QApplication* app, QWidget* parent ) // Get the plugins interface this->m_Plugins = TPlugins::New( ); try { this->m_Plugins->AddEnvironments( env.str( ) ); } catch( ... ) { } + try { this->m_Plugins->LoadPaths( this->m_RunPath ); } catch( ... ) { } this->updateEnvironment( ); try { this->m_Plugins->SavePaths( this->m_RunPath ); } catch( ... ) { }