Csound Csound-dev Csound-tekno Search About

[Csnd] building opcode problem

Date2008-02-27 07:38
FromAtte André Jensen
Subject[Csnd] building opcode problem
Hi

I run csound from cvs and instead of actually installing it, I simply 
add the build dir to my PATH (I'm runnng linux). This allows me to 
switch to new versions and back very cleanly and normally it works just 
great.

However now I'm trying to build an opcode (jackTransportOpcode) 
something that I've never done before. I extracted the tarball, cd'ed to 
the dir and ran scons, which ends like this:

atte@ajstrup:~/software/csound/opcodes/jackTransportOpcode$ scons
...
gcc -o jackTransportOpcode.os -c -Wall -g -gstabs -O2 -DLINUX -DPIPES 
-fPIC -DBETA -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H 
-DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_DIRENT_H 
-I. -IH -I/usr/local/include/csound -I/usr/local/include -I/usr/include 
-I/usr/X11R6/include jackTransportOpcode.c
jackTransportOpcode.c:32:19: error: csdl.h: No such file or directory
jackTransportOpcode.c:52: error: expected specifier-qualifier-list 
before 'CSOUND'
jackTransportOpcode.c:85: error: expected specifier-qualifier-list 
before 'OPDS'
jackTransportOpcode.c:89: error: expected ')' before '*' token
jackTransportOpcode.c:127: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'localops'
jackTransportOpcode.c:133: error: expected '=', ',', ';', 'asm' or 
'__attribute__' at end of input
scons: *** [jackTransportOpcode.os] Error 1
scons: building terminated because of errors.

It seems it can't find csdl.h which is here (I tried puttin gthis in my 
PATH also):
atte@ajstrup:~/software/csound/opcodes/jackTransportOpcode$ slocate csdl.h
/home/atte/software/csound/07_11_28/H/csdl.h

How do I tell scons to look in that directory for csdl.h?

-- 
peace, love & harmony
Atte

http://atte.dk       | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk

Date2008-02-27 10:50
FromCesare Marilungo
Subject[Csnd] Re: building opcode problem
Atte,

the jacktransport opcode is already included in the latest cvs.

Best,

-c.

Atte André Jensen wrote:
> Hi
>
> I run csound from cvs and instead of actually installing it, I simply 
> add the build dir to my PATH (I'm runnng linux). This allows me to 
> switch to new versions and back very cleanly and normally it works 
> just great.
>
> However now I'm trying to build an opcode (jackTransportOpcode) 
> something that I've never done before. I extracted the tarball, cd'ed 
> to the dir and ran scons, which ends like this:
>
> atte@ajstrup:~/software/csound/opcodes/jackTransportOpcode$ scons
> ...
> gcc -o jackTransportOpcode.os -c -Wall -g -gstabs -O2 -DLINUX -DPIPES 
> -fPIC -DBETA -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H 
> -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_DIRENT_H 
> -I. -IH -I/usr/local/include/csound -I/usr/local/include 
> -I/usr/include -I/usr/X11R6/include jackTransportOpcode.c
> jackTransportOpcode.c:32:19: error: csdl.h: No such file or directory
> jackTransportOpcode.c:52: error: expected specifier-qualifier-list 
> before 'CSOUND'
> jackTransportOpcode.c:85: error: expected specifier-qualifier-list 
> before 'OPDS'
> jackTransportOpcode.c:89: error: expected ')' before '*' token
> jackTransportOpcode.c:127: error: expected '=', ',', ';', 'asm' or 
> '__attribute__' before 'localops'
> jackTransportOpcode.c:133: error: expected '=', ',', ';', 'asm' or 
> '__attribute__' at end of input
> scons: *** [jackTransportOpcode.os] Error 1
> scons: building terminated because of errors.
>
> It seems it can't find csdl.h which is here (I tried puttin gthis in 
> my PATH also):
> atte@ajstrup:~/software/csound/opcodes/jackTransportOpcode$ slocate 
> csdl.h
> /home/atte/software/csound/07_11_28/H/csdl.h
>
> How do I tell scons to look in that directory for csdl.h?
>


-- 
www.cesaremarilungo.com 


Date2008-02-27 11:59
FromAtte André Jensen
Subject[Csnd] Re: Re: building opcode problem
Cesare Marilungo wrote:

> the jacktransport opcode is already included in the latest cvs.

Ah, I see it now, thanks.

-- 
peace, love & harmony
Atte

http://atte.dk       | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk