Greg Ercolano wrote: > Duncan Gibson wrote: >>> Here's a snazzed up version of Ian's rework of my old example: >>> Screenshot: >>> http://seriss.com/people/erco/fltk/image-texturemapped-cube.png >>> Code: >>> http://seriss.com/people/erco/fltk/image-texturemapped-cube.cxx >> Nice demo! >> >> Only compiles on my box if I add #include <stdlib.h> for exit() > > Thanks -- added it. > Yeah, that gets me alla time cause linux is getting it from > somewhere else. > > Seemed to fly on linux + osx without that, so its obviously > getting included from somewhere else.
works on Windows with cygwin OOTB :-) (of course with gl/glut or whatever installed). >> and the easiest way to compile is then: >> fltk-config --use-images --use-glut --compile image-texturemapped-cube.cxx > > Glut shouldn't be needed (--use-glut?) > but --use-gl should. yes, here too, with use-gl > > The fltk-config build command is noted in the comments at the top > of the app, along with the need for the texture map. I added to use argv[1] as the filename ... Really nice, thanks. Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

