On Wed, 12 Jan 2000, pete moss wrote:

> [EMAIL PROTECTED] wrote:
> > 
> > I've built it against 1.0.7 just fine.
> > 
> > Did you run Poser's "configure" script *after* installing FLTK? If not, then it
> > wouldn't find the library and would set an internal flag saying it wasn't
> > available.
> > 
> > -- Keith
> 
> 
> oops!  actually, i first tried to compile it without fltk installed (i
> know, RTFM).  after i actually read the install instructions, i then
> installed fltk and tried again after doing a make clean.  make clean
> doesnt get rid of config.cache files, the .deps dir, and a couple other
> files.  i got rid of those by hand, recompiled, now it works great! 
> thanks for the help everyone, this should teach me to actually read
> about what i am doing before doing it!!

Bummer. BTW, the executable I posted has a patch applied to it that will
enable 3.0a3 to startup (more) reliably. Someone else (Ben Darnell) has
collected a group of patches which I've just tar.gz'd and copied to here:

http://www.dattalo.com/pose_3.0a3-2.diff.tar.gz


I haven't tried this patch. Most of it consists of the diff between two
config files. The piece that is most pertinent is:

--- pose-3.0a3.orig/SrcUnix/fltk_LcdWindow.cpp
+++ pose-3.0a3/SrcUnix/fltk_LcdWindow.cpp
@@ -92,6 +92,7 @@
 public:
        Dynamic_Image(const void* data, int width, int height, int
rowBytes) :
                Fl_Image ((const uchar*) data, width, height, 3,
rowBytes),
+               _data (data),
                _width (width),
                _height (height)
        {
@@ -105,7 +106,7 @@
        virtual void measure (int& w, int& h);

 private:
-       char* _data;
+       const void* _data;
        int _width;
        int _height;
 };


Scott

Reply via email to