From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Apr 11 2012 - 10:51:01 CDT

Francois-Xavier,
  Can you modify your MacOS X makefile to add the "-g" flag to the
compilation flags, and then try running your VMD compilation from within gdb?
That should help us get a more detailed stack traceback, along with source
code line numbers.

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Tue, Apr 10, 2012 at 10:50:32AM +0200, FX wrote:
> > 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

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
http://www.ks.uiuc.edu/~johns/           Phone: 217-244-3349
http://www.ks.uiuc.edu/Research/vmd/       Fax: 217-244-6078