PR: link problem detection on ubuntu 12.04

This commit is contained in:
prascle 2012-11-10 19:11:36 +00:00
parent ea23bdf69b
commit abb28ffdd2

View File

@ -74,7 +74,7 @@
#endif
#ifdef _DEBUG_
static int MYDEBUG = 0;
static int MYDEBUG = 1;
#else
static int MYDEBUG = 0;
#endif
@ -420,13 +420,13 @@ namespace SMESH
LibHandle libHandle = LoadLib( aClientLibName.toLatin1().data() );
if (!libHandle) {
// report any error, if occured
if ( MYDEBUG ) {
{
#ifdef WIN32
const char* anError = "Can't load client meshers plugin library";
#else
const char* anError = dlerror();
#endif
MESSAGE(anError);
INFOS(anError); // always display this kind of error !
}
}
else {