From help-request at octave dot org Mon Oct 3 23:37:44 2005 Subject: Re: fltk, oct files, and windows From: Shai Ayal To: Brian Blais cc: octave help mailing list Date: Tue, 4 Oct 2005 06:24:36 +0200 (IST) FLTK default compilation on windows is without support for cygwin (i.e. native windows only). Did you configure FLTK with --enable-cygwin ? what is the output of: fltk-config --cxxflags and fltk-config --ldflags Shai On Mon, 3 Oct 2005, 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 fltest.cc > > 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 > > > -- Shai Ayal, Ph.D. Head of Research BioControl Medical (B.C.M.) Ltd. 3 Geron St. Yehud 56100 ISRAEL E: shaia at biocontrol dot co dot il T: +972 3 6322126 ext 223 F: +972 3 6322125 ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------