[Fluxus] Fwd: fluxus 0.15 rc3 on OS X

evan.raskob evan.raskob
Fri Sep 19 06:35:29 PDT 2008


Sorry, started this conversation on the wrong list... (original  
conversation and additions below)

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:

Thread: 0
Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000004
Thread 0 Crashed:
0   PLT_MzScheme           	0x0237311c symbol_bucket + 26
1   PLT_MzScheme           	0x02373913  
scheme_intern_exact_symbol_in_table + 85
2   PLT_MzScheme           	0x0237398a scheme_intern_exact_symbol + 48
3   PLT_MzScheme           	0x02373c5e scheme_intern_symbol + 246
4   fluxus-engine_ss.dylib 	0x0210eca8 scheme_module_name + 26  
(FluxusEngine.cpp:353)
5   PLT_MzScheme           	0x0046e117 scheme_default_load_extension  
+ 1552
6   <<00000000>> 	0x018013b9 0 + 25170873
7   <<00000000>> 	0x0110fa80 0 + 17889920
8   PLT_MzScheme           	0x004936fd scheme_do_eval + 6757
9   PLT_MzScheme           	0x004ad450 apply_k + 205
10  PLT_MzScheme           	0x004ace94 top_level_do + 849
11  PLT_MzScheme           	0x004ad0a0 scheme_top_level_do + 67
12  PLT_MzScheme           	0x004e9757 _module_resolve + 570
13  PLT_MzScheme           	0x004f5c01 parse_requires + 1027
14  PLT_MzScheme           	0x004fc837 do_module_begin + 18253

Anyone have any ideas?
I have the app itself sitting in the main fluxus directory (the one  
from svn with the modeules, includes, etc in it).


Thanks
Evan


Begin forwarded message:

> From: "Dave Griffiths" <dave at pawfal.org>
> Date: September 19, 2008 12:09:25 PM BDT
> To: "evan.raskob [lists]" <lists at lowfrequency.org>
> Cc: livecode at toplap.org
> Subject: Re: [livecode] fluxus 0.15
> Reply-To: dave at pawfal.org
>
> Hi Evan,
>
>> Looks great, I just compiled it on OS X (10.4.11) from svn source but
>> there are a few issues (in no particular order):
>
> It would be better to use the tar.gz as cvs already has some changes.
>
>> 1. running self-test on the examples directory, the wire.scm example
>> (and a few others) has some errors (due to osc?) and doesn't display
>> anything:
>>
>> output:
>>
>> , given: {23 40.3 "fluxus"}; other arguments were: "/hello?" "ifs"
>>
>>   === context ===
>> /Users/evan/cvs/fluxus/examples/osc-test.scm:4:0: osctest
>> /Applications/PLT Scheme v3.99.0.25/collects/fluxus-015/ 
>> scratchpad.ss:
>> 377:0: default-fluxus-frame-callback
>>
>> osc-spdata-get called without an objected being grabbed
>> pdata-get called without an objected being grabbed
>> pdata-get called without an objected being grabbed
>> pdata-get called without an objected being grabbed
>> pdata-get called without an objected being grabbed
>> ...
>
> These messages are to do with threading - the tests run in a different
> thread to the main rendering one, so some things get out of sync
> sometimes. The run-scripts function needs some work in this regard.
>
>> 2. it would be nice if, for the self-test, you could just pass
>> "examples" as the directory instead of "examples/"
>
> Yup... - I assume you mean run-scripts rather than self-test?
>
>> 3. when compiling (in the first few lines of output), it shows an
>> error about ld not finding libfluxus - it looks like it is looking
>> for it in the parent folder of the fluxus distro, and not the fluxus
>> distro itself.
>
> Could you post the output and your machine details on the fluxus list.
>


Here is the error and log:

scons: Reading SConscript files ...
--------------------------------------------------------
Fluxus: Configuring Build Environment
--------------------------------------------------------
Checking for C header file scheme.h... (cached) yes
Checking for C library m... (cached) yes
Checking for C library pthread... (cached) yes
Checking for C library dl... (cached) yes
Checking for C library jpeg... (cached) yes
Checking for C library tiff... (cached) yes
Checking for C library freetype... (cached) yes
Checking for C library z... (cached) yes
Checking for C library png... (cached) yes
Checking for C library ode... (cached) yes
Checking for C library jack... (cached) yes
Checking for C library sndfile... (cached) yes
Checking for C library fftw3... (cached) yes
Checking for C library lo... (cached) yes
mzc v3.99.0.25 [3m], Copyright (c) 2004-2008 PLT Scheme Inc.
  [output to "src/base.c"]
scons: done reading SConscript files.
scons: Building targets ...
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
/usr/bin/ld: warning -L: directory name (/Users/evan/libfluxus) does  
not exist





>> I'd really like to use Fluxus for a class I'm teaching on programming
>> & interactive art at UCreative starting in 2 weeks, and I'll try and
>> make a self-contained Mac app of it for that purpose (although I am
>> not a very skillful mac app packager).
>
> That would be great, there is a chance someone will be able to help  
> you,
> again ask on the fluxus list. I'm doing a livecoding workshop for
> teenagers using fluxus in a few months, it would be good to have a  
> place
> to share course materials and discuss approach...
>


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 (http://lowfrequency.org/interactivity/wiki/ 
index.php?title=Main_Page) but I am definitely open to putting things  
elsewhere and/or cross-linking

Cheers
Evan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20080919/c25cc4b4/attachment-0001.htm>


More information about the Fluxus mailing list