Csound Csound-dev Csound-tekno Search About

[Csnd] Problem with --env:INCDIR

Date2011-11-23 13:48
Fromobaudouin
Subject[Csnd] Problem with --env:INCDIR
Hi,

I have a problem with the INCDIR environment variable (Csound 5.14 / Fedora
15). SADIR and SFDIR work fine, but not INCDIR. 

* CS option 
    --env:INCDIR=/home/user/cs/include

*  In the INCDIR folder
     test.inc

* In the main csd file
    #include "test.inc"

But Csound answers:

"Cannot open file test.inc"

What the matter?

--
View this message in context: http://csound.1045644.n5.nabble.com/Problem-with-env-INCDIR-tp5016696p5016696.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-11-23 14:09
FromTito Latini
SubjectRe: [Csnd] Problem with --env:INCDIR
AttachmentsNone  

Date2011-11-23 17:35
FromOlivier Baudouin
SubjectRe: [Csnd] Problem with --env:INCDIR
Thanks!


Olivier Baudouin, PhD
06 63 98 66 21

La forge de Vulcain

MINT-OMF
Paris-Sorbonne



2011/11/23 Tito Latini <tito.01beta@gmail.com>
Probably it's a bug with the new parser. The included file is open
simply with `fopen' in the new parser and with

 fopen_path(csound, &(ST(str)->file),
            mname, csound->orchname, "INCDIR", 0);

in the old parser.

tito

On Wed, Nov 23, 2011 at 05:48:34AM -0800, obaudouin wrote:
> Hi,
>
> I have a problem with the INCDIR environment variable (Csound 5.14 / Fedora
> 15). SADIR and SFDIR work fine, but not INCDIR.
>
> * CS option
>     --env:INCDIR=/home/user/cs/include
>
> *  In the INCDIR folder
>      test.inc
>
> * In the main csd file
>     #include "test.inc"
>
> But Csound answers:
>
> "Cannot open file test.inc"
>
> What the matter?
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Problem-with-env-INCDIR-tp5016696p5016696.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"


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"