mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
PR: link problem detection on ubuntu 12.04
This commit is contained in:
parent
ea23bdf69b
commit
abb28ffdd2
@ -74,7 +74,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _DEBUG_
|
#ifdef _DEBUG_
|
||||||
static int MYDEBUG = 0;
|
static int MYDEBUG = 1;
|
||||||
#else
|
#else
|
||||||
static int MYDEBUG = 0;
|
static int MYDEBUG = 0;
|
||||||
#endif
|
#endif
|
||||||
@ -420,13 +420,13 @@ namespace SMESH
|
|||||||
LibHandle libHandle = LoadLib( aClientLibName.toLatin1().data() );
|
LibHandle libHandle = LoadLib( aClientLibName.toLatin1().data() );
|
||||||
if (!libHandle) {
|
if (!libHandle) {
|
||||||
// report any error, if occured
|
// report any error, if occured
|
||||||
if ( MYDEBUG ) {
|
{
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
const char* anError = "Can't load client meshers plugin library";
|
const char* anError = "Can't load client meshers plugin library";
|
||||||
#else
|
#else
|
||||||
const char* anError = dlerror();
|
const char* anError = dlerror();
|
||||||
#endif
|
#endif
|
||||||
MESSAGE(anError);
|
INFOS(anError); // always display this kind of error !
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user