| I do not know about OSX. Probably not the same problems, but maybe
other problems because the shared library linkage situation is quite
different. Victor would know more.
Regards,
Mike
On Thu, Mar 31, 2011 at 2:39 PM, Rory Walsh wrote:
> Great. Is it different on OSX or will one run into the same problems
> there? I can check tomorrow.
>
> Rory.
>
>
> On 31 March 2011 19:26, Michael Gogins wrote:
>> OK, I will try to keep this in mind for the next installer. Remind me
>> if I forget...
>>
>> Thanks,
>> Mike
>>
>> On Thu, Mar 31, 2011 at 1:55 PM, Rory Walsh wrote:
>>> Hi Mike, thanks for your reply. And thank you too for the useful list
>>> of alternative solutions. In the past I've simply added the source as
>>> you suggested yourself. The reason I've asked again is because some of
>>> my students are using MSVC at the moment and I was just curious to
>>> know which of the libraries contained in the Windows package be used
>>> out of the box so to speak. I wonder could csPerformanceThread.cpp be
>>> included in the installer. As too the CsoundFile and CppSound cpp
>>> files and headers? At least this would give developers the chance to
>>> use these useful interfaces without needing to download the Csound
>>> course package. As you say that can easily be included in the project
>>> source.
>>>
>>> Rory.
>>>
>>>
>>>
>>> On 31 March 2011 18:01, Michael Gogins wrote:
>>>> You will not be able to do it, because while csound32.dll.5.2 is a C
>>>> calling convention library which is binary compatible between MSVC and
>>>> GCC, csnd.dll is a C++ library that is NOT binary compatible between
>>>> MSVC and GCC.
>>>>
>>>> Furtherrmore there are problems compiling csnd.dll with MSVC because
>>>> the Standard C++ Library collections (used by csnd.dll) are NOT
>>>> exportable from a shared library with MSVC, but they ARE exportable
>>>> from a shared library with GCC. Indeed, this is the main reason I use
>>>> MinGW.
>>>>
>>>> So, you have the following options:
>>>>
>>>> (1) Use MinGW/GCC for your entire project (I recommend this, current
>>>> MinGW is entirely competitive with MSVC). You can use CodeBlocks or
>>>> the Qt SDK to get an up to date MinGW installation without too much
>>>> trouble.
>>>>
>>>> (2) If you need the C++ interfaces in csnd.dll with MSVC, then include
>>>> the sources from csnd.dll directly into your own application. This
>>>> should work fine as the only dependency of csnd.dll is
>>>> csoundXX.dll.5.2 and its C calling convention interface (I recommend
>>>> this if you must use MSVC).
>>>>
>>>> (3) csound.hpp declares a header-file only C++ interface to running
>>>> csound, and this interface is only defined at compile time; therefore
>>>> you should be able to csound.hpp from MSVC. But you will not have
>>>> access to the CsoundFile or CppSound classes from csound.hpp alone.
>>>>
>>>> May I ask, just what are you trying to do here? Maybe I can come up
>>>> with another solution or workaround if know more about what you are
>>>> trying to do.
>>>>
>>>> Hope this helps,
>>>> Mike
>>>>
>>>> On Thu, Mar 31, 2011 at 12:43 PM, Rory Walsh wrote:
>>>>> Getting csound32.dll.5.2 to work with Studio Express is trivial enough
>>>>> but I can' seem to get csnd.dll to work with it at all. I use the
>>>>> exact same steps involved in converted csound32.dll.5.2 to a .lib yet
>>>>> I keep getting unresolved symbol errors. I'll go and try it again, but
>>>>> is anyone out there actually using this library with Studio Express?
>>>>>
>>>>> Rory.
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Create and publish websites with WebMatrix
>>>>> Use the most popular FREE web apps or write code yourself;
>>>>> WebMatrix provides all the features you need to develop and
>>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://www.michael-gogins.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Create and publish websites with WebMatrix
>>>> Use the most popular FREE web apps or write code yourself;
>>>> WebMatrix provides all the features you need to develop and
>>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Create and publish websites with WebMatrix
>>> Use the most popular FREE web apps or write code yourself;
>>> WebMatrix provides all the features you need to develop and
>>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>> ------------------------------------------------------------------------------
>> Create and publish websites with WebMatrix
>> Use the most popular FREE web apps or write code yourself;
>> WebMatrix provides all the features you need to develop and
>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Create and publish websites with WebMatrix
> Use the most popular FREE web apps or write code yourself;
> WebMatrix provides all the features you need to develop and
> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |