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: Philip Nienhuis
Subject: Re: Issues & questions building Octave-3.4.2 MinGW
Date: Fri, 08 Jul 2011 00:36:31 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

Jordi GutiƩrrez Hermoso wrote:
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.

Yes, I saw that configure invokes cc.
I suspect that it might be a fake compile just to check that all files can be found and are in place, no more than just that.

Anyway, freetype is found now.
I overlooked one thing: to copy the freetype include directory to OctaveLibs/include

So, building right now - tomorrow morning I'll see how far the build goes.

Thanks

Philip



reply via email to

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