<br><br><div class="gmail_quote">On Tue, Jul 13, 2010 at 12:20 PM, Gary Briggs <span dir="ltr">&lt;<a href="mailto:chunky@icculus.org">chunky@icculus.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im">On Tue, Jul 13, 2010 at 12:04:23PM -0400, Robert Konigsberg wrote:<br>
&gt; OK! Updates!<br>
&gt;<br>
&gt; Short version, and more comments are inlined.<br>
&gt;<br>
&gt; I got everything working, even the GUI. The problem is that the GUI thinks<br>
&gt; that the logger is in the PATH, so if it isn&#39;t, startup operations fail, but<br>
&gt; they fail without error. (That took me about three hours or so to figure<br>
&gt; out. :))<br>
<br>
</div>Huh, that&#39;s weird. When you start the GUI by double clicking the bundle,<br>
it actually runs a script not just the naked binary, and that script<br>
should set the PATH right.<br></blockquote><div><br>True ... but ...<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Oh! Maybe you&#39;re trying to run the naked binary. Yes, you&#39;ll want to prefix<br>
the right thing on the PATH before doing that. Or &quot;make package&quot; to<br>
create the whole OSX dmg/app bundle.<br><div class="im"></div></blockquote><div><br>Yeah, I&#39;m running the bundle-free binaries. I don&#39;t know how to create an OSX bundle, nor do I really care that much -- I can copy a bunch of compiled binaries around. Whew.<br>

 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">&gt; I&#39;ve been coding in some #define DEBUG stuff (Yeah, yuck, but hey, it saved<br>

<div class="im">
&gt; my bacon. It logs to a file because of the forked processes and closed file<br>
&gt; resources.) Do you want to incorporate any of that?<br>
<br>
</div>Feel free to send it in!<br>
<div class="im"><br>
&gt; On Tue, Jul 13, 2010 at 11:59 AM, Gary Briggs &lt;<a href="mailto:chunky@icculus.org">chunky@icculus.org</a>&gt; wrote:<br>
&gt; &gt;<br>
</div><div class="im">&gt; &gt; It&#39;s actually linked against a dynamic library for gpsd [oops], which<br>
&gt; &gt; happened to be in my home directory and linked with the full path. So<br>
&gt; &gt; not really a username-related issue, but an idiocy-on-my-part issue.<br>
&gt; &gt;<br>
&gt; &gt; Totally my bad.<br>
&gt; &gt;<br>
&gt;<br>
&gt; No worries. Building my own release helped a lot.<br>
<br>
</div>Yeah, that usually covers all kinds of sins :-)<br>
<div class="im"><br>
&gt;  &gt; OK, so some trial and error and I&#39;m mostly there with the source.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; To get this to build on my Mac, I downloaded CMake (from <a href="http://cmake.org" target="_blank">cmake.org</a>, not<br>
&gt; &gt; from<br>
&gt; &gt; &gt; fink, because fink&#39;s version of cmake is too old.)<br>
&gt; &gt;<br>
&gt; &gt; Really? I think I&#39;m using the one in Fink. If you&#39;re not already, you<br>
&gt; &gt; should definitely enable unstable with &quot;fink config&quot;, as the &quot;stable&quot;<br>
&gt; &gt; stuff is oftentimes &quot;archaic&quot;, in my experience. This sounds like one of<br>
&gt; &gt; those cases :-)<br>
&gt; &gt;<br>
&gt;<br>
&gt; I&#39;ve abandoned fink entirely and have downloaded source from everywhere. (I<br>
&gt; have sqlite already, fun! yay!)<br>
<br>
</div>Heh. I actually can&#39;t believe people manage without fink [or<br>
darwinports], anymore :-)<br>
<br>
SQLite is actually bundled with the logger source. Among other things:<br>
1) That&#39;s the recommended way<br>
2) I like building that at the same time, with the same options [Debug<br>
vs Release, etc]. Symbols in libraries are nice when doing debug builds.<br>
3) By statically linking it and letting your compiler go to town on the<br>
&quot;amalgam&quot; package, you can get some hefty [15% or more] speed boosts.<br>
<div class="im"><br>
&gt; &gt; As for fluid, it&#39;s part of fltk. Since you&#39;re using fink, you might want<br>
&gt; &gt; to skip building your own fltk, and just install thus:<br>
&gt; &gt; fink install fltk-aqua fltk-aqua-shlibs<br>
&gt; &gt;<br>
&gt;<br>
&gt; Building my own was a cinch. make + make install makes me feel like a<br>
&gt; ninja.<br>
<br>
</div>Yeah, that&#39;s usually the easiest way to go :-)<br>
Which version of fltk did you use? I usually use 1.1, since that&#39;s what<br>
all the distros have, although I know it works with 1.3 too.<br>
<div class="im"><br>
&gt; &gt; Without fltk, I think the mac bundle will still build, but there&#39;s no<br>
&gt; &gt; way it&#39;ll do anything useful.<br>
&gt; &gt;<br>
&gt;<br>
&gt; Well, to be fair, it did log to the database, and I could read it with<br>
&gt; sqlite.<br>
<br>
</div>Yeah, you can run logger yourself without a problem. There&#39;s a<br>
distinction between just logger or the gui [naked binary], and the app<br>
bundle.<br>
<div class="im"><br>
&gt; &gt; If you don&#39;t have gpsd but want to use it, I documented how to build it<br>
&gt; &gt; a long time ago here:<br>
&gt; &gt; <a href="http://www.mp3car.com/vbulletin/obdii-gps-logger/132461-gpsd-osx.html" target="_blank">http://www.mp3car.com/vbulletin/obdii-gps-logger/132461-gpsd-osx.html</a><br>
&gt; &gt;<br>
&gt;<br>
&gt; No need, my car does not have a GPS. I&#39;ll be using a Garmin GPS + an Android<br>
&gt; app for tracking, which I&#39;ll have to xref later. (ugh)<br>
<br>
</div>Ah, ok. It shouldn&#39;t actually be too difficult to join the two up later.<br>
[you&#39;re getting out gpx traces?]<br>
<br>
Depending on personal taste, I&#39;m using one of these bad boys:<br>
<a href="http://www.amazon.com/GlobalSat-BU-353-Waterproof-USB-Receiver/dp/B000PKX2KA" target="_blank">http://www.amazon.com/GlobalSat-BU-353-Waterproof-USB-Receiver/dp/B000PKX2KA</a><br>
Which, at 40 bucks, is probably a pretty good deal for you. Might make a<br>
few things easier?<br>
<div><div></div><div class="h5"><br>
Gary (-;<br>
<br>
_______________________________________________<br>
obdgpslogger mailing list<br>
<a href="mailto:obdgpslogger@icculus.org">obdgpslogger@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/obdgpslogger" target="_blank">http://icculus.org/mailman/listinfo/obdgpslogger</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Robert Konigsberg<br><a href="mailto:konigsberg@gmail.com">konigsberg@gmail.com</a><br>