MinGW build and FTGL library for Octave 3.1.55
John W. Eaton
jwe at octave.org
Mon May 4 20:23:59 CDT 2009
On 4-May-2009, Alexander Mamonov wrote:
| I'm not sure whether it should be posted on the bug list or not, but
| I'll try anyway.
| While doing ./configure on a MinGW system the script failed to detect
| the FTGL library.
| After analyzing the log file and some googling I found out that the
| problem is in the
| order of the libraries with which ./configure builds the tests. To
| make the long story short,
| the correct order in MinGW should be
| -lftgl -lglu32 -lopengl32
| which is in reverse to what ./configure does.
| I hacked the configure script and it works. This is of course not a
| proper way of doing it.
| Could somebody with the knowledge of autotools make the appropriate changes?
| This change should only apply to MinGW, since the current order seems
| correct for
| other Unix-like environments.
| The same change should probably apply to all parts of Octave that are
| linked to graphical
| libraries that use OpenGL.
How about the following change? Does this place the libraries in the
order you expect? It doesn't seem to cause any problems for me on a
Debian system.
http://hg.savannah.gnu.org/hgweb/octave/rev/7ea76c8a59f7
jwe
More information about the Bug-octave
mailing list