[Top][All Lists]

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

Re: fltk, oct files, and windows

From: James R. Phillips
Subject: Re: fltk, oct files, and windows
Date: Mon, 3 Oct 2005 11:57:29 -0700 (PDT)

--- Brian Blais wrote:

> Hello,
> I am trying to get some of my fltk/octave code to run under windows.  I
> can get fltk compiled under cygwin, and all of the demos work.  When I
> bundle the functions in an oct file, the code freezes.  I am attaching
> the code, which is just to open up a window with a message, and an ok
> button. I call it with something like:
> fltest('hello');
> The code runs, puts the window up, but then never exits.  I think that 
> either I am doing something stupid, or there is a conflict
> in the linker/compiler flags that I am introducing somehow.  I am
> compiling it with:
> mkoctfile -I. `fltk-config --cxxflags`  -Wall `fltk-config --ldflags`
> -lm
> I am using octave 2.1.69, on both Linux and Windows 2000.  The same code
> and compile line work in Linux.
> Any ideas?
>                       thanks,
>                               Brian Blais

You may want to try the "official" cygwin version of octave, which is 2.1.71,
available with cygwin setup.exe.

If you do, make certain you do _not_ install the cygwin gcc 3.4.4 compiler for
use with mkoctfile, but instead use the gcc 3.3.3 compiler, which is what
2.1.71 is compiled with.

I have been unable to produce a working version of 2.1.71 using gcc 3.4.4 on

James R. Phillips
Volunteer cygwin octave maintainer

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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