Hi folks:

Apologies if this has been answered elsewhere, but google is giving me no joy.

I have just installed fltk-x11 on my new Intel PowerMac.  It installs
fine, but all of my fltk apps show the same behavior: I get an X11
frame, but the window is entirely empty.  In desperation, I also tried
the hello world app from the FLTK tutorial (with the same results).

Key data is as follows:

OS X 10.4.8 (Intel)
Apple X11 1.1.3 (XFree86 4.4.0)
Package fltk-x11 1.1.6-11.1

I also tried installing FLTK 1.1.7 from sources, but was only able to
build the Quartz version (which works just fine).  Any ideas?  I'd be
happy if I could just figure out how to build the X11 version from
source.

   Andrew




#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Box.H>

int main(int argc, char **argv) {
  Fl_Window *window = new Fl_Window(300,180);
  Fl_Box *box = new Fl_Box(20,40,260,100,"Hello, World!");
  box->box(FL_UP_BOX);
  box->labelsize(36);
  box->labelfont(FL_BOLD+FL_ITALIC);
  box->labeltype(FL_SHADOW_LABEL);
  window->end();
  window->show(argc, argv);
  return Fl::run();
}




-- 
----------------------------------------------------------------------
Andrew Howard [EMAIL PROTECTED]
NASA Jet Propulsion Lab
Ph: 818 393 7050
Fax 818 393 5007
Mail Stop 198-235
4800 Oak Grove Drive
Pasadena, CA 91109 USA

----------------------------------------------------------------------
NOTE:all personal and professional opinions presented herein are
my own and do not, in any way, represent the opinion or policy of JPL.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to