From 50640c775e5ff9891f80e77fa1d9724fd8307713 Mon Sep 17 00:00:00 2001 From: sln Date: Thu, 15 Dec 2011 15:33:42 +0000 Subject: [PATCH] Linux compilation --- src/SVTK/Makefile.am | 6 ++++-- src/SVTK/SVTK_FrameBuffer.cxx | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/SVTK/Makefile.am b/src/SVTK/Makefile.am index 62facfcb6..07129279d 100755 --- a/src/SVTK/Makefile.am +++ b/src/SVTK/Makefile.am @@ -58,7 +58,8 @@ salomeinclude_HEADERS= \ SVTK_Recorder.h \ SVTK_RecorderDlg.h \ SVTK_ImageWriter.h \ - SVTK_ImageWriterMgr.h + SVTK_ImageWriterMgr.h \ + SVTK_FrameBuffer.h dist_libSVTK_la_SOURCES= \ SVTK_Prs.cxx \ @@ -91,7 +92,8 @@ dist_libSVTK_la_SOURCES= \ SVTK_Recorder.cxx \ SVTK_RecorderDlg.cxx \ SVTK_ImageWriter.cxx \ - SVTK_ImageWriterMgr.cxx + SVTK_ImageWriterMgr.cxx \ + SVTK_FrameBuffer.cxx # internal headers diff --git a/src/SVTK/SVTK_FrameBuffer.cxx b/src/SVTK/SVTK_FrameBuffer.cxx index 63f2d80ad..b078e5bec 100644 --- a/src/SVTK/SVTK_FrameBuffer.cxx +++ b/src/SVTK/SVTK_FrameBuffer.cxx @@ -22,7 +22,7 @@ // #include "SVTK_FrameBuffer.h" -#include +//#include #include @@ -132,7 +132,7 @@ bool SVTK_FrameBuffer::init( const GLsizei& xSize, const GLsizei& ySize ) if( !IsEXTInitialized || strstr( ext, "GL_EXT_framebuffer_object" ) == NULL ) { - MESSAGE( "Initializing OpenGL FrameBuffer extension failed" ); + //MESSAGE( "Initializing OpenGL FrameBuffer extension failed" ); return false; } -- 2.39.2