octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issues & questions building Octave-3.4.2 MinGW


From: Jordi Gutiérrez Hermoso
Subject: Re: Issues & questions building Octave-3.4.2 MinGW
Date: Thu, 7 Jul 2011 17:30:15 -0400

On 7 July 2011 17:13, Philip Nienhuis <address@hidden> wrote:
> 2. In configure.log I get this:
>  :
> configure:33062: checking for fltk-config
> configure:33080: found /x/Programs/OctaveLibs/bin/fltk-config
> configure:33093: result: /x/Programs/OctaveLibs/bin/fltk-config
> configure:33117: checking for OpenGL support in FLTK
> configure:33140: gcc -shared-libgcc -c -g -O2
> -I/c/Programs/OctaveLibs/include -mwindows -DWIN32 -DUSE_OPENGL32 -O3
> -fomit-frame-pointer -mno-cygwin -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_THREAD_SAFE -D_REENTRANT -I/x/Programs/gplibs/include
> -I/x/Programs/OctaveLibs/include -I/x/programs/GnuWin32/include conftest.c
>>&5
> In file included from x:/Programs/OctaveLibs/include/FL/gl.h:54:0,
>                 from conftest.c:323:
> x:/Programs/OctaveLibs/include/FL/Enumerations.H:497:29: error: expected
> '=', ',', ';', 'asm' or '__attribute__' before 'fl_define_FL_ROUND_UP_BOX'
> x:/Programs/OctaveLibs/include/FL/Enumerations.H:500:29: error: expected
> '=', ',', ';', 'asm' or '__attribute__' before 'fl_define_FL_SHADOW_BOX'
> <lots more of similar errors>
>  :
> (watch out for line wrap!)
>
> Comparing Enumerations.h in MinGW and on Linux I can't spot what's wrong
> here (but admittedly my C++ skills are meager).

I don't know why configure keeps doing this, and sometimes it doesn't
matter. The problem is basically that configure decided to compile a
C++ file as a C file. It should be using g++ to compile that file
instead of gcc. This seems to make it more difficult for the configure
script to find fltk, but it seems to succeed later anyways, under some
circumstances I've never quite pinpointed.

- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]