[Csnd] CsoundApi missing csound.h
| Date | 2020-04-13 17:32 |
| From | fauveboy |
| Subject | [Csnd] CsoundApi missing csound.h |
Im looking at the csoundapi examples here:
https://github.com/csound/csoundAPI_examples/blob/master/c/example2.c
Theres a csound.h file included, however I don't see a mention of it
anywhere else yet so the compiler will obeviously not be able to run the
code. May someone help me file in the gap. Is there a csound.h file
somewhere I should know about? :)
--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2020-04-13 17:39 |
| From | Michael Gogins |
| Subject | Re: [Csnd] CsoundApi missing csound.h |
Should probably be "#include <csound/csound>", also find whether csound has been installed in your home directory, /usr, or /usr/local and then make sure that e.g. /usr/local/include is in your compiler include path. Regards, Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Mon, Apr 13, 2020 at 12:32 PM fauveboy <joel.ramsbottom@hotmail.co.uk> wrote: Im looking at the csoundapi examples here: |
| Date | 2020-04-13 17:48 |
| From | fauveboy |
| Subject | Re: [Csnd] CsoundApi missing csound.h |
include |
| Date | 2020-04-13 18:06 |
| From | Michael Gogins |
| Subject | Re: [Csnd] CsoundApi missing csound.h |
If you built Csound from sources without installing anything, in your home build directory. If you ran make install, probably in /usr/local. If you installed from a package, either /usr or /usr/local. Regards, Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Mon, Apr 13, 2020 at 12:48 PM fauveboy <joel.ramsbottom@hotmail.co.uk> wrote: include<csound/csound.h> has worked. Im not sure if that implies where csound |