octave-maintainers
[Top][All Lists]
Advanced

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

Re: fltk-config for windows gives -mwindows flag (was octave-3.3.50 buil


From: Marco Atzeri
Subject: Re: fltk-config for windows gives -mwindows flag (was octave-3.3.50 built by mingw-gcc-4.4.0 cannot be executed.)
Date: Wed, 30 Sep 2009 08:31:42 +0000 (GMT)

> Da: Tatsuro MATSUOKA <address@hidden>
> Oggetto: Re: fltk-config for windows gives -mwindows flag (was octave-3.3.50  
> built by mingw-gcc-4.4.0 cannot be executed.)
> A: "Marco Atzeri" <address@hidden>
> Cc: address@hidden, "Shai Ayal" <address@hidden>
> Data: Mercoledì 30 settembre 2009, 09:18
> Hello
> 
> --- Shai Ayal wrote:
> > 
> > I have never used fltk with mingw, only cygwin, so I
> don't know :(
> > Did you try to compile with these flags? what were the
> results of
> > removing -mwindows -- did the fltk backend
> compile/run?
> > 
> From the cygwin-1.7 prompt
> 
> $ $ fltk-config --use-gl --ldflags
> -L/usr/local/lib -mwindows -Wl,--enable-auto-import
> -Wl,--enable-runtime-pseudo-reloc -lfltk_gl
> -lglu32 -lopengl32 -lfltk -lpthread -lole32 -luuid
> -lcomctl32
> 
> This fltk is installed by setup-1.7.exe.
> 
> The '-mwindows' option is not deleted. 
> 
> Hi Marco.
> In the cygwin case, is not the -mwindow option harmful for
> building octave in the development branch ?
> 
> You can follow the context the below 
> http://www.nabble.com/octave-3.3.50-built-by-mingw-gcc-4.4.0-cannot-be-executed.-td25569527.html

Hi Tatsuro,
currently fltk don't work on cygwin; at least for me.
The windows is created but only garbage is plotted.

I presume it is due to the available fltk 
that is the not X11 version while the other GL 
graphics library are X11.

So for the time being all my test are built with

../octave/configure --enable-float-truncate --libexecdir=/usr/lib 
--enable-shared --without-fltk --without-framework-opengl 
CFLAGS=-Dtimezone=_timezone CC="gcc-4 -shared-libgcc" F77=gfortran-4 CXX=g++-4 
CPP=cpp-4

> 
> Regards
> 
> Tatsuro   

Marco



      



reply via email to

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