electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » ChucK programming language
cannot initialize audio device
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [19 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
432hz



Joined: Dec 13, 2007
Posts: 12
Location: the Netherlands - Enschede / Hengelo

PostPosted: Thu Dec 13, 2007 10:23 am    Post subject: cannot initialize audio device Reply with quote  Mark this post and the followings unread

Code:
~ $ chuck  file otf_06.ck

[chuck]: (via rtaudio): no devices found for given stream parameters:
... RtApiAlsa: pcm device (hw:I82801CAICH3,0) won't open: Device or resource busy.
... RtApiAlsa: pcm device (hw:I82801CAICH3,1) won't open: No such file or directory.
... RtApiAlsa: error setting sample rate (48000) on device (hw:Modem,0): Invalid argument.

[chuck]: cannot initialize audio device (try using --silent/-s)



Code:
~ $ chuck // connect sine oscillator to D/A convertor alsa

[chuck]: (via rtaudio): no devices found for given stream parameters:
... RtApiAlsa: pcm device (hw:I82801CAICH3,0) won't open: Device or resource busy.
... RtApiAlsa: pcm device (hw:I82801CAICH3,1) won't open: No such file or directory.
... RtApiAlsa: error setting sample rate (48000) on device (hw:Modem,0): Invalid argument.

[chuck]: cannot initialize audio device (try using --silent/-s)
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Thu Dec 13, 2007 10:36 am    Post subject: Reply with quote  Mark this post and the followings unread

welcome 432

moved your message to the ChucK place, that'll work better I think Very Happy

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
432hz



Joined: Dec 13, 2007
Posts: 12
Location: the Netherlands - Enschede / Hengelo

PostPosted: Thu Dec 13, 2007 11:18 am    Post subject: moved your message to the ChucK place, that'll work better I Reply with quote  Mark this post and the followings unread

Thanks to help me in the right direction
_________________
http://sites.google.com/site/432hz440hz/
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Thu Dec 13, 2007 12:06 pm    Post subject: Re: moved your message to the ChucK place, that'll work bett Reply with quote  Mark this post and the followings unread

432hz wrote:
Thanks to help me in the right direction


Hoi Buurman Very Happy

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
432hz



Joined: Dec 13, 2007
Posts: 12
Location: the Netherlands - Enschede / Hengelo

PostPosted: Thu Dec 13, 2007 2:26 pm    Post subject:  Hoi buurman Reply with quote  Mark this post and the followings unread

Hoi buurman. Dank voor je welkom. Werk je ook met Linux?
Weet niet of de verplaatsing helpt, nog geen reactie op mijn probleem

_________________
http://sites.google.com/site/432hz440hz/
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Thu Dec 13, 2007 2:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

Sorry no, no Linux here, just windows.

Re. the move, be patient, I'm sure someone knows, hmm, well, at least better than I do Wink

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Thu Dec 13, 2007 5:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi, 432Hz, could you run "chuck --probe" and post the results? This looks quite odd.

Welcome on board!

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
432hz



Joined: Dec 13, 2007
Posts: 12
Location: the Netherlands - Enschede / Hengelo

PostPosted: Fri Dec 14, 2007 3:25 am    Post subject: chuck --probe Reply with quote  Mark this post and the followings unread

Hi Kassen. Thanks for your welcome: Ook al uit Nederland.

Laptop _Linux-Pardus

~ $ chuck --probe
[chuck]: found 3 device(s) ...
[chuck]: ------( chuck -- dac1 )---------------
[chuck]: device name = "hw:I82801CAICH3,0"
[chuck]: probe [success] ...
[chuck]: # output channels = 2
[chuck]: # input channels = 2
[chuck]: # duplex Channels = 2
[chuck]: default device = YES
[chuck]: natively supported data formats:
[chuck]: 16-bit int
[chuck]: supported sample rates:
[chuck]: 8000 Hz
[chuck]: 11025 Hz
[chuck]: 16000 Hz
[chuck]: 22050 Hz
[chuck]: 32000 Hz
[chuck]: 44100 Hz
[chuck]: 48000 Hz
[chuck]:
[chuck]: ------( chuck -- dac2 )---------------
[chuck]: device name = "hw:I82801CAICH3,1"
[chuck]: probe [success] ...
[chuck]: # output channels = 0
[chuck]: # input channels = 2
[chuck]: # duplex Channels = 0
[chuck]: default device = NO
[chuck]: natively supported data formats:
[chuck]: 16-bit int
[chuck]: supported sample rates:
[chuck]: 8000 Hz
[chuck]: 11025 Hz
[chuck]: 16000 Hz
[chuck]: 22050 Hz
[chuck]: 32000 Hz
[chuck]: 44100 Hz
[chuck]: 48000 Hz
[chuck]:
[chuck]: ------( chuck -- dac3 )---------------
[chuck]: device name = "hw:Modem,0"
[chuck]: probe [success] ...
[chuck]: # output channels = 1
[chuck]: # input channels = 1
[chuck]: # duplex Channels = 1
[chuck]: default device = NO
[chuck]: natively supported data formats:
[chuck]: 16-bit int
[chuck]: supported sample rates:
[chuck]: 8000 Hz
[chuck]: 9600 Hz
[chuck]: 16000 Hz
[chuck]:
[chuck]: ------( chuck -- 1 MIDI inputs )------
[chuck]: [0] : "Midi Through Port-0"
[chuck]:
[chuck]: ------( chuck -- 1 MIDI outputs )-----
[chuck]: [0] : "Midi Through Port-0"
[chuck]:

_________________
http://sites.google.com/site/432hz440hz/

Last edited by 432hz on Fri Dec 14, 2007 6:21 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
432hz



Joined: Dec 13, 2007
Posts: 12
Location: the Netherlands - Enschede / Hengelo

PostPosted: Fri Dec 14, 2007 6:20 am    Post subject: instal on ubuntu Gutsy 7.10 Reply with quote  Mark this post and the followings unread

I tried to make a instal on ubuntu Gutsy 7.10

Chuck is in preinstal on Ubuntu, but i pref to make it by meself - beceause of that i like to install chuck (cp into /usr/bin by default) to my home destination.


sound432hz@sound432hz:~$ cd chuck-1.2.1.1/src/
sound432hz@sound432hz:~/chuck-1.2.1.1/src$ make
[chuck build]: please use one of the following configurations:
make linux-alsa, make linux-jack, make linux-oss,
make osx, make osx-ub, or make win32

sound432hz@sound432hz:~/chuck-1.2.1.1/src$ make linux-jack
make -f makefile.jack
make[1]: Map '/home/sound432hz/chuck-1.2.1.1/src' wordt binnengegaan
bison -dv -b chuck chuck.y
make[1]: bison: Opdracht niet gevonden
make[1]: *** [chuck.tab.c] Fout 127
make[1]: Map '/home/sound432hz/chuck-1.2.1.1/src' wordt verlaten
make: [linux-jack] Fout 2 (genegeerd)

sound432hz@sound432hz:~/chuck-1.2.1.1/src$ make install
cp /home/sound432hz/chuck/
cp: de operand voor het bestemmingsbestand ontbreekt na ‘/home/sound432hz/chuck/’
Probeer `cp --help' voor meer informatie.
make: *** [install] Fout 1

sound432hz@sound432hz:~/chuck-1.2.1.1/src$ make install
cp /home/sound432hz/chuck-1.2.1.1/src/
cp: de operand voor het bestemmingsbestand ontbreekt na ‘/home/sound432hz/chuck-1.2.1.1/src/’
Probeer `cp --help' voor meer informatie.
make: *** [install] Fout 1

sound432hz@sound432hz:~/chuck-1.2.1.1/src$ make install
cp /home/sound432hz/chuck-1.2.1.1/src/
cp: de operand voor het bestemmingsbestand ontbreekt na ‘/home/sound432hz/chuck-1.2.1.1/src/’
Probeer `cp --help' voor meer informatie.
make: *** [install] Fout 1

sound432hz@sound432hz:~/chuck-1.2.1.1/src$ make install
cp /home/sound432hz/chuck-1.2.1.1/src//
cp: de operand voor het bestemmingsbestand ontbreekt na ‘/home/sound432hz/chuck-1.2.1.1/src//’
Probeer `cp --help' voor meer informatie.
make: *** [install] Fout 1

sound432hz@sound432hz:~/chuck-1.2.1.1/src$ make install
cp /usr/bin/
cp: de operand voor het bestemmingsbestand ontbreekt na ‘/usr/bin/’
Probeer `cp --help' voor meer informatie.
make: *** [install] Fout 1
sound432hz@sound432hz:~/chuck-1.2.1.1/src$

_________________
http://sites.google.com/site/432hz440hz/
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Sat Dec 15, 2007 3:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

First things first; it looks like some other program is keeping you soundcard occupied and thus unavailable which makes ChucK try the next and end up trying your modem... with predictable results as the modem isn't meant for music.

Solution; find what program is claiming the soundcard and why.

As for building ChucK; you seem to be missing bison. Use Synaptic to get it it, ChucK uses it in the build process.

Hope those help at least a bit?

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
432hz



Joined: Dec 13, 2007
Posts: 12
Location: the Netherlands - Enschede / Hengelo

PostPosted: Sat Dec 15, 2007 7:10 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for helping me on my way to get in Chuck. Wich is in a way a answer on my demand to a command line music program.


Quote:
First things first; it looks like some other program is keeping you soundcard occupied and thus unavailable which makes ChucK try the next and end up trying your modem... with predictable results as the modem isn't meant for music.


This is correct, on my laptop the first sound application ( a youtube movie ) wil keeping the soundcard unavailable to Chuck.

Quote:
As for building ChucK; you seem to be missing bison. Use Synaptic to get it it, ChucK uses it in the build process


This i wil work out, and wil help me to have Chuck working on my RME Digi96/8.

Dit is de uitkomst:

Code:
sound432hz@sound432hz:~/chuck/src$ make install
cp  /usr/bin/
cp: de operand voor het bestemmingsbestand ontbreekt na ‘/usr/bin/’
Probeer `cp --help' voor meer informatie.
make: *** [install] Fout 1
sound432hz@sound432hz:~/chuck/src$

_________________
http://sites.google.com/site/432hz440hz/
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Sun Dec 16, 2007 6:50 am    Post subject: Reply with quote  Mark this post and the followings unread

Yes, youtube == flash and flash is quite antisocial about sharing the soundcard. When I have Jack started that also means no sound from flash. I have no solutions for that, short of complaining to macromedia, I fear.

As for the "make install"; you need to be root for that as /usr/bin is a system directory. so, try;

sudo make install

or;

sudo cp chuck /usr/bin

this is asuming the chuck executable is in your current dir.

Aside from bison you need a few more programs to help in the building process, the list is on the page of instructions for a Linux install. Oh, and you need the "dev" version of the library for your chosen audio system (OSS, ALSA or Jack), these have names like "libjack-dev", the Synaptic package manager will have those for you. Maybe you already had those but it can't hurt to mention them.

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
432hz



Joined: Dec 13, 2007
Posts: 12
Location: the Netherlands - Enschede / Hengelo

PostPosted: Sun Dec 16, 2007 2:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
# dependency: installed: libsndfile , "libjack-dev" make
# gcc, lex, yacc Rolling Eyes Hard to gett on with them


,

Code:
root@sound432hz:/home/sound432hz/chuck/src# make
[chuck build]: please use one of the following configurations:
   make linux-alsa, make linux-jack, make linux-oss,
   make osx, make osx-ub, or make win32
root@sound432hz:/home/sound432hz/chuck/src# make linux-jack
make -f makefile.jack
make[1]: Map '/home/sound432hz/chuck/src' wordt binnengegaan
cc -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck.tab.c
chuck.y:38:19: fout: stdio.h: Bestand of map bestaat niet
chuck.y:39:20: fout: string.h: Bestand of map bestaat niet
chuck.y:40:20: fout: stdlib.h: Bestand of map bestaat niet
In bestand ingevoegd door chuck_utils.h:37,
                 door chuck.y:41:
chuck_def.h:37:20: fout: memory.h: Bestand of map bestaat niet
chuck_def.h:38:20: fout: assert.h: Bestand of map bestaat niet
In file included from chuck.y:42:
chuck_errmsg.h:84: fout: expected declaration specifiers or ‘...’ before ‘FILE’
chuck.y:53: fout: ‘NULL’ undeclared here (not in a function)
make[1]: *** [chuck.tab.o] Fout 1
make[1]: Map '/home/sound432hz/chuck/src' wordt verlaten
make: [linux-jack] Fout 2 (genegeerd)
 
root@sound432hz:/home/sound432hz/chuck/src# sudo cp chuck /usr/bin 
cp: kan stat niet toepassen op ‘chuck’: Bestand of map bestaat niet
root@sound432hz:/home/sound432hz/chuck/src#



There was not any problem at all to get Chuck on my Laptop Linux Pardus a really young disto I am Rolling Eyes that Ubuntu have not all the package, and hard to get installed gcc, lex, yacc.

Maybe I need the instal cd for this packages - tomorow i wil burn it again. And let se wath happends than.

_________________
http://sites.google.com/site/432hz440hz/
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Sun Dec 16, 2007 6:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hmmmm, Did you get libsndfile and the dev version of that?

Ubuntu indeed doesn't have some of the packages per default but they are all in the ubuntu repository, I just build ChucK on 7.10 a few weeks ago and everything I needed was in the standard repositories.... That's at least something. People are working on this issue.

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
432hz



Joined: Dec 13, 2007
Posts: 12
Location: the Netherlands - Enschede / Hengelo

PostPosted: Mon Dec 17, 2007 7:15 am    Post subject: Reply with quote  Mark this post and the followings unread

installed: libsndfile , "libjack-dev" make gcc,

Lex, yacc I can't get them



Also i have installed Miniaudicle on my laptop Linux Pardus it works out of the box.MiniAudicle is ferry handsome to learn more of chuck.

_________________
http://sites.google.com/site/432hz440hz/
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Mon Dec 17, 2007 7:31 am    Post subject: Reply with quote  Mark this post and the followings unread

432hz wrote:
installed: libsndfile , "libjack-dev" make gcc,

Lex, yacc I can't get them



Also i have installed Miniaudicle on my laptop Linux Pardus it works out of the box.MiniAudicle is ferry handsome to learn more of chuck.


Ok, Bison is your "yacc", if you look at the package in Synaptic it's described as "A parser generator that is compatible with YACC". For "lex" you need a package named "flex", on my desktop here I have version 2.5.33-12, Ubuntu may be slightly ahead or behind on that.

Try how far that gets you, I can't remember whether we also needed g++ but if we do it will likely ask about that anyway. Do delete your previous chuck directory and re-extract the chuck download so we don't end up with mistakes caused by previous attempts.

We WILL get it installed, it's just slightly harder to help if you can't see the screen and once you get everything you need the next update will be a breeze.

On the list somebody was working on a file that would automatically try to get all dependencies when we compile, people are also talking about a package (well a modern one, reportedly there is one but there have been rather important updates since then).

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Frostburn



Joined: Dec 12, 2007
Posts: 255
Location: Finland
Audio files: 9

PostPosted: Thu Dec 20, 2007 4:52 am    Post subject: Reply with quote  Mark this post and the followings unread

I tried building but didn't succeed. Sad

Code:
frostburn@frostburn-laptop:~/Sources/chuck-1.2.1.1/src$ make linux-jack
make -f makefile.jack
make[1]: Entering directory `/home/frostburn/Sources/chuck-1.2.1.1/src'
bison -dv -b chuck chuck.y
cc -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck.tab.c
flex -ochuck.yy.c chuck.lex
cc -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck.yy.c
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_absyn.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_parse.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_errmsg.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_frame.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_symbol.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_table.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_utils.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_vm.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_instr.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_scan.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_type.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_emit.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_compile.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_dl.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_oo.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_lang.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_ugen.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_main.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_otf.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_stats.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_bbq.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_shell.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_console.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ chuck_globals.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ digiio_rtaudio.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ hidio_sdl.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ midiio_rtmidi.cpp
g++ -D__LINUX_JACK__ -c -O3 -D__CK_SNDFILE_NATIVE__ rtaudio.cpp
rtaudio.cpp:2715:23: error: jack/jack.h: No such file or directory
rtaudio.cpp:2721: error: ISO C++ forbids declaration of ‘jack_client_t’ with no type
rtaudio.cpp:2721: error: expected ‘;’ before ‘*’ token
rtaudio.cpp:2722: error: ISO C++ forbids declaration of ‘jack_port_t’ with no type
rtaudio.cpp:2722: error: expected ‘;’ before ‘*’ token
rtaudio.cpp: In constructor ‘JackHandle::JackHandle()’:
rtaudio.cpp:2728: error: class ‘JackHandle’ does not have any field named ‘client’
rtaudio.cpp: In member function ‘virtual void RtApiJack::initialize()’:
rtaudio.cpp:2762: error: ‘jack_set_error_function’ was not declared in this scope
rtaudio.cpp:2765: error: ‘jack_client_t’ was not declared in this scope
rtaudio.cpp:2765: error: ‘client’ was not declared in this scope
rtaudio.cpp:2767: error: ‘jack_client_new’ was not declared in this scope
rtaudio.cpp:2776: error: ‘jack_client_close’ was not declared in this scope
rtaudio.cpp: In member function ‘virtual void RtApiJack::probeDeviceInfo(RtApi::RtApiDevice*)’:
rtaudio.cpp:2782: error: ‘jack_client_t’ was not declared in this scope
rtaudio.cpp:2782: error: ‘client’ was not declared in this scope
rtaudio.cpp:2784: error: ‘jack_client_new’ was not declared in this scope
rtaudio.cpp:2793: error: ‘jack_get_sample_rate’ was not declared in this scope
rtaudio.cpp:2800: error: ‘JackPortIsInput’ was not declared in this scope
rtaudio.cpp:2800: error: ‘jack_get_ports’ was not declared in this scope
rtaudio.cpp:2812: error: ‘JackPortIsOutput’ was not declared in this scope
rtaudio.cpp:2823: error: ‘jack_client_close’ was not declared in this scope
rtaudio.cpp:2841: error: ‘jack_default_audio_sample_t’ was not declared in this scope
rtaudio.cpp:2849: error: ‘jack_client_close’ was not declared in this scope
rtaudio.cpp:2855: error: ‘jack_client_close’ was not declared in this scope
rtaudio.cpp: At global scope:
rtaudio.cpp:2859: error: ‘jack_nframes_t’ was not declared in this scope
rtaudio.cpp:2859: error: expected primary-expression before ‘void’
rtaudio.cpp:2859: error: initializer expression list treated as compound expression
rtaudio.cpp:2860: error: expected ‘,’ or ‘;’ before ‘{’ token
rtaudio.cpp: In member function ‘virtual bool RtApiJack::probeDeviceOpen(int, RtApi::StreamMode, int, int, RtAudioFormat, int*, int)’:
rtaudio.cpp:2928: error: ‘jack_client_t’ was not declared in this scope
rtaudio.cpp:2928: error: ‘client’ was not declared in this scope
rtaudio.cpp:2932: error: ‘jack_client_new’ was not declared in this scope
rtaudio.cpp:2941: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:2946: error: ‘jack_get_sample_rate’ was not declared in this scope
rtaudio.cpp:2948: error: ‘jack_client_close’ was not declared in this scope
rtaudio.cpp:2973: error: ‘jack_get_buffer_size’ was not declared in this scope
rtaudio.cpp:2993: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp:2994: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp:3000: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:3050: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp:3050: error: ‘jack_port_t’ was not declared in this scope
rtaudio.cpp:3050: error: expected primary-expression before ‘)’ token
rtaudio.cpp:3050: error: expected `;' before ‘malloc’
rtaudio.cpp:3051: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp:3068: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:3068: error: ‘jack_set_process_callback’ was not declared in this scope
rtaudio.cpp:3069: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:3069: error: ‘jack_set_xrun_callback’ was not declared in this scope
rtaudio.cpp:3070: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:3070: error: ‘jack_on_shutdown’ was not declared in this scope
rtaudio.cpp:3122: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:3122: error: ‘jack_client_close’ was not declared in this scope
rtaudio.cpp:3124: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp:3124: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp:3125: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp:3125: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp: In member function ‘virtual void RtApiJack::closeStream()’:
rtaudio.cpp:3154: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:3154: error: ‘jack_deactivate’ was not declared in this scope
rtaudio.cpp:3156: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:3156: error: ‘jack_client_close’ was not declared in this scope
rtaudio.cpp:3160: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp:3160: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp:3161: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp:3161: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp: In member function ‘virtual void RtApiJack::startStream()’:
rtaudio.cpp:3193: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp:3193: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:3194: error: ‘JACK_DEFAULT_AUDIO_TYPE’ was not declared in this scope
rtaudio.cpp:3194: error: ‘JackPortIsOutput’ was not declared in this scope
rtaudio.cpp:3194: error: ‘jack_port_register’ was not declared in this scope
rtaudio.cpp:3201: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp:3201: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:3202: error: ‘JACK_DEFAULT_AUDIO_TYPE’ was not declared in this scope
rtaudio.cpp:3202: error: ‘JackPortIsInput’ was not declared in this scope
rtaudio.cpp:3202: error: ‘jack_port_register’ was not declared in this scope
rtaudio.cpp:3206: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:3206: error: ‘jack_activate’ was not declared in this scope
rtaudio.cpp:3215: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:3215: error: ‘JackPortIsPhysical’ was not declared in this scope
rtaudio.cpp:3215: error: ‘JackPortIsInput’ was not declared in this scope
rtaudio.cpp:3215: error: ‘jack_get_ports’ was not declared in this scope
rtaudio.cpp:3227: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:3227: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp:3227: error: ‘jack_port_name’ was not declared in this scope
rtaudio.cpp:3227: error: ‘jack_connect’ was not declared in this scope
rtaudio.cpp:3238: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:3238: error: ‘JackPortIsPhysical’ was not declared in this scope
rtaudio.cpp:3238: error: ‘JackPortIsOutput’ was not declared in this scope
rtaudio.cpp:3238: error: ‘jack_get_ports’ was not declared in this scope
rtaudio.cpp:3248: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:3248: error: ‘struct JackHandle’ has no member named ‘ports’
rtaudio.cpp:3248: error: ‘jack_port_name’ was not declared in this scope
rtaudio.cpp:3248: error: ‘jack_connect’ was not declared in this scope
rtaudio.cpp: In member function ‘virtual void RtApiJack::stopStream()’:
rtaudio.cpp:3275: error: ‘struct JackHandle’ has no member named ‘client’
rtaudio.cpp:3275: error: ‘jack_deactivate’ was not declared in this scope
rtaudio.cpp: In member function ‘void RtApiJack::callbackEvent(long unsigned int)’:
rtaudio.cpp:3331: error: ‘jack_default_audio_sample_t’ was not declared in this scope
rtaudio.cpp:3331: error: ‘jackbuffer’ was not declared in this scope
rtaudio.cpp:3339: error: expected primary-expression before ‘)’ token
rtaudio.cpp:3339: error: expected `;' before ‘jack_port_get_buffer’
rtaudio.cpp:3345: error: expected primary-expression before ‘)’ token
rtaudio.cpp:3345: error: expected `;' before ‘jack_port_get_buffer’
rtaudio.cpp:3355: error: expected primary-expression before ‘)’ token
rtaudio.cpp:3355: error: expected `;' before ‘jack_port_get_buffer’
rtaudio.cpp:3362: error: expected primary-expression before ‘)’ token
rtaudio.cpp:3362: error: expected `;' before ‘jack_port_get_buffer’
make[1]: *** [rtaudio.o] Error 1
make[1]: Leaving directory `/home/frostburn/Sources/chuck-1.2.1.1/src'
make: [linux-jack] Error 2 (ignored)


Any ideas what could help? I'm using Ubuntu.
Am I stuck with the 1.2.0.8 that I got with Synaptic? Is there a newer package available somewhere?
Back to top
View user's profile Send private message
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Thu Dec 20, 2007 6:04 am    Post subject: Reply with quote  Mark this post and the followings unread

I'm not aware of a newer package, sorry.

Building your own will be worthwhile though as there have been significant upgrades since .8

So, let's take it step by step, your output looks like the bit that's missing is "libjack-dev", could you ask synaptic about that one? I'm 90% sure that's the offending component, grab that, clean up this attempt, try again and we'll see how far that gets you. At least Bison&Flex appear to be in order or you wouldn't have gotten this far.

I'm confident all will be well but it might take a few tries.

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Frostburn



Joined: Dec 12, 2007
Posts: 255
Location: Finland
Audio files: 9

PostPosted: Thu Dec 20, 2007 7:21 am    Post subject: Reply with quote  Mark this post and the followings unread

I was also missing a couple of other -dev packages but I finally managed to build it.
Thank you Kassen!

Now it's time to try out those Unit Analyzers. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [19 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » ChucK programming language
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use