James Hearon wrote:
> Hi,
> I've tried several versions of FLTK but cannot seem to get thru make. Any
> suggestions?
>
> filename_list.cxx: In function �int fl_filename_list(const char*,
> dirent***, int (*)(dirent**, dirent**))�:
> filename_list.cxx:93: error: invalid conversion from �in
> fltk 1.1.1 and it is 2001/11/12 dated.
Ouch! That is very old... You should at least try 1.1.9. It is ABI and
API compatible, so your existing code should "Just Work" and has *a lot*
of new features and bug fixes.
SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, C
> I've tried several versions of FLTK but cannot seem to get
> thru make. Any suggestions?
>
> filename_list.cxx: In function 'int fl_filename_list(const
> char*, dirent***, int (*)(dirent**, dirent**))':
> filename_list.cxx:93: error: invalid conversion from 'int
> (*)(const void*, const voi
In that case you shoould realy try newer version (1.1.9?).
You do not need to "make install" of new version if you do not want to
modify your system, just inform your compiler (prepend -I**, -L**) about
header/library directories where your new fltk is sitting and link to
fltk statically. Static li
> Purnachandra wrote:
> > In my version Fl_Text_Display is not available. If I install new version
> > of FLTK all my old application might effected. Is there any other options?
>
> Try Fl_Browser then.
>
> That should be there, even in the very old versions of FLTK,
> and will sh
Hello everyone, I was trying to make some simple program that involves
animation, and I came up whit the idea of making a program that draws a
rectangle at a different position each half a second.That seems pretty simple.I
managed to do that, but until I exit the aplication, the animation never
andrei_c schrieb:
> Hello everyone, I was trying to make some simple program that
> involves animation, and I came up whit the idea of making a program
> that draws a rectangle at a different position each half a
> second.
Nice, I thought it would be funny to see this.
> int main() {
// srand(t
> Nice, I thought it would be funny to see this.
>
> > int main() {
> // srand(time(0))
>
> When compiling, this was shown as problem and I deactivated this line by
> comment. After that the program started and worked right the way it was
> ment to work - after eleven jumps of rectangle the progra
On 17 Jul 2009, at 19:33, andrei_c wrote:
> void Canvas::timer_cb(void *v)
> {
> Canvas *c = (Canvas *) v;
> c->redraw();
> Fl::repeat_timeout(0.5,timer_cb,c); // 0.5 s delay
> n_frames++;
>
> if(n_frames > 10) // this should stop the animation but it doesn't
> Fl::remove_timeout(tim
>
> On 17 Jul 2009, at 19:33, andrei_c wrote:
> > void Canvas::timer_cb(void *v)
> > {
> > Canvas *c = (Canvas *) v;
> > c->redraw();
> > Fl::repeat_timeout(0.5,timer_cb,c); // 0.5 s delay
> > n_frames++;
> >
> > if(n_frames > 10) // this should stop the animation but it doesn't
> > F
On 17 Jul 2009, at 23:06, andrei_c wrote:
>
> But besides that, what I am doing to implement an animation isn't
> that bad, right??Because I also saw another way of doing it on a
> FLTK tutorial, it was that one whit the 3 JPEGs
> animation.Unfortunately, that didn't help me, so the method a
andrei_c wrote:
> Hello everyone, I was trying to make some simple program that involves
> animation, and I came up whit the idea of making a program that draws a
> rectangle at a different position each half a second.That seems pretty
> simple.I managed to do that, but until I exit the aplicati
@Ian:
> You mean using add/repeat_timeout to drive the animation? Yes, that's
> fine, a perfectly sensible way to proceed.
> Maybe if you were animating a full physical model with 3-D rendering
> and stuff you might want to do something more sophisticated, but for
> basic animations and so forth it
Purnachandra wrote:
>> Purnachandra wrote:
>>> In my version Fl_Text_Display is not available. If I install new version
>>> of FLTK all my old application might effected. Is there any other options?
>> Try Fl_Browser then.
...
> Looks like Fl_Browser is works for me. I will try this options.
andrei_c wrote:
> Hello everyone, I was trying to make some simple program
> that involves animation, and I came up whit the idea of
> making a program that draws a rectangle at a different position
> each half a second.That seems pretty simple.I managed to do that,
> but until I exit the aplicatio
> on a platform specific basis, it's possible that on
> one of the platforms, FLTK's remove_timeout() doesn't
> actually stop pending timeouts, which is maybe why the
> time keeps retriggering.
I just tried your app on mac, windows and linux, and in
all case
Hi,
Thank You. The workaround seems to be for FLTK 2.0 code. I am not able to get
make to work at all for FLTK 2.0. It endlessly loops on configure.
Actually I think I needed an FLTK 1.X version anyway; so if there's there's any
info on earlier versions of FLTK for the glibc problem I'd apprec
> On 07/16/2009 03:49 PM, James Hearon wrote:
>
> > I've tried several versions of FLTK but cannot seem to get thru make. Any
> > suggestions?
>
> As time goes on, GCC get's more and more picky about naughty typecasting. I
> think I filed an STR on this problem. If you look at the sources for t
18 matches
Mail list logo