[chuck-users] FaucK compilation/installation problem?

Marc Lavallée marc at hacklava.net
Sun Jan 27 17:20:47 EST 2019


Le 2019-01-27 à 4:08 p.m., Spencer Salazar a écrit :
> Hey Marc,
>
> Can you try running with logging verbosity turned up? Log level at -v5 
> should do the trick:
>
> chuck -v5 examples/flute.ck <http://flute.ck>
>
> And then post the results here? This will help indicate what the 
> problem could be.
>
> Spencer
>
>
Hi Spencer. Thanks for the tip.

I guess we should have this conversation on the dev list, but let's 
assume that I'm a user that prefer to compile software before using 
them... So the problem is an undefined symbol...

I used clang/llvm 8 to compile Faust, but I used gcc to compile ChucK; 
could it be the cause?


Faust> chuck -v5 examples/flute.ck

[chuck]:(2:SYSTEM): setting log level to: 5 (INFORM)...
[chuck]:(2:SYSTEM): setting log level to: 5 (INFORM)...
[chuck]:(2:SYSTEM): initializing virtual machine...
[chuck]:(2:SYSTEM):  | locking down special objects...
[chuck]:(2:SYSTEM):  | allocating shreduler...
[chuck]:(2:SYSTEM):  | allocating messaging buffers...
[chuck]:(2:SYSTEM): initializing compiler...
[chuck]:(3:SEVERE):  | initializing type checker...
[chuck]:(3:SEVERE):  |  | adding base classes...
[chuck]:(3:SEVERE):  |  |  | class 'object'
[chuck]:(3:SEVERE):  |  |  | class 'array'
[chuck]:(3:SEVERE):  |  |  | class 'string'
[chuck]:(3:SEVERE):  |  |  | class 'ugen'
[chuck]:(3:SEVERE):  |  |  | class 'uanablob'
[chuck]:(3:SEVERE):  |  |  | class 'uana'
[chuck]:(3:SEVERE):  |  |  | class 'shred'
[chuck]:(3:SEVERE):  |  |  | class 'event'
[chuck]:(3:SEVERE):  |  |  | class 'io'
[chuck]:(3:SEVERE):  |  |  | class 'fileio'
[chuck]:(3:SEVERE):  |  |  | class 'chout'
[chuck]:(3:SEVERE):  |  |  | class 'cherr'
[chuck]:(3:SEVERE):  |  |  | class 'vec3' (primitive)
[chuck]:(3:SEVERE):  |  |  | class 'vec4' (primitive)
[chuck]:(3:SEVERE):  |  |  | class 'class'
[chuck]:(3:SEVERE):  | initializing emitter...
[chuck]:(3:SEVERE):  | loading built-in modules...
[chuck]:(3:SEVERE):  |  | module osc...
[chuck]:(3:SEVERE):  |  | module xxx...
[chuck]:(3:SEVERE):  |  | module filter...
[chuck]:(3:SEVERE):  |  | module STK...
[chuck]:(3:SEVERE):  |  | module xform...
[chuck]:(3:SEVERE):  |  | module extract...
[chuck]:(3:SEVERE):  |  | class 'machine'...
[chuck]:(3:SEVERE):  |  | class 'std'...
[chuck]:(5:INFORM):  |  | initializing KBHitManager...
[chuck]:(5:INFORM):  |  | starting kb loop...
[chuck]:(3:SEVERE):  |  | class 'math'...
[chuck]:(3:SEVERE):  |  | class 'opsc'...
[chuck]:(3:SEVERE):  |  | class 'RegEx'...
[chuck]:(3:SEVERE):  |  | class 'SerialIO'
[chuck]:(3:SEVERE):  | loading chugins
[chuck]:(5:INFORM):  |  | examining directory '/usr/local/lib/chuck' for 
chugins
[chuck]:(3:SEVERE):  |  | loading chugin 'Faust.chug'
[chuck]:(3:SEVERE):  |  | error loading chugin 'Faust.chug', skipping
[chuck]:(3:SEVERE):  |  | error from chuck_dl: 
'/usr/local/lib/chuck/Faust.chug: undefined symbol: 
_Z16deleteDSPFactoryP16llvm_dsp_factory'
[chuck]:(3:SEVERE):  |  | loading chugin 'PowerADSR.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'FoldbackSaturator.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'WPKorg35.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Overdrive.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Sigmund.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Binaural.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'WinFuncEnv.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'ABSaturator.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'ExpEnv.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'PanN.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'MagicSine.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'KasFilter.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'PitchTrack.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Elliptic.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Mesh2D.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Spectacle.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Bitcrusher.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Wavetable.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'GVerb.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'NHHall.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'AmbPan.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'ExpDelay.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'FluidSynth.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Random.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'WPDiodeLadder.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Ladspa.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'FIR.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Perlin.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Multicomb.chug'
[chuck]:(5:INFORM):  |  | examining directory '/usr/local/lib/chuck' for 
chugins
[chuck]:(3:SEVERE):  |  | loading chugin 'Faust.chug'
[chuck]:(3:SEVERE):  |  | error loading chugin 'Faust.chug', skipping
[chuck]:(3:SEVERE):  |  | error from chuck_dl: 
'/usr/local/lib/chuck/Faust.chug: undefined symbol: 
_Z16deleteDSPFactoryP16llvm_dsp_factory'
[chuck]:(3:SEVERE):  |  | loading chugin 'PowerADSR.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'FoldbackSaturator.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'WPKorg35.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Overdrive.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Sigmund.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Binaural.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'WinFuncEnv.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'ABSaturator.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'ExpEnv.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'PanN.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'MagicSine.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'KasFilter.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'PitchTrack.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Elliptic.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Mesh2D.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Spectacle.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Bitcrusher.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Wavetable.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'GVerb.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'NHHall.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'AmbPan.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'ExpDelay.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'FluidSynth.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Random.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'WPDiodeLadder.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Ladspa.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'FIR.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Perlin.chug'
[chuck]:(3:SEVERE):  |  | loading chugin 'Multicomb.chug'
[chuck]:(2:SYSTEM): type dependency resolution: MANUAL
[chuck]:(2:SYSTEM): initializing synthesis engine...
[chuck]:(3:SEVERE):  | initializing 'dac'...
[chuck]:(3:SEVERE):  | initializing 'adc'...
[chuck]:(3:SEVERE):  | initializing 'blackhole'...
[chuck]:(3:SEVERE): pre-loading ChucK libs...
[chuck]:(2:SYSTEM): starting listener on port: 8888...
[chuck]:(2:SYSTEM): initializing audio I/O...
[chuck]:(2:SYSTEM):  | probing 'real-time' audio subsystem...
[chuck]:(3:SEVERE):  | allocating buffers for 256 x 2 samples...
[chuck]:(2:SYSTEM):  | real-time audio: YES
[chuck]:(2:SYSTEM):  | mode: CALLBACK
[chuck]:(2:SYSTEM):  | sample rate: 48000
[chuck]:(2:SYSTEM):  | buffer size: 256
[chuck]:(2:SYSTEM):  | num buffers: 8
[chuck]:(2:SYSTEM):  | adc: 0 dac: 0
[chuck]:(2:SYSTEM):  | adaptive block processing: 0
[chuck]:(2:SYSTEM):  | channels in: 2 out: 2
[chuck]:(3:SEVERE): starting compilation...
[flute.ck]:line(5): undefined type 'Faust'...
[flute.ck]:line(5): ... in declaration ...
[chuck]:(2:SYSTEM):  | running main loop...
[chuck]:(3:SEVERE):  |  | virtual machine running...
[chuck]:(2:SYSTEM):  | virtual machine stopped...
[chuck]:(2:SYSTEM):  | virtual machine stopped...
[chuck]:(5:INFORM):  | detaching all resources...
[chuck]:(5:INFORM):  |  | shutting down HID...
[chuck]:(5:INFORM):  |  | shutting down serial devices
[chuck]:(5:INFORM):  | (via STK): detaching file handles...
[chuck]:(2:SYSTEM):  | unprotecting special objects...
[chuck]:(2:SYSTEM):  | locking down special objects...
[chuck]:(2:SYSTEM):  | shutting down virtual machine...
[chuck]:(2:SYSTEM):  |  | unprotecting special objects...
[chuck]:(2:SYSTEM):  |  | freeing shreduler...
[chuck]:(2:SYSTEM):  |  | unregistering VM from HID manager...
[chuck]:(2:SYSTEM):  |  | freeing msg/reply/event buffers...
[chuck]:(3:SEVERE):  |  | clearing shreds...
[chuck]:(3:SEVERE):  |  |  | freeing dumped shreds...
[chuck]:(2:SYSTEM):  |  | freeing special ugens...
[chuck]:(2:SYSTEM):  |  | locking down special objects...
[chuck]:(2:SYSTEM):  |  | virtual machine shutdown complete.
[chuck]:(2:SYSTEM):  | shutting down compiler...
[chuck]:(3:SEVERE):  |  | shutting down type checker...
[chuck]:(3:SEVERE):  |  | type checker shutdown complete.

Marc


>
> On Sun, Jan 27, 2019 at 6:22 AM Marc Lavallée <marc at hacklava.net 
> <mailto:marc at hacklava.net>> wrote:
>
>     Le 2019-01-27 à 9:07 a.m., Mario Buoninfante a écrit :
>
>     > Hi Marc,
>     >
>     > I installed the package you can find under 'Linux'.
>     >
>     > Cheers,
>     > Mario
>
>     It doesn't work with the versions of ChucK and/or Faust I
>     installed (I
>     compiled them both from sources).
>
>     I prefer not to use (and commit myself to) software I can't
>     compile. So
>     I'll ask on chuck-dev.
>
>     Thanks
>
>     Marc
>
>     >
>     > Sent from my WIKO U PULSE LITEOn 27 Jan 2019 13:35, Marc
>     Lavallée <marc at hacklava.net <mailto:marc at hacklava.net>> wrote:
>     >> Le 2019-01-27 à 3:07 a.m., Mario Buoninfante a écrit :
>     >>> Hi Marc,
>     >>>
>     >>> I had the same on Ubuntu Studio 16.04, then I installed FaucK
>     from here and everything worked
>     >>>
>     >>> https://ccrma.stanford.edu/~rmichon/fauck/
>     >>>
>     >>> Worth giving a try.
>     >>>
>     >>> Cheers,
>     >>> Mario
>     >> Hi Mario,
>     >>
>     >> Can you be more specific? What did you do with the information
>     on web page?
>     >>
>     >> Thanks
>     >>
>     >> Marc
>     >>
>     >>>
>     >>> Sent from my WIKO U PULSE LITEOn 27 Jan 2019 01:13, Marc
>     Lavallée <marc at hacklava.net <mailto:marc at hacklava.net>> wrote:
>     >>>> Hello Chuck users (and gurus). This is my first message to
>     the list.
>     >>>>
>     >>>> I'm a complete newbie, but I think I would enjoy using
>     miniAudicle with
>     >>>> the Faust chugin (FaucK). So It could be a question for
>     developers. I'm
>     >>>> an experienced Linux user.
>     >>>>
>     >>>> I compiled ChucK 1.4.0.0, the latest and greatest Faust, all
>     the chugins
>     >>>> (including FaucK) and miniAudicle.
>     >>>>
>     >>>> Unfortunately, FaucK give me this error (on the command line
>     and with
>     >>>> miniAudicle):
>     >>>>
>     >>>> chuck examples/flute.ck <http://flute.ck>
>     >>>> [flute.ck <http://flute.ck>]:line(5): undefined type 'Faust'...
>     >>>> [flute.ck <http://flute.ck>]:line(5): ... in declaration ...
>     >>>>
>     >>>> Any pointer would be appreciated.
>     >>>>
>     >>>> Marc
>     >>>>
>     >>>> N.B. I first sent this message to the chuck announcement
>     list, so please
>     >>>> ignore.
>     >>>>
>     >>>> _______________________________________________
>     >>>> chuck-users mailing list
>     >>>> chuck-users at lists.cs.princeton.edu
>     <mailto:chuck-users at lists.cs.princeton.edu>
>     >>>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>     _______________________________________________
>     chuck-users mailing list
>     chuck-users at lists.cs.princeton.edu
>     <mailto:chuck-users at lists.cs.princeton.edu>
>     https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
>
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20190127/c97ce2c3/attachment-0001.html>


More information about the chuck-users mailing list