diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-01-19 00:46:54 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-01-19 00:46:54 +0000 |
| commit | 9872f7405325019ab925b487dd8988cf9882817d (patch) | |
| tree | 1b158e8ce4acc9edc435b594358e7392ca60d620 | |
| parent | b86f2f735a004a66f62f70ec30aea01b828731bd (diff) | |
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
| -rw-r--r-- | FL/Fl_Gl_Window.H | 2 | ||||
| -rw-r--r-- | README.Unix.txt | 1 | ||||
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 3 | ||||
| -rw-r--r-- | src/config_lib.h | 8 |
4 files changed, 8 insertions, 6 deletions
diff --git a/FL/Fl_Gl_Window.H b/FL/Fl_Gl_Window.H index 18188589a..31fedb215 100644 --- a/FL/Fl_Gl_Window.H +++ b/FL/Fl_Gl_Window.H @@ -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; /** diff --git a/README.Unix.txt b/README.Unix.txt index 096d01726..7cd3bb437 100644 --- a/README.Unix.txt +++ b/README.Unix.txt @@ -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 diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index da93fd399..1468d44dc 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -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. diff --git a/src/config_lib.h b/src/config_lib.h index 6e5c8738b..3ee30ee52 100644 --- a/src/config_lib.h +++ b/src/config_lib.h @@ -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 |
