Csound Csound-dev Csound-tekno Search About

[Csnd] Csound build on linux

Date2011-12-02 09:46
Fromfrancesco
Subject[Csnd] Csound build on linux
Hello All,
today i have try to build Csound on ubuntu with my usual scons command

scons -j2 buildCsoundAC=1 buildDSSI=1 buildImageOpcodes=1 buildInterfaces=1
buildJavaWrapper=1 buildPythonWrapper=1 buildLuaWrapper=1 buildNewParser=1
buildPDClass=1 buildPythonOpcodes=1 buildRelease=1 buildTclcsound=1
buildUtilities=1 buildVirtual=1 dynamicCsoundLibrary=1 useALSA=1 useDouble=1
useFLTK=1 useGettext=1 usePortAudio=1 usePortMIDI=1 useJack=1 useLrint=1
useOSC=1 useUDP=1 pythonVersion=2.7 tclversion=8.5 buildStkOpcodes=1
includeMP3=1 buildBeats=1 buildLuaOpcodes=1 includeWii=1 buildMultiCore=1
gcc4opt=core2 > compile.txt

and i have this error:

In file included from Opcodes/Vosim.c:23:
H/csoundCore.h:25:4: error: #error "Csound plugins and host applications
should not include csoundCore.h"
scons: *** [Opcodes/Vosim.os] Error 1

Somethings changed or my fault?

Thanks,
ciao,
francesco.


--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-build-on-linux-tp5041250p5041250.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-12-02 10:02
Fromfrancesco
Subject[Csnd] Re: Csound build on linux
Ok,
like always my fault!

Sorry to all.

ciao,
francesco.

--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-build-on-linux-tp5041250p5041309.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-12-02 10:34
Fromfrancesco
Subject[Csnd] Re: Csound build on linux
Yes, again me ...
after updating to the last Csound (today) this simple csd with {} score loop
seems don't work anymore.

here output message:

sorting score ...
score error:  Loop cannot start inside of a macro
section 1:  at position 0
Internal error in print_input_backtrace()
>Exit code: 255



-Wfd -o dac


sr	=		44100
ksmps	=	1
nchnls	=	2
0dbfs		=	1

		instr	1

iFun		=		p6
kPan		line		0, p3, 1
iAmp		=		p4
aEnv		transeg	0, p3*0.1, 3, iAmp, p3*0.8, 0, iAmp, p3*0.1, -3, 0
iFq		=		cpsmidinn(p5)

aOut		poscil		aEnv, iFq, iFun
aL, aR	pan2		aOut, kPan
		outs		aL, aR
		endin




f 1 0 1024 10 1 0 0.3 0 0.1 0 0.01
f 2 0 1024 10 1 0.3 0.1 0.05 0.03 0.01
f 3 0 1024 10 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

{ 3 FN
i 1 0.0 0.2  0.1  60 [1 + $FN]
i 1 0.3 0.2  0.1  62 [1 + $FN]
i 1 0.6 0.2  0.1  64 [1 + $FN]
i 1 0.9 0.2  0.1  68 [1 + $FN]
i 1 1.2 0.2  0.1  67 [1 + $FN]
i 1 1.5 0.2  0.1  69 [1 + $FN]
i 1 1.8 0.2  0.1  71 [1 + $FN]
i 1 2.1 0.2  0.1  70 [1 + $FN]
i 1 2.4 1.0  0.1  72 [1 + $FN]
}






--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-build-on-linux-tp5041250p5041380.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-12-02 11:41
Frommenno
Subject[Csnd] Re: Csound build on linux
you are not alone Francesco,
i get the same error as you, but my build is from 22 November. I was trying
out the vincr example again, with that interesting score.....
I use the new parser but get the same error with the old.
????

Menno

0dBFS level = 32768.0
Csound version 5.14 beta (double samples) Nov 22 2011
STARTING FILE
Creating options
Creating orchestra
Creating score
Loading command-line libraries:
  /usr/local/lib/libloris.so
rtaudio: ALSA module enabled
RAWWAVE_PATH: /usr/local/share/csound/rawwaves/
rtmidi: PortMIDI module enabled
********************
* USING NEW PARSER *
********************
Add global read, write lists without any instruments
Parsing successful!
Elapsed time at end of orchestra compile: real: 0.047s, CPU: 0.010s
sorting score ...
score error:  Loop cannot start inside of a macro
  section 1:  at position 0
Internal error in print_input_backtrace()




; Select audio/midi flags here according to platform
-odac     ;;;realtime audio out
;-iadc    ;;;uncomment -iadc if RT audio input is needed too
; For Non-realtime ouput leave only the line below:
; -o vincr-complex.wav -W ;;; for file output any platform



sr = 44100
ksmps = 32
nchnls = 2
0dbfs  = 1

gaReverbSend init 0

instr 1

iamp   = p4
ifreq  = p5
aenv   linseg  0.0, 0.1*p3, iamp, 0.6*p3, iamp, 0.3*p3, 0.0
aosc   poscil aenv, ifreq, 1
       vincr   gaReverbSend, aosc
endin


instr 2	; global reverb instrument

al, ar reverbsc gaReverbSend, gaReverbSend, 0.85, 12000
       outs     gaReverbSend+al, gaReverbSend+ar
       clear    gaReverbSend
endin



f1 0 4096 10 1

{ 4 CNT
  { 8 PARTIAL
      ;   start time     duration            amplitude          frequency     
      i1  [0.5 * $CNT.]  [1 + ($CNT * 0.2)]  [.04 + (~ * .02)]  [800 + (200
* $CNT.) + ($PARTIAL. * 20)]
  }
}

i2 0 6
e





--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-build-on-linux-tp5041250p5041521.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-12-02 12:19
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Re: Csound build on linux
> you are not alone Francesco,
> i get the same error as you, but my build is from 22 November. I was
> trying
> out the vincr example again, with that interesting score.....
> I use the new parser but get the same error with the old.
> ????

Scores are not affected by the new parser -- that is a project still in my
head.  Will take a closer look when I have a gap.

==John ff



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-12-02 12:22
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Re: Csound build on linux
An unfortunate side effect of the work on iphone/android.  I think it is a
spurious test.  May take a few minutes thinking

==John ff



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"