| C for now, it doesn't have to be. should it be .cpp? I've included
csound.h rather than csound.hpp?
Rory.
Michael Gogins wrote:
> Is your host app C or C++?
>
> Regards,
> Mike
>
> ----- Original Message ----- From: "Rory Walsh"
> To:
> Sent: Wednesday, May 10, 2006 8:00 AM
> Subject: Re: [Cs-dev] building host app with mingw dll?
>
>
>> By the way i have been trying with the following command line
>>
>> gcc MinGwCsound.c -o csound.exe csound32.dll.5.1
>> -I"D:/MyDocuments/SourceCode/cabbage/src/H"
>>
>> but it returns:
>>
>> $ gcc MinGwCsound.c -o csound.exe csound32.dll.5.1
>> -I"D:/MyDocuments/SourceCode
>> /cabbage/src/H"
>> csound32.dll.5.1:crtstuff.c:(.text+0x160): multiple definition of
>> `atexit'
>> C:/MinGWStudio/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../crt2.o:crt1.c:(.text+0x260):
>> first defined here
>> csound32.dll.5.1:crtstuff.c:(.text+0x190): multiple definition of
>> `_onexit'
>> C:/MinGWStudio/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../crt2.o:crt1.c:(.text+0x270):
>> first defined here
>> csound32.dll.5.1:crtstuff.c:(.text+0x1c0): multiple definition of
>> `__do_sjlj_init'
>> C:/MinGWStudio/MinGW/bin/../lib/gcc/mingw32/3.4.2/crtbegin.o:crtstuff.c:(.text+0x0):
>> first defined here
>> collect2: ld returned 1 exit status
>>
>>
>> Rory.
>>
>>
>> Rory Walsh wrote:
>>> Quick question, I'm using MinGW and would like to build a simple app
>>> that uses the host API. Do I need to build the csound32.lib import
>>> library in order to create a csound host application or can I simply
>>> use the csound32.dll? If using the dll is enough I wonder would
>>> anyone be so kind as to provide an example of what's needed at
>>> command prompt to build it? I'm not sure of the syntax.
>>>
>>> Cheers,
>>> Rory.
>>>
>>>
>>> -------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services,
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make your
>>> job easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |