Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] how to start using the cSound API

Date2008-01-23 12:48
From"Michael Gogins"
SubjectRe: [Cs-dev] how to start using the cSound API
It depends on the compiler. What compiler are you using? If you are using 
gcc (i.e. MinGW) then you can link directly to the DLL. If you are using 
Microsoft C++ (i.e. MSVC), then you need to generate a .lib file from the 
.dll as I have earlier specified on this list.

The reason we do not include the .lib file is because the Windows installer 
version is built with MinGW, not MSVC.

Hope this helps,
Mike

----- Original Message ----- 
From: "Carsten Høyer" 
To: 
Sent: Wednesday, January 23, 2008 4:37 AM
Subject: [Cs-dev] how to start using the cSound API


> Hi
> Yesterday i tried to begin using the cSound API. I have been looking at
> 2 documents:
> Rory Walsh: Introduction to the csound host API Link
> 
> Csound API reference manual Link 
> 
>
> The reference manual says i need to include csound.h and link to
> libcsound.a, on windows (where i am right now), it should be csound.h
> and csound.lib or csound.dll. I only have the header files not the
> library files - i have downloaded csound compiled and the source files.
> So here is my question:
>
> To get the library files, do i need to compile csound from source? or is
> it that the library files are really named something different these days?
>
> Thank you
> Carsten
>
> Sub question: are there any other documents on the API out there, than
> the ones i have linked to?
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-01-23 12:54
FromRory Walsh
SubjectRe: [Cs-dev] how to start using the cSound API
You've mentioned that you can link directly to the dll before, can you 
explain this further, I've no idea how to do it? DO I have to use dll 
functions in my code?

Michael Gogins wrote:
> It depends on the compiler. What compiler are you using? If you are using 
> gcc (i.e. MinGW) then you can link directly to the DLL. If you are using 
> Microsoft C++ (i.e. MSVC), then you need to generate a .lib file from the 
> .dll as I have earlier specified on this list.
> 
> The reason we do not include the .lib file is because the Windows installer 
> version is built with MinGW, not MSVC.
> 
> Hope this helps,
> Mike
> 
> ----- Original Message ----- 
> From: "Carsten Høyer" 
> To: 
> Sent: Wednesday, January 23, 2008 4:37 AM
> Subject: [Cs-dev] how to start using the cSound API
> 
> 
>> Hi
>> Yesterday i tried to begin using the cSound API. I have been looking at
>> 2 documents:
>> Rory Walsh: Introduction to the csound host API Link
>> 
>> Csound API reference manual Link 
>> 
>>
>> The reference manual says i need to include csound.h and link to
>> libcsound.a, on windows (where i am right now), it should be csound.h
>> and csound.lib or csound.dll. I only have the header files not the
>> library files - i have downloaded csound compiled and the source files.
>> So here is my question:
>>
>> To get the library files, do i need to compile csound from source? or is
>> it that the library files are really named something different these days?
>>
>> Thank you
>> Carsten
>>
>> Sub question: are there any other documents on the API out there, than
>> the ones i have linked to?
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-01-23 16:10
From"John Lato"
SubjectRe: [Cs-dev] how to start using the cSound API
AttachmentsNone