]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
To throw "Initializing ARB extensions failed" not only in debug mode, but in release...
authorouv <ouv@opencascade.com>
Tue, 4 May 2010 08:13:36 +0000 (08:13 +0000)
committerouv <ouv@opencascade.com>
Tue, 4 May 2010 08:13:36 +0000 (08:13 +0000)
src/VTKViewer/Makefile.am
src/VTKViewer/VTKViewer_PolyDataMapper.cxx

index 45c811c58469d53ce3aacfae8d54a5f01249ccc6..83be74896069593ba1831240b864682e0e931ae0 100755 (executable)
@@ -135,8 +135,10 @@ nodist_salomeres_DATA =            \
 
 libVTKViewer_la_CPPFLAGS = $(QT_INCLUDES) $(VTK_INCLUDES) $(CAS_CPPFLAGS)      \
        -I$(srcdir)/../Qtx -I$(srcdir)/../SUIT
-libVTKViewer_la_LDFLAGS = $(VTK_LIBS) $(QT_MT_LIBS) $(CAS_KERNEL) $(OGL_LIBS)  \
-       ../Qtx/libqtx.la ../SUIT/libsuit.la
+libVTKViewer_la_LDFLAGS = $(KERNEL_LDFLAGS) $(VTK_LIBS) $(QT_MT_LIBS)           \
+       $(CAS_KERNEL) $(OGL_LIBS) ../Qtx/libqtx.la ../SUIT/libsuit.la
+
+libVTKViewer_la_LIBADD = -lSALOMELocalTrace
 
 # Executable
 
index 5467099455a92ecfd27365ae6f9c1409d9f3ce38..50ea7c8e32ee605d54834133a7a233502c844547 100644 (file)
@@ -20,6 +20,8 @@
 #include "VTKViewer_PolyDataMapper.h"
 #include "VTKViewer_MarkerUtils.h"
 
+#include <utilities.h>
+
 #include <QString>
 
 #include <vtkCellArray.h>
@@ -230,7 +232,7 @@ bool VTKViewer_PolyDataMapper::InitExtensions()
       strstr( ext, "GL_ARB_point_sprite" ) == NULL ||
       strstr( ext, "GL_ARB_vertex_buffer_object" ) == NULL )
   {
-    vtkWarningMacro(<<"Initializing ARB extensions failed");
+    INFOS("Initializing ARB extensions failed");
     return false;
   }