Csound Csound-dev Csound-tekno Search About

[Cs-dev] dll incompatibility....

Date2006-04-11 12:24
FromRory Walsh
Subject[Cs-dev] dll incompatibility....
Hi everyone. I just noticed that my CsoundAPI project is incompatible 
with the latest version of 32-bit csound. I've built my system using 
source and libs from Istvan's most recent .zip file. When I install the 
latest version of csound 32-bit from the installer and run my software I 
get errors stating that csound cannot load the opcodes. It's as if the 
OPCODEDIR env variable is not set, which of course it is. My main worry 
now is that I will need to rebuild my system every time a new version of 
csound is released? I can't really understand why there might be a 
incompatibility, any ideas? While I wait for any helpful replies I will 
try building my system again with the lib file contained in the latest 
32-bit release. I'm working with Borland C++ so I need to do a bit of 
work before I can link to the MinGW dll, that's why I would rather not 
have to rebuild my system each time. Cheers,

Rory.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-04-11 14:11
FromIstvan Varga
SubjectRe: [Cs-dev] dll incompatibility....
AttachmentsNone  

Date2006-04-11 16:59
FromIstvan Varga
SubjectRe: [Cs-dev] dll incompatibility....
AttachmentsNone  

Date2006-04-11 17:27
FromRory Walsh
SubjectRe: [Cs-dev] dll incompatibility....
Yes I was using the .dll from csound5.01-win32.i686.zip, I rebuilt my 
system now using the dll found in the Goggin's Installer but I'm still 
using the same Csound source code that is bundled with your installer, 
is that likely to cause any problems? Thanks for the help,

Rory.

Istvan Varga wrote:
> Is it possible that you are using csound32.dll from the 5.01 zip package
> (API version 1.00), but plugins from the Gogins 5.02 beta installer (API
> version 1.01) ? If that is the case (quite likely, as OPCODEDIR is over-
> written by the installer), you could just replace the DLL with the one
> installed by 5.02 beta, renaming the file to csound32.dll if necessary.
> 
> The reason why the old csound32.dll library does not accept the new
> plugins is that a new function was added to the plugin API (hence the
> API version change from 1.00 to 1.01). However, there should be no
> problem the other way, i.e. using old plugins or hosts built for 5.00
> or 5.01 with the new 5.02 DLL file.
> 
> On Tuesday 11 April 2006 13:24, Rory Walsh wrote:
> 
>> Hi everyone. I just noticed that my CsoundAPI project is incompatible 
>> with the latest version of 32-bit csound. I've built my system using 
>> source and libs from Istvan's most recent .zip file. When I install the 
>> latest version of csound 32-bit from the installer and run my software I 
>> get errors stating that csound cannot load the opcodes. It's as if the 
>> OPCODEDIR env variable is not set, which of course it is. My main worry 
>> now is that I will need to rebuild my system every time a new version of 
>> csound is released? I can't really understand why there might be a 
>> incompatibility, any ideas? While I wait for any helpful replies I will 
>> try building my system again with the lib file contained in the latest 
>> 32-bit release. I'm working with Borland C++ so I need to do a bit of 
>> work before I can link to the MinGW dll, that's why I would rather not 
>> have to rebuild my system each time. Cheers,
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net