Skip to content
Snippets Groups Projects
Commit 7ab8f04a authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

add warning about fltk 1.1.7
parent b6e271f5
Branches
Tags
No related merge requests found
// $Id: GUI.cpp,v 1.490 2006-02-24 03:28:18 geuzaine Exp $ // $Id: GUI.cpp,v 1.491 2006-03-08 15:43:15 geuzaine Exp $
// //
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -134,6 +134,13 @@ Fl_Menu_Item m_menubar_table[] = { ...@@ -134,6 +134,13 @@ Fl_Menu_Item m_menubar_table[] = {
// menu window; removed File->Quit) // menu window; removed File->Quit)
#if defined(__APPLE__) && defined(HAVE_FLTK_1_1_5_OR_ABOVE) #if defined(__APPLE__) && defined(HAVE_FLTK_1_1_5_OR_ABOVE)
// random changes in fltk are driving me nuts sometimes
#if (FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 1) && (FL_PATCH_VERSION <= 6)
#undef FL_META
#define FL_META FL_CTRL
#endif
Fl_Menu_Item m_sys_menubar_table[] = { Fl_Menu_Item m_sys_menubar_table[] = {
{"File", 0, 0, 0, FL_SUBMENU}, {"File", 0, 0, 0, FL_SUBMENU},
{"New...", FL_META+'n', (Fl_Callback *)file_new_cb, 0}, {"New...", FL_META+'n', (Fl_Callback *)file_new_cb, 0},
......
...@@ -15,6 +15,13 @@ support; freely available from http://www.fltk.org). You can use the ...@@ -15,6 +15,13 @@ support; freely available from http://www.fltk.org). You can use the
the FLTK_PREFIX and GSL_PREFIX environment variables) if the libraries the FLTK_PREFIX and GSL_PREFIX environment variables) if the libraries
are not installed in their default locations. are not installed in their default locations.
[ WARNING: Do not use FLTK 1.1.7. FLTK 1.1.7 has a few serious bugs
that can lead to seemingly random crashes in Gmsh. FLTK 1.1.6 is OK,
as are most SVN revisions anterior to {"2005-10-10"}. Unfortunately,
these versions come with a buggy JPEG header: if you enable the local
JPEG library when you configure FLTK, you will have to remove the
"#include <config.h>" line in the file "jconfig.h". ]
To install a non-graphical version of Gmsh (that does not require FLTK To install a non-graphical version of Gmsh (that does not require FLTK
nor OpenGL), type nor OpenGL), type
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment