Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] API. Compilation with interface library

Date2012-09-25 08:10
FromFrancois PINOT
SubjectRe: [Cs-dev] API. Compilation with interface library
AttachmentsNone  None  
Hello Olivier

I think your command line should be:

g++ cstestapi.cpp -o testapi -I"/home/olivier/paquetages/Csound5.18.02/H"
-L"/home/olivier/paquetages/Csound5.18.02" -lcsound64 -lcsnd

The CppSound and CsoundPerformanceThread classes are located in the additional library csnd.so which is not part of the API (libcsound64.so).

Regards

Francois

Date: Mon, 24 Sep 2012 09:00:53 -0700 (PDT)
From: obaudouin <olivierbaudouin@gmail.com>
Subject: [Cs-dev] API. Compilation with interface library
To: csound-devel@lists.sourceforge.net
Message-ID: <1348502453148-5716105.post@n5.nabble.com>
Content-Type: text/plain; charset=UTF-8

Dear Csounders,

I try to compile a single cpp file but I get an error ("CppSound.hpp not
found"; but the file exists). Could you help me please? I have probably
forgotten something...

COMMAND LINE (from Rory Walsh, Developing Audio Software with the Csound
Host API):

g++ cstestapi.cpp -o testapi
"/home/olivier/paquetages/Csound5.18.02/interfaces/csPerfThread.cpp"
-I"/home/olivier/paquetages/Csound5.18.02/H"
-L"/home/olivier/paquetages/Csound5.18.02" -lcsound64

ERROR MESSAGE:
cstestapi.cpp:1:24: erreur fatale: *CppSound.hpp : Aucun fichier ou dossier
de ce type*
compilation termin?e.
...