<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Sorry, started this conversation on the wrong list... (original conversation and additions below)<div><br></div><div>I've made an app and localized all the libraries (they all look proper using "otool" as far as I can tell) but it crashes right away, here is the stack trace, hopefully this makes sense:</div><div><br></div><div><div>Thread: 0</div><div>Exception:  EXC_BAD_ACCESS (0x0001)</div><div>Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000004</div><div>Thread 0 Crashed:</div><div>0   PLT_MzScheme           <span class="Apple-tab-span" style="white-space:pre">       </span>0x0237311c symbol_bucket + 26</div><div>1   PLT_MzScheme           <span class="Apple-tab-span" style="white-space:pre">     </span>0x02373913 scheme_intern_exact_symbol_in_table + 85</div><div>2   PLT_MzScheme           <span class="Apple-tab-span" style="white-space:pre">       </span>0x0237398a scheme_intern_exact_symbol + 48</div><div>3   PLT_MzScheme           <span class="Apple-tab-span" style="white-space:pre">        </span>0x02373c5e scheme_intern_symbol + 246</div><div>4   fluxus-engine_ss.dylib <span class="Apple-tab-span" style="white-space:pre">     </span>0x0210eca8 scheme_module_name + 26 (FluxusEngine.cpp:353)</div><div>5   PLT_MzScheme           <span class="Apple-tab-span" style="white-space:pre"> </span>0x0046e117 scheme_default_load_extension + 1552</div><div>6   <<00000000>> <span class="Apple-tab-span" style="white-space:pre"> </span>0x018013b9 0 + 25170873</div><div>7   <<00000000>> <span class="Apple-tab-span" style="white-space:pre"> </span>0x0110fa80 0 + 17889920</div><div>8   PLT_MzScheme           <span class="Apple-tab-span" style="white-space:pre">   </span>0x004936fd scheme_do_eval + 6757</div><div>9   PLT_MzScheme           <span class="Apple-tab-span" style="white-space:pre">  </span>0x004ad450 apply_k + 205</div><div>10  PLT_MzScheme           <span class="Apple-tab-span" style="white-space:pre">  </span>0x004ace94 top_level_do + 849</div><div>11  PLT_MzScheme           <span class="Apple-tab-span" style="white-space:pre">     </span>0x004ad0a0 scheme_top_level_do + 67</div><div>12  PLT_MzScheme           <span class="Apple-tab-span" style="white-space:pre">       </span>0x004e9757 _module_resolve + 570</div><div>13  PLT_MzScheme           <span class="Apple-tab-span" style="white-space:pre">  </span>0x004f5c01 parse_requires + 1027</div><div>14  PLT_MzScheme           <span class="Apple-tab-span" style="white-space:pre">  </span>0x004fc837 do_module_begin + 18253</div><div><br></div><div>Anyone have any ideas?</div><div>I have the app itself sitting in the main fluxus directory (the one from svn with the modeules, includes, etc in it).</div><div><br></div><div><br></div><div>Thanks</div><div>Evan</div></div><div><br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>From: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">"Dave Griffiths" <<a href="mailto:dave@pawfal.org">dave@pawfal.org</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Date: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">September 19, 2008 12:09:25 PM BDT</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>To: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">"evan.raskob [lists]" <<a href="mailto:lists@lowfrequency.org">lists@lowfrequency.org</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Cc: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="mailto:livecode@toplap.org">livecode@toplap.org</a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Subject: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><b>Re: [livecode] fluxus 0.15</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Reply-To: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="mailto:dave@pawfal.org">dave@pawfal.org</a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi Evan,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> <blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Looks great, I just compiled it on OS X (10.4.11) from svn source but</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">there are a few issues (in no particular order):</div> </blockquote><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">It would be better to use the tar.gz as cvs already has some changes.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> <blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">1. running self-test on the examples directory, the wire.scm example</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(and a few others) has some errors (due to osc?) and doesn't display</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">anything:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">output:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">, given: {23 40.3 "fluxus"}; other arguments were: "/hello?" "ifs"</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>=== context ===</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">/Users/evan/cvs/fluxus/examples/osc-test.scm:4:0: osctest</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">/Applications/PLT Scheme v3.99.0.25/collects/fluxus-015/scratchpad.ss:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">377:0: default-fluxus-frame-callback</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">osc-spdata-get called without an objected being grabbed</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">pdata-get called without an objected being grabbed</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">pdata-get called without an objected being grabbed</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">pdata-get called without an objected being grabbed</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">pdata-get called without an objected being grabbed</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">...</div> </blockquote><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">These messages are to do with threading - the tests run in a different</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">thread to the main rendering one, so some things get out of sync</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">sometimes. The run-scripts function needs some work in this regard.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> <blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2. it would be nice if, for the self-test, you could just pass</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">"examples" as the directory instead of "examples/"</div> </blockquote><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Yup... - I assume you mean run-scripts rather than self-test?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> <blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">3. when compiling (in the first few lines of output), it shows an</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">error about ld not finding libfluxus - it looks like it is looking</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">for it in the parent folder of the fluxus distro, and not the fluxus</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">distro itself.</div> </blockquote><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div></blockquote><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Could you post the output and your machine details on the fluxus list.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div></blockquote><div><br></div><div><br></div><div>Here is the error and log:</div><div><br></div><div><div>scons: Reading SConscript files ...</div><div>--------------------------------------------------------</div><div>Fluxus: Configuring Build Environment</div><div>--------------------------------------------------------</div><div>Checking for C header file scheme.h... (cached) yes</div><div>Checking for C library m... (cached) yes</div><div>Checking for C library pthread... (cached) yes</div><div>Checking for C library dl... (cached) yes</div><div>Checking for C library jpeg... (cached) yes</div><div>Checking for C library tiff... (cached) yes</div><div>Checking for C library freetype... (cached) yes</div><div>Checking for C library z... (cached) yes</div><div>Checking for C library png... (cached) yes</div><div>Checking for C library ode... (cached) yes</div><div>Checking for C library jack... (cached) yes</div><div>Checking for C library sndfile... (cached) yes</div><div>Checking for C library fftw3... (cached) yes</div><div>Checking for C library lo... (cached) yes</div><div>mzc v3.99.0.25 [3m], Copyright (c) 2004-2008 PLT Scheme Inc.</div><div> [output to "src/base.c"]</div><div>scons: done reading SConscript files.</div><div>scons: Building targets ...</div><div>g++ -o fluxus src/GLEditor.o src/GLFileDialog.o src/Interpreter.o src/Repl.o src/Recorder.o src/FluxusMain.o src/PolyGlyph.o src/main.o -L/usr/lib "-L/Applications/PLT Scheme v3.99.0.25/lib" -L/Users/evan/libfluxus -L/opt/local/lib -lm -lpthread -ldl -ljpeg -ltiff -lfreetype -lz -lpng -lode -ljack -lsndfile -lfftw3 -llo "-F/Applications/PLT Scheme v3.99.0.25/lib" -framework GLUT -framework OpenGL -framework CoreAudio -framework PLT_MzScheme</div><div>/usr/bin/ld: warning -L: directory name (/Users/evan/libfluxus) does not exist</div></div><div><br></div><div><br></div><div><br></div><div><br></div><br><blockquote type="cite"> <blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I'd really like to use Fluxus for a class I'm teaching on programming</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">& interactive art at UCreative starting in 2 weeks, and I'll try and</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">make a self-contained Mac app of it for that purpose (although I am</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">not a very skillful mac app packager).</div> </blockquote><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">That would be great, there is a chance someone will be able to help you,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">again ask on the fluxus list. I'm doing a livecoding workshop for</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">teenagers using fluxus in a few months, it would be good to have a place</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">to share course materials and discuss approach...</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div></blockquote><div><br></div><div><br></div><div>Yes, help would be appreciated.  I would like to do a day of workshop (about 3 hours, tops) with the students.  I don't know about guest lecturing fees, though - they probably aren't available, I will need to check.  As for resources, I usually stick everything up on the interactivity wiki (<a href="http://lowfrequency.org/interactivity/wiki/index.php?title=Main_Page">http://lowfrequency.org/interactivity/wiki/index.php?title=Main_Page</a>) but I am definitely open to putting things elsewhere and/or cross-linking</div><div><br></div><div>Cheers</div><div>Evan</div><div><br></div><div><br></div></div></div></body></html>