Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-28 Thread Michael Sweet
Jean-Yves Avenard wrote: Great, glad /that/ worked. I think Apple warned us all about using bundles for future apps instead of resource forks. Sounds like they may have fired a warning shot with Leopard. Well, resource forks are ugly anyhow as you can't safely store them on a

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread Jean-Yves Avenard
Does the Res program exist, and are you sure it was run to create the resource fork? Yes. The program working fine in 10.4.10 will show the behaviour described earlier when running in 10.5 (can't get focus on the window, can select a menu etc...) If compiled on 10.5 the

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread Jean-Yves Avenard
Greg Ercolano wrote: Maybe the tool has been moved? I noticed in the last few releases that moved dev tools around (though so far not Rez, not sure about leopard) I was always trying to run the program compiled in 10.4... In any case, I have the same issue when I compile in 10.5.

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread Jean-Yves Avenard
Hi How about creating a .app bundle for it.. does that fix it? http://seriss.com/people/erco/fltk/#MacBundle Thank you ! That did the trick. Will create an app bundle from now on Jean-Yves ___ fltk mailing list fltk@easysw.com

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread Greg Ercolano
Jean-Yves Avenard wrote: How about creating a .app bundle for it.. does that fix it? http://seriss.com/people/erco/fltk/#MacBundle Thank you ! That did the trick. Will create an app bundle from now on Great, glad /that/ worked. I think Apple warned us all about using

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread Jean-Yves Avenard
Great, glad /that/ worked. I think Apple warned us all about using bundles for future apps instead of resource forks. Sounds like they may have fired a warning shot with Leopard. Well, resource forks are ugly anyhow as you can't safely store them on a non-aware resources file

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread imm
On 26 Oct 2007, at 19:10, Greg Ercolano wrote: BTW, check that your app still has resource forks assigned to it with ls(1), e.g. ls -la yourapp/..namedfork/rsrc ..does the 'size' field show a non-zero value for your app? If zero, the app lost its resource forks. I don't

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread imm
On 27 Oct 2007, at 9:59, Jean-Yves Avenard wrote: Does the Res program exist, and are you sure it was run to create the resource fork? Yes. The program working fine in 10.4.10 will show the behaviour described earlier when running in 10.5 (can't get focus on the window, can

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread Yuri D'Elia
In article [EMAIL PROTECTED], Jean-Yves Avenard [EMAIL PROTECTED] wrote: Great, glad /that/ worked. I think Apple warned us all about using bundles for future apps instead of resource forks. Sounds like they may have fired a warning shot with Leopard. Well, resource

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread matthiasm
On Oct 27, 2007, at 2:38 PM, Yuri D'Elia wrote: In article [EMAIL PROTECTED], Jean-Yves Avenard [EMAIL PROTECTED] wrote: Great, glad /that/ worked. I think Apple warned us all about using bundles for future apps instead of resource forks. Sounds like they may have fired a

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread Kai-Uwe Behrmann
Am 27.10.07, 15:35 +0200 schrieb matthiasm: I have not tested a 10.5 app on 10.4 since I am lacking a 10.4 machine since my upgrade yesterday... ;-) You could put post a link to a 10.5 compiled app, possibly something from the test folder. I could check on a 10.4 ppc here. kind regards

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread Jean-Yves Avenard
You could put post a link to a 10.5 compiled app, possibly something from the test folder. I could check on a 10.4 ppc here. I've put a simple fltk program there: http://www.avenard.org/fltk/ This one was compiled with Xcode 3.0 . It runs fine on MacOS 10.5 ; but will crash on 10.4 with a bus

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread Jean-Yves Avenard
Hum I just compiled the simplest hello world program on 10.5 It too fails with a Bus Error message... Sounds more and more like a 64 bits vs 32 bits error ... my code is: void main(void) { print(hello world\n); } gcc -g -o test test.c when run in 10.4: (gdb) run Starting program:

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread imm
On 27 Oct 2007, at 13:38, Yuri D'Elia wrote: Will xcode 3.0 be available for tiger? As I understand it, the answer to this one is no. There's rumoured to be specific elements to Xcode itself that are only available from 10.5 on... -- Ian

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread Torsten Giebl
Hallo ! I've put a simple fltk program there: http://www.avenard.org/fltk/ The .app Folder in the .zip File is empty. Please pack and upload it again ! CU ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread imm
On 27 Oct 2007, at 14:35, matthiasm wrote: I have not tested a 10.5 app on 10.4 since I am lacking a 10.4 machine since my upgrade yesterday... ;-) Matthias, if you want to post an example somewhere, I could run it on this box... Oh, but this is a PPC box, you have an intel box IIRC... So

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread Jean-Yves Avenard
The .app Folder in the .zip File is empty. Please pack and upload it again ! Don't know how this happened. This is for Intel only BTW. Well, it's not a 32 bits vs 64 bits issue. I've checked, the code compiled is 32 bits. If I compiled for 64 bits, Tiger does recognise as that the CPU type

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread imm
On 27 Oct 2007, at 16:56, Jean-Yves Avenard wrote: Could be that the wrong framework is linked... my knowledge in macos isn't deep enough to know what to do here to use the right framework I'd imagine you need to link with the 10.4u framework, probably? But I don;t have a 10.5 / Xcode3

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread Jean-Yves Avenard
Could be that the wrong framework is linked... my knowledge in macos isn't deep enough to know what to do here to use the right framework Ok, found a way to fix the problem you need to compile with the option -mmacosx-version-min=10.3 Then your code will run on both 10.3 and 10.4 ...

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread Greg Ercolano
I have not tested a 10.5 app on 10.4 since I am lacking a 10.4 machine since my upgrade yesterday... ;-) One trick I do is get a firewire drive, and install a different OS on that. OSX makes it easy to install and boot off of external fw drives, handy for

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-27 Thread Greg Ercolano
Jean-Yves Avenard wrote: How about creating a .app bundle for it.. does that fix it? http://seriss.com/people/erco/fltk/#MacBundle Thank you ! That did the trick. Will create an app bundle from now on Great, glad /that/ worked. I think Apple warned us all about using

[fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-26 Thread Jean-Yves Avenard
Hi Just installed the brand new MacOS 10.5 on a machine here and tested if our FLTK application would work with Leopard. Well it doesn't. it behaves as if the FLTK resource fork wasn't installed. It has the same behaviour as when you're not running the fltk-config --post on binaries compiled

Re: [fltk.general] FLTK 1.1.7 and MacOs 10.5 (Leopard)

2007-10-26 Thread Greg Ercolano
Greg Ercolano wrote: Does the Res program exist.. Bleh: s/Res/Rez/ e.g. /Developer/Tools/Rez Maybe the tool has been moved? I noticed in the last few releases that moved dev tools around (though so far not Rez, not sure about leopard) BTW, check that your app still has