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.

> 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.

        The fltk-config build command is noted in the comments at the top
        of the app, along with the need for the texture map.

> Don't have GLX configured to be able to run it though :-(

        Ahh, too bad.

        Under Ubuntu I think I brought in opengl inadvertently by
        using apt-get to install glut. (The dependencies brought in
        mesa, and by extension GLX). Was completely hands off.. no
        config was needed (thankfully).
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to