Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Provide connection of new features in SALOME module
[modules/shaper.git]
/
src
/
Config
/
Config_ModuleReader.cpp
diff --git
a/src/Config/Config_ModuleReader.cpp
b/src/Config/Config_ModuleReader.cpp
index 0291b83b4db3039eb1fe97a22d37c8153e66bb6f..c533e3e3e92b69565f2a5494ee1bbdb9aeaef5d6 100644
(file)
--- a/
src/Config/Config_ModuleReader.cpp
+++ b/
src/Config/Config_ModuleReader.cpp
@@
-84,9
+84,6
@@
std::list<std::string> Config_ModuleReader::importPlugin(const std::string& theP
void Config_ModuleReader::loadLibrary(const std::string theLibName)
{
void Config_ModuleReader::loadLibrary(const std::string theLibName)
{
-#ifdef _DEBUG
- std::cout << "Config_ModuleReader::loading library... " << theLibName.c_str() << std::endl;
-#endif
std::string aFileName = library(theLibName);
if (aFileName.empty())
return;
std::string aFileName = library(theLibName);
if (aFileName.empty())
return;
@@
-99,7
+96,7
@@
void Config_ModuleReader::loadLibrary(const std::string theLibName)
Events_Error::send(errorMsg);
}
#else
Events_Error::send(errorMsg);
}
#else
- void* aModLib = dlopen( aFileName.c_str(), RTLD_LAZY );
+ void* aModLib = dlopen( aFileName.c_str(), RTLD_LAZY
| RTLD_GLOBAL
);
if ( !aModLib ) {
std::cerr << "Failed to load " << aFileName.c_str() << std::endl;
}
if ( !aModLib ) {
std::cerr << "Failed to load " << aFileName.c_str() << std::endl;
}