Running from web supplied OSX bundle and built bundle
I successfully ran obdgpslogger from the command line after a build from the svn (I did not try to connect to a device yet, but the program executes). However, neither the bundle on the website nor the bundle I built with cmake "make package" will run. It appears obdgui is missing when I build from the svn and it appears that the web supplied bundle crashes due to obdgui.
First, I am running Mac OS 10.4.11 on a mid-2007 (I believe) MacBook. I used Macports to install cmake and subversion.
Initially I tried running the .app from the webpage .dmg (v0.11). The application won't start, it crashes immediately. I have console.log info from that:
Code:
Jan 8 18:59:00 john-lewis-computer crashdump[1888]: obdgui crashed
Jan 8 18:59:01 john-lewis-computer crashdump[1888]: crash report written to: /Users/jlewis/Library/Logs/CrashReporter/obdgui.crash.log
And obdgui.crash.log gives this:
Code:
Host Name: john-lewis-computer
Date/Time: 2010-01-08 18:58:59.313 -0500
OS Version: 10.4.11 (Build 8S2167)
Report Version: 4
Command: obdgui
Path: /Applications/OBD GPS Logger.app/Contents/Resources/bin/obdgui
Parent: WindowServer [89]
Version: ()
PID: 1884
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 libSystem.B.dylib 0x9010c456 _malloc_initialize + 36
1 libSystem.B.dylib 0x90002417 malloc + 29
2 obdgui 0x0000fee7 Fl_Input_Choice::InputMenuButton::~InputMenuButton [in-charge deleting]() + 10319
3 obdgui 0x00009bd3 Fl_Text_Display::buffer() + 3409
4 obdgui 0x000064bb Fl_Input_Choice::value(int) + 3267
5 obdgui 0x00005612 0x1000 + 17938
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x9010c443 ecx: 0x90000b18 edx: 0x00000008
edi: 0x00000000 esi: 0x00000000 ebp: 0xbffff5c8 esp: 0xbffff530
ss: 0x0000001f efl: 0x00010286 eip: 0x9010c456 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
I left out the "Binary Images Description:" but I can attach or send that if needed, it's quite long.
Now after building from svn with cmake and making my own .dmg (v0.12) that way I get this in console.log:
Code:
2010-01-08 19:03:18.161 DiskImages UI Agent[1901] Could not find image named 'background'.
/Applications/OBD GPS Logger.app/Contents/MacOS/OBD GPS Logger: line 12: /Applications/OBD GPS Logger.app/Contents/Resources/bin/obdgui: No such file or directory
/Applications/OBD GPS Logger.app/Contents/MacOS/OBD GPS Logger: line 12: exec: /Applications/OBD GPS Logger.app/Contents/Resources/bin/obdgui: cannot execute: No such file or directory
Also when initiating cmake before the "make" process I noticed these lines for items not found and seems related:
Code:
-- Couldn't find fluid: required for building GUI
-- Couldn't find fltk: required for building GUI
Are these packages I'm missing and just need to install somehow? I'm not sure what's wrong with the 0.11 build but the 0.12 build apparently can't make the obdgui and that is the cause of the problem there. Let me know where to go from here and I'll try it out!
Thanks,
John