fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] Attempting a 64-bit Windows build


From: Pedro Lopez-Cabanillas
Subject: Re: [fluid-dev] Attempting a 64-bit Windows build
Date: Wed, 10 Aug 2011 20:34:50 +0200
User-agent: KMail/1.13.5 (Linux/2.6.34.10-0.2-desktop; KDE/4.4.4; i686; ; )

Hi,

On Wednesday 10 August 2011, Graham Goode wrote:
> I've got a successful compile using VS2008 in 64-bit environment (with
> some warnings during compile, but no errors). 

The warnings can be an important clue on what is wrong, especially if there are 
warnings when compiling fluid_winmidi.c and fluid_dsound.c

> On running
> fluidsynth.exe I get this error
> 
> FluidSynth version 1.1.4
> Copyright (C) 2000-2011 Peter Hanappe and others.
> Distributed under the LGPL license.
> SoundFont(R) is a registered trademark of E-mu Systems, Inc.
> 
> fluidsynth: error: Couldn't open MIDI input: An invalid parameter was
> passed to a system function. (error 11)

Something is wrong with midiInOpen() parameters [1], in fluid_winmidi.c line 
172 or around. Lines 77 and 275 should also match the prototype of MidiInProc() 
[2]. Try changing (DWORD) by (DWORD_PTR).

I don't have a 64 bit windows machine to test, sorry.

Regards,
Pedro

[1] http://msdn.microsoft.com/en-us/library/dd798458%28v=vs.85%29.aspx
[2] http://msdn.microsoft.com/en-us/library/dd798460%28v=vs.85%29.aspx



reply via email to

[Prev in Thread] Current Thread [Next in Thread]