Salome HOME
PR: link problem detection on ubuntu 12.04
authorprascle <prascle>
Sat, 10 Nov 2012 19:11:36 +0000 (19:11 +0000)
committerprascle <prascle>
Sat, 10 Nov 2012 19:11:36 +0000 (19:11 +0000)
src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx

index fde2ae60951f9965bf5af25aecd8ef3f8698d3a5..2c5d1828c0d7b0081216aa87557eab4dcc60d56c 100644 (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 {