Re: [Chicken-users] strange IUP canvas behavior - mouse clicks returning bad value

2015-10-30 Thread Matt Gushee
Hi, Matt--

On Thu, Oct 29, 2015 at 10:24 PM, Matt Welland 
wrote:

> I'm not sure how to narrow this problem down but I'd like to start with a
> fresh build of chicken / IUP. However that process never seems to go well
> for me.
>

What part doesn't go well? Is it the IUP egg, or the IUP library itself?
I've rarely had trouble with the former, often with the latter ...


> Has anyone recently installed the chicken IUP egg on 64bit Ubuntu 15.04 or
> a recent Debian and if so would you be so kind as to share your recipe for
> success?
>

I've been meaning for a while to update my IUP library. I've had some
struggles with that in the past, and have worked out some solutions ...
however, I'm on Arch Linux, so the issues may or may not be similar. At any
rate, once I've done that I'll post a report in case it is useful.

--
Matt Gushee
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] strange IUP canvas behavior - mouse clicks returning bad value

2015-10-29 Thread Matt Welland
I'm not sure how to narrow this problem down but I'd like to start with a
fresh build of chicken / IUP. However that process never seems to go well
for me. Has anyone recently installed the chicken IUP egg on 64bit Ubuntu
15.04 or a recent Debian and if so would you be so kind as to share your
recipe for success? I'd like to avoid losing several evenings trying every
permutation and combination of install strategies.

Thanks.

On Sat, Oct 17, 2015 at 7:45 AM, Thomas Chust 
wrote:

> On 2015-10-16 11:40, Matt Welland wrote:
> > [...]
> > this is failing on Ubuntu 15.04 but working ok on sles11.
> > [...]
>
> Hello,
>
> are the systems in question running on the same architecture? Do they
> have the same word size?
>
> My gut feeling says that the problem looks suspiciously like some
> calling convention or data type conversion issue.
>
> Ciao,
> Thomas
>
>
> --
> When C++ is your hammer, every problem looks like your thumb.
>
> ___
> Chicken-users mailing list
> Chicken-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/chicken-users
>
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] strange IUP canvas behavior - mouse clicks returning bad value

2015-10-17 Thread Thomas Chust
On 2015-10-16 11:40, Matt Welland wrote:
> [...]
> this is failing on Ubuntu 15.04 but working ok on sles11.
> [...]

Hello,

are the systems in question running on the same architecture? Do they
have the same word size?

My gut feeling says that the problem looks suspiciously like some
calling convention or data type conversion issue.

Ciao,
Thomas


-- 
When C++ is your hammer, every problem looks like your thumb.

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] strange IUP canvas behavior - mouse clicks returning bad value

2015-10-16 Thread Matt Welland
obj: #, pressed 0, status   1
canvas-origin: 0 0 click at -1987635704 48

The -1987635704 is the x value returned by this callback:

#:button-cb (lambda (obj btn pressed x y status)
...

this is failing on Ubuntu 15.04 but working ok on sles11.

so far as I can tell this is not due to any changes in the code - running
an older version exhibits the save behaviour.

Any suggestions on what to look at?

Thanks,

Matt
-=-
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] strange IUP canvas behavior - mouse clicks returning bad value

2015-10-16 Thread Matt Gushee
Hi Matt--

My brain is not sure, but my finger is spontaneously pointing at the window
manager ;-)

On Fri, Oct 16, 2015 at 3:40 AM, Matt Welland 
wrote:

> obj: #, pressed 0, status   1
> canvas-origin: 0 0 click at -1987635704 48
>
> The -1987635704 is the x value returned by this callback:
>
> #:button-cb (lambda (obj btn pressed x y status)
> ...
>
> this is failing on Ubuntu 15.04 but working ok on sles11.
>
> so far as I can tell this is not due to any changes in the code - running
> an older version exhibits the save behaviour.
>
> Any suggestions on what to look at?
>
> Thanks,
>
> Matt
> -=-
>
> ___
> Chicken-users mailing list
> Chicken-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/chicken-users
>
>
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] strange IUP canvas behavior - mouse clicks returning bad value

2015-10-16 Thread Dan Leslie
  It looks to me like a bad type cast. -DanSent from my BlackBerry 10 smartphone.From: Matt GusheeSent: Friday, October 16, 2015 9:12 AMTo: chicken-usersSubject: Re: [Chicken-users] strange IUP canvas behavior - mouse clicks returning bad valueHi Matt--My brain is not sure, but my finger is spontaneously pointing at the window manager ;-)On Fri, Oct 16, 2015 at 3:40 AM, Matt Welland  wrote:obj: #, pressed 0, status   1   canvas-origin: 0 0 click at -1987635704 48The -1987635704 is the x value returned by this callback:#:button-cb (lambda (obj btn pressed x y status)...this is failing on Ubuntu 15.04 but working ok on sles11.so far as I can tell this is not due to any changes in the code - running an older version exhibits the save behaviour.Any suggestions on what to look at?Thanks,Matt-=-
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users



___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users