Csound Csound-dev Csound-tekno Search About

Re: Problems compiling Csound5 with PortAudio on ubuntu

Date2005-10-20 14:54
FromMichael Gogins
SubjectRe: Problems compiling Csound5 with PortAudio on ubuntu
This suggests that ffitch has a more recent version of the libsndfile headers than you do.

Regards,
Mike

-----Original Message-----
From: John Harrison 
Sent: Oct 20, 2005 12:22 AM
To: csound@lists.bath.ac.uk
Subject: Re: [Csnd] Problems compiling Csound5 with PortAudio on ubuntu

Since John ffitch mentioned that he  updated csmodule.c, I was guessing 
that the latest CVS might help me, so I just downloaded and tried to 
compile it. It won't compile. The first error I get is:

Engine/fgens.c: In function `gen01raw':
Engine/fgens.c:2201: error: `SF_LOOP_INFO' undeclared (first use in this 
function)

which happens on the command:

gcc -Wall -g -gstabs -O2 -DLINUX -DPIPES -DHAVE_FCNTL_H -DHAVE_UNISTD_H 
-DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H 
-DHAVE_DIRENT_H -D__BUILDING_LIBCSOUND -DBETA -I. -IH 
-I/usr/local/include/python2.3 -I/usr/local/include -I/usr/include 
-I/usr/X11R6/include -c -o Engine/fgens.o Engine/fgens.c

I see fgens.c was changed 42 hours ago...

BTW, answering an earlier email, OPCODEDIR is and has been set 
correctly. In my last run from a successful compile, all the external 
opcodes are found with no problem.

Also, I'm curious if people had thoughts about having scons checking for 
the correct portaudio version. If we got in the habit of coding in such 
checks in general, perhaps compiling wouldn't be so difficult for us 
non-developers?

-John

jpff@codemist.co.uk wrote:

>WARNING: could not open library
>'/home/john/Desktop/SoundScratch/stuff/csound5/librtpa.so' (-1)
>
>implies that there is a missing library somewhere.  Do you have jack
>installed?  Anyway the version of csmodule.c I checked in yesterday
>has additional code to give the real reason that a module fails to
>load on Linux as i kept having this problem with various libraries.
>
>Try running ldd on librtpa.so to see what libraries it expects.  Try
>the newer csmodule.c, report back.....
>
>==John ffitch
>  
>
-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk