MinGW build and FTGL library for Octave 3.1.55
Alexander Mamonov
mamonov at gmail.com
Tue May 5 21:29:23 CDT 2009
Thank you for the patch. After doing autoconf ./configure detects the
libraries correctly. I cannot check whether the build process itself
works, since for my gcc version 3.4.5 it breaks because of compiler
bugs.
Thanks,
Alex
On Mon, May 4, 2009 at 8:23 PM, John W. Eaton <jwe at octave.org> wrote:
> 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