Fixed typos for Linux compilation. OpenGL driver compiles and somewhat works, except for text rendering (as expected).

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2016-01-19 00:46:54 +00:00
parent b86f2f735a
commit 9872f74053
4 changed files with 8 additions and 6 deletions

View File

@ -28,7 +28,7 @@
// ------ this should be in a separate file! -----------------------------------
#ifdef FL_CFG_GFX_OPENGL
#include <FL/Fl_Device.h>
#include <FL/Fl_Device.H>
class Fl_OpenGL_Graphics_Driver;
/**

View File

@ -143,6 +143,7 @@ has no permission to call "sudo", so we will change user a few times:
su root
yum groupinstall "Development Tools"
yum groupinstall "X Software Development"
yum groupinstall "C Development Tools and Libraries"
If you are planning to use the Code::Blocks IDE, also install this

View File

@ -44,7 +44,8 @@ extern int fl_gl_load_plugin;
// ------ this should be in a separate file! -----------------------------------
#ifdef FL_CFG_GFX_OPENGL
#include <FL/Fl_Device.h>
#include <FL/Fl_Device.H>
#include <FL/gl.h>
/**
\brief OpenGL pecific graphics class.

View File

@ -26,7 +26,7 @@
# define FL_CFG_GFX_OPENGL
# endif
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: please choose a core graphics library
# pragma message "FL_PORTING: please choose a core graphics library"
#else // X11
# define FL_CFG_GFX_XLIB
# ifdef HAVE_GL
@ -45,7 +45,7 @@
#elif defined(WIN32)
# define FL_CFG_WIN_WIN32
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: please choose a graphics driver library
# pragma message "FL_PORTING: please choose a graphics driver library"
#else // X11
# define FL_CFG_GFX_PS
#endif
@ -61,7 +61,7 @@
#elif defined(WIN32)
# define FL_CFG_WIN_WIN32
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: please choose a window management library
# pragma message "FL_PORTING: please choose a window management library"
#else // X11
# define FL_CFG_GFX_X11
#endif
@ -77,7 +77,7 @@
#elif defined(WIN32)
# define FL_CFG_SYS_WIN32
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: please choose a system library
# pragma message "FL_PORTING: please choose a system library"
#else // X11
# define FL_CFG_SYS_POSIX
#endif