Csound Csound-dev Csound-tekno Search About

[Csnd] CsoundApi missing csound.h

Date2020-04-13 17:32
Fromfauveboy
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

Date2020-04-13 17:39
FromMichael Gogins
SubjectRe: [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 Gogins
Irreducible 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:
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
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

Date2020-04-13 17:48
Fromfauveboy
SubjectRe: [Csnd] CsoundApi missing csound.h
include has worked. Im not sure if that implies where csound
is installed. Im on arch linux and have yet to find out where :)



--
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

Date2020-04-13 18:06
FromMichael Gogins
SubjectRe: [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 Gogins
Irreducible 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
is installed. Im on arch linux and have yet to find out where :)



--
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
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