Recent

Author Topic: Strange terminal output with Apple OSX Compiled Binary  (Read 3054 times)

Gizmo

  • Hero Member
  • *****
  • Posts: 831
Strange terminal output with Apple OSX Compiled Binary
« on: February 10, 2016, 12:57:44 pm »
Hi

A user has posted a ticket (http://sourceforge.net/p/quickhash/tickets/19/) which I do not have sufficient Apple Mac coding experience to answer.

The user states that parts of the program work with drag n drop etc but no mouse clicks are accepted. The output is reported to be as follows:

Code: [Select]
terminal shows this when run:

./QuickHash-AppleMac: line 1: XSym: command not found
./QuickHash-AppleMac: line 2: 0027: command not found
./QuickHash-AppleMac: line 3: f52fba96eec3c958689b6d699a644cd4: command not found

console shows these:

02/10/2016 4:05:46.053 PM QuickHash-AppleMac[1289]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.5 instead of 10.10.5. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.
Call location:
02/10/2016 4:05:46.054 PM QuickHash-AppleMac[1289]: 0 CarbonCore 0x9289a291 Gestalt_SystemVersion_block_invoke + 135
02/10/2016 4:05:46.054 PM QuickHash-AppleMac[1289]: 1 libdispatch.dylib 0x917ad430 _dispatch_client_callout + 50
02/10/2016 4:05:46.054 PM QuickHash-AppleMac[1289]: 2 libdispatch.dylib 0x917ad3b7 dispatch_once_f + 251
02/10/2016 4:05:46.054 PM QuickHash-AppleMac[1289]: 3 libdispatch.dylib 0x917ad477 dispatch_once + 31
02/10/2016 4:05:46.054 PM QuickHash-AppleMac[1289]: 4 CarbonCore 0x9281369d _Gestalt_SystemVersion + 1050
02/10/2016 4:05:46.054 PM QuickHash-AppleMac[1289]: 5 CarbonCore 0x928127c0 Gestalt + 150
02/10/2016 4:05:46.054 PM QuickHash-AppleMac[1289]: 6 QuickHash-AppleMac 0x0027023f CARBONTABS_TCARBONTABSCONTROL$CREATEWIDGET$TCREATEPARAMS + 1295**

Does that mean it is a theme related issue? I have no idea how to fix or look into because I use Yosemite at home and the program works for me, on that.

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1058
Re: Strange terminal output with Apple OSX Compiled Binary
« Reply #1 on: February 10, 2016, 01:40:20 pm »
Ask what happens if he starts the program by double-clicking it from the Finder instead of by starting it from Terminal. GUI programs started from Terminal must first change themselves into a foreground application before they can accept input (google for kProcessTransformToForegroundApplication ).

Gizmo

  • Hero Member
  • *****
  • Posts: 831
Re: Strange terminal output with Apple OSX Compiled Binary
« Reply #2 on: February 11, 2016, 06:13:24 pm »
Thanks Jonas...I have asked him to do so on the ticket...will report back when he does. Thanks for the tip.

 

TinyPortal © 2005-2018