diff -up wxmacmolplt-7.4.1/configure.glew wxmacmolplt-7.4.1/configure
--- wxmacmolplt-7.4.1/configure.glew 2010-07-14 04:15:16.000000000 +0200
+++ wxmacmolplt-7.4.1/configure 2010-11-13 23:08:48.000000000 +0100
@@ -2311,7 +2311,7 @@ case "${host}" in
;;
*)
HOST=LINUX
- LIBGL="-lGL -lGLU"
+ LIBGL="-lGL -lGLU -lGLEW"
;;
esac
diff -up wxmacmolplt-7.4.1/src/Makefile.am.glew wxmacmolplt-7.4.1/src/Makefile.am
--- wxmacmolplt-7.4.1/src/Makefile.am.glew 2010-07-14 04:34:20.000000000 +0200
+++ wxmacmolplt-7.4.1/src/Makefile.am 2010-11-13 23:09:27.000000000 +0100
@@ -25,8 +25,6 @@ wxmacmolplt_SOURCES =
fmofragmentationdialog.cpp fmofragmentationdialog.h \
GaussHermite.cpp GaussHermite.h \
Geometries.cpp Geometries.h \
- glew.cpp glew.h \
- glxew.h wglew.h \
glf.cpp glf.h \
GlobalExceptions.h \
Globals.h \
diff -up wxmacmolplt-7.4.1/src/Makefile.in.glew wxmacmolplt-7.4.1/src/Makefile.in
--- wxmacmolplt-7.4.1/src/Makefile.in.glew 2010-07-14 04:34:28.000000000 +0200
+++ wxmacmolplt-7.4.1/src/Makefile.in 2010-11-13 23:10:04.000000000 +0100
@@ -59,7 +59,7 @@ am_wxmacmolplt_OBJECTS = aboutwxmacmolpl
exportoptionsdialog.$(OBJEXT) Files.$(OBJEXT) \
FloatSlider.$(OBJEXT) Frame.$(OBJEXT) frameenergy.$(OBJEXT) \
frequenciesdialog.$(OBJEXT) fmofragmentationdialog.$(OBJEXT) \
- GaussHermite.$(OBJEXT) Geometries.$(OBJEXT) glew.$(OBJEXT) \
+ GaussHermite.$(OBJEXT) Geometries.$(OBJEXT) \
glf.$(OBJEXT) Gradient.$(OBJEXT) inputbuilder.$(OBJEXT) \
InputData.$(OBJEXT) InputWizard.$(OBJEXT) Internals.$(OBJEXT) \
llmdialog.$(OBJEXT) main.$(OBJEXT) Math3D.$(OBJEXT) \
@@ -223,8 +223,6 @@ wxmacmolplt_SOURCES = \
fmofragmentationdialog.cpp fmofragmentationdialog.h \
GaussHermite.cpp GaussHermite.h \
Geometries.cpp Geometries.h \
- glew.cpp glew.h \
- glxew.h wglew.h \
glf.cpp glf.h \
GlobalExceptions.h \
Globals.h \
@@ -387,7 +385,6 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fmofragmentationdialog.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/frameenergy.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/frequenciesdialog.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glew.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glf.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inputbuilder.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/llmdialog.Po@am__quote@
diff -up wxmacmolplt-7.4.1/src/mmp_gl.h.glew wxmacmolplt-7.4.1/src/mmp_gl.h
--- wxmacmolplt-7.4.1/src/mmp_gl.h.glew 2008-12-09 03:31:46.000000000 +0100
+++ wxmacmolplt-7.4.1/src/mmp_gl.h 2010-11-13 23:08:48.000000000 +0100
@@ -1,7 +1,7 @@
#ifndef MMP_GL_H
#define MMP_GL_H
-#include "glew.h"
+#include <GL/glew.h>
#include <wx/wx.h>
#include <wx/glcanvas.h>
#include <string>