Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] MinGW Windows Installer for Csound 5.08 beta released

Date2008-03-06 13:53
FromMichael Gogins
SubjectRe: [Cs-dev] MinGW Windows Installer for Csound 5.08 beta released
Can you send full details about the fluidsynth related crash? 

Regards,
Mike

-----Original Message-----
>From: Davis Pyon 
>Sent: Mar 6, 2008 3:29 AM
>To: csound-devel@lists.sourceforge.net
>Subject: Re: [Cs-dev] MinGW Windows Installer for Csound 5.08 beta released
>
>Hi Mike,
>
>That's too bad about the MSVC build.  It sounds like you got really close!
>Anyways, I tried the 5.08beta on WinXP sp2.  These programs seem to work:
>
>csound5gui (just a quick "play this csd" test)
>blue
>csoundapi~
>command line Csound
>
>However, csound~ still causes a crash that is related to fluidsynth.dll.
>If fixing fluidsynth.dll is too much trouble, I can send you my copy along
>with the modified source code and VC9 project files.
>
>Davis
>
>
>-------------------------------------------------------------------------
>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-03-06 22:47
FromDavis Pyon
SubjectRe: [Cs-dev] MinGW Windows Installer for Csound 5.08 beta released
--- Michael Gogins  wrote:

> Can you send full details about the fluidsynth related crash? 

Well, the problem is identical to what I posted earlier this year
(google "dp51 fluidOpcodes 5.07.2").  

The crash is related to fluid_win32_create_window() in fluid_dll.c.
My current solution (using Fluidsynth 1.0.8) is to comment out
line # 36 of fluid_dll.c:

BOOL WINAPI DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
  FLUID_LOG(FLUID_DBG, "DllMain");
  fluid_set_hinstance((void*) hModule);
  //fluid_win32_create_window();         // line # 36
  return TRUE;
}

Also, in moving from VC8 -> VC9, I had to comment out the line:

#define vsnprintf _vsnprintf

in config_win32.h in order to compile.  Let me know if you need 
more information.

Davis




-------------------------------------------------------------------------
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