Csound Csound-dev Csound-tekno Search About

[Csnd] compilation errors: csound 5.10.1 on ubuntu 8.10

Date2009-03-26 09:22
Fromevac
Subject[Csnd] compilation errors: csound 5.10.1 on ubuntu 8.10
hi

this is my first compilation attempt with csound and i've run into
compilation errors i don't know how to fix so any help is greatly
appreciated! i've installed all the libraries and their dev (as listed on
the csounds.com site) and i'm on an acer aspire one netbook (ssd version)
running ubuntu 8.10 - athough i did try compiling on the default linpus lite
and got the same errors...

if i enable fltk (usefltk=1 all other options 0 except for the python
version) i get this error:
In file included from H/csdl.h:31,
                 from InOut/FL_graph.cpp:33:
H/csoundCore.h:741: error: expected unqualified-id before numeric constant
H/csoundCore.h:741: error: expected `)' before numeric constant
scons: *** [InOut/FL_graph.os] Error 1


if i remove fltk (all options = 0 except for the python version) i get this
error:
Opcodes/ugens7.c: In function 'newpulse':
Opcodes/ugens7.c:196: warning: incompatible implicit declaration of built-in
function 'expf'
Opcodes/ugens7.c:233: warning: incompatible implicit declaration of built-in
function 'pow'
Opcodes/ugens7.c: In function 'harmon':
Opcodes/ugens7.c:308: warning: incompatible implicit declaration of built-in
function 'cos'
Opcodes/ugens7.c:309: warning: incompatible implicit declaration of built-in
function 'sqrt'
Opcodes/ugens7.c:386: error: 'HUGE_VAL' undeclared (first use in this
function)
Opcodes/ugens7.c:386: error: (Each undeclared identifier is reported only
once
Opcodes/ugens7.c:386: error: for each function it appears in.)
scons: *** [Opcodes/ugens7.os] Error 1

thanks in advance for any help!

eva
-- 
View this message in context: http://www.nabble.com/compilation-errors%3A-csound-5.10.1-on-ubuntu-8.10-tp22718465p22718465.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-03-26 10:20
Frombmccosar@gmail.com
Subject[Csnd] Re: compilation errors: csound 5.10.1 on ubuntu 8.10
Sometimes the Csound compilation is extremely sensitive to parameters you didn't know were related.

For example, if I compile in 64 bit with "build release", it works; if I do the same thing in 32 bit, it fails.

Here are two commandlines I used to successfully compile Csound 5.10.1 (after installing the appropriate libraries on each system):


On Ubuntu 8.10, 64 bit, going for double precision audio
--------------------------------------------------------------------------------

scons \
useDouble=1 \
usePortAudio=1 \
usePortMidi=0 \
buildCsound5GUI=1 \
buildCsoundAC=1 \
buildPythonOpcodes=1 \
buildRelease=1 \
gcc4opt=native \
Word64=1 \
Lib64=1 \
buildVirtual=1 \
buildInterfaces=1 \
buildCSEditor=1 \
buildNewParser=1 \
buildTclcsound=1


On Fedora 10, 32 bit, going for single precision audio
----------------------------------------------------------------------------

scons \
useDouble=0 \
usePortAudio=1 \
usePortMIDI=0 \
buildCsound5GUI=1 \
buildCsoundAC=1 \
buildPythonOpcodes=1 \
gcc4opt=native \
buildVirtual=1 \
buildInterfaces=1 \
buildCSEditor=1 \
buildNewParser=1 \
buildTclcsound=1 \
tclversion=8.5


On Mar 26, 2009 5:22am, evac <eva.cheng@ieee.org> wrote:
>
>
> hi
>
>
>
> this is my first compilation attempt with csound and i've run into
>
> compilation errors i don't know how to fix so any help is greatly
>
> appreciated! i've installed all the libraries and their dev (as listed on
>
> the csounds.com site) and i'm on an acer aspire one netbook (ssd version)
>
> running ubuntu 8.10 - athough i did try compiling on the default linpus lite
>
> and got the same errors...
>
>
>
> if i enable fltk (usefltk=1 all other options 0 except for the python
>
> version) i get this error:
>
> In file included from H/csdl.h:31,
>
>                 from InOut/FL_graph.cpp:33:
>
> H/csoundCore.h:741: error: expected unqualified-id before numeric constant
>
> H/csoundCore.h:741: error: expected `)' before numeric constant
>
> scons: *** [InOut/FL_graph.os] Error 1
>
>
>
>
>
> if i remove fltk (all options = 0 except for the python version) i get this
>
> error:
>
> Opcodes/ugens7.c: In function 'newpulse':
>
> Opcodes/ugens7.c:196: warning: incompatible implicit declaration of built-in
>
> function 'expf'
>
> Opcodes/ugens7.c:233: warning: incompatible implicit declaration of built-in
>
> function 'pow'
>
> Opcodes/ugens7.c: In function 'harmon':
>
> Opcodes/ugens7.c:308: warning: incompatible implicit declaration of built-in
>
> function 'cos'
>
> Opcodes/ugens7.c:309: warning: incompatible implicit declaration of built-in
>
> function 'sqrt'
>
> Opcodes/ugens7.c:386: error: 'HUGE_VAL' undeclared (first use in this
>
> function)
>
> Opcodes/ugens7.c:386: error: (Each undeclared identifier is reported only
>
> once
>
> Opcodes/ugens7.c:386: error: for each function it appears in.)
>
> scons: *** [Opcodes/ugens7.os] Error 1
>
>
>
> thanks in advance for any help!
>
>
>
> eva
>
> --
>
> View this message in context: http://www.nabble.com/compilation-errors%3A-csound-5.10.1-on-ubuntu-8.10-tp22718465p22718465.html
>
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
>
>
>
>
> Send bugs reports to this list.
>
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>