You can set the desired minimal version in Xcode at compile time. FLTK, thanks 
to Manolo, recognizes your wish and compiles for 10.4 and up IIRC. The default 
setting though is 10.6 for FLTK 1.3 (again IIRC). There are few newer features 
we use, but there are also workarounds for older systems. As long as I don't 
have to dig up the Version for MacOS 8. :-)

On 05.10.2011, at 22:53, Ian MacArthur <[email protected]> wrote:

> All, 
> 
> Probably not a strictly fltk issue, but I'll ask anyway, just in case.
> 
> I have an app that's been kicking around for a while - the stock OSX build 
> that's out in the wild was built on a machine running 10.4.something and has 
> always Just Worked. It was built with fltk-1.1.9, and the OSX binary was 
> 32-bit PPC, but it worked great under Rosetta too. Until Rosetta went away...
> 
> Recently we pushed out a rc for the new flash-bang version, built with 1.3.0 
> and targeted as a fat binary for PPC, i386 and x86-64, built with Xcode 3.2.6 
> on a 10.6 machine.
> 
> But it isn't working - on 10.5.8 machines (and also anything older, so far as 
> I can ascertain) it is not happy. 
> 
> But I don't have a lot of OSX machines anymore, and none with 10.5 installed, 
> so it's all hearsay from non-technical users out in the world...
> 
> Anyway, I assume that, despite my best efforts, I have failed to convince 
> Xcode to use the correct API's or something, but this is a realm of OSX dev I 
> have never been in before - it has pretty much always Just Worked. So I'm at 
> a loss.
> (And of course the linux and win32 ports are fine...)
> 
> Here's a bit clipped off the bottom of a crash report:
> 
> 
> Date/Time:       2011-09-19 12:33:42.305 +0100
> OS Version:      Mac OS X 10.5.8 (9L31a)
> Report Version:  6
> Anonymous UUID:  CBBE2C54-53E4-4D24-AFFA-A4FB3B3C463B
> 
> Exception Type:  EXC_BREAKPOINT (SIGTRAP)
> Exception Codes: 0x0000000000000002, 0x0000000000000000
> Crashed Thread:  0
> 
> Dyld Error Message:
> Symbol not found: _objc_msgSendSuper2
> Referenced from: /Applications/figurenotes.app/Contents/MacOS/figurenotes
> Expected in: /usr/lib/libobjc.A.dylib
> 
> 
> So, the kicker is _objc_msgSendSuper2 I guess. Um, I have no idea...
> 
> Is that something I've done wrong when building fltk? Do I need to set a 
> different set of target API or something in the build to get this to work on 
> 10.5? (Or better, 10.4.11 would be nice...)
> 
> Of course, it may not even be an issue in fltk - I don't use any ObjC stuff 
> directly myself (that's why fltk's there!) but I am linking in a few other 
> libs, any of which might be the culprit I guess - for example Cairo, 
> portmidi, others... 
> 
> I'm pretty sure it's not portmidi - it's too simple and doesn't seem to have 
> any objc code.
> Who knows what's in Cairo though...!
> 
> Anyway, running the various libs through nm, it seems that fltk is the only 
> one that references msgSendSuper2, so I guess I need to start there.
> 
> But... what should I do? Suggestions?
> 
> -- 
> Ian
> 
> 
> 
> 
> 
> _______________________________________________
> fltk mailing list
> [email protected]
> http://lists.easysw.com/mailman/listinfo/fltk

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to