From: FX (fxcoudert_at_gmail.com)
Date: Tue Apr 10 2012 - 03:50:32 CDT

> I am using Lion's system Tk, which is Tk 8.5, and FLTK 1.3.0. I am building everything with a 32-bit compiler just to make sure I avoid the issue you encountered with 64-bit FLTK/Tk interaction.

This morning I also tried a build using FLTK's development 1.3 branch (latest svn revision is 9336), and it failed with the same error:

2012-04-10 10:49:55.855 vmd_MACOSXX86[20410:c0b] -[NSApplication _setup:]: unrecognized selector sent to instance 0x2146eb0
2012-04-10 10:49:55.856 vmd_MACOSXX86[20410:c0b] An uncaught exception was raised
2012-04-10 10:49:55.857 vmd_MACOSXX86[20410:c0b] -[NSApplication _setup:]: unrecognized selector sent to instance 0x2146eb0
2012-04-10 10:49:55.858 vmd_MACOSXX86[20410:c0b] (
        0 CoreFoundation 0x961f3b67 __raiseError + 231
        1 libobjc.A.dylib 0x90c61149 objc_exception_throw + 155
        2 CoreFoundation 0x961f7170 -[NSObject doesNotRecognizeSelector:] + 256
        3 CoreFoundation 0x96145da9 ___forwarding___ + 457
        4 CoreFoundation 0x96145b72 _CF_forwarding_prep_0 + 50
        5 Tk 0x00441c8c TkpInit + 619
        6 Tk 0x003b2a28 Tk_PkgInitStubsCheck + 2284
        7 vmd_MACOSXX86 0x0010c629 _ZN13TclTextInterpC2EP6VMDAppi + 501
        8 vmd_MACOSXX86 0x000c49e8 _ZN6UITextC2EP6VMDAppi + 148
        9 vmd_MACOSXX86 0x000ce9f9 _ZN6VMDApp7VMDinitEiPPcPKcPiS4_ + 973
        10 vmd_MACOSXX86 0x000eafa2 main + 148
        11 vmd_MACOSXX86 0x00002d15 start + 53
)

Cheers,
FX