fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] Compiling fluid synth for windows


From: Graham Goode
Subject: Re: [fluid-dev] Compiling fluid synth for windows
Date: Fri, 3 May 2013 17:31:44 +0200

Hi Damien,

Yes, I have successfully built fluidsynth for both 32-bit and 64-bit
Windows using the cmake system. See
http://sourceforge.net/apps/trac/fluidsynth/wiki/BuildingWithCMake :
Building on Windows section for what you need to download and
configure...

Here is what I wrote in a previous thread, it may have pointers that
will help you too
-------------------------

Yes, you will need to install packages and configure the path and
package-config for each of the additional driver levels.

I assume that you're following the directions from here:
https://sourceforge.net/apps/trac/fluidsynth/wiki/BuildingWithCMake

and have pkg-config
(http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.26-1_win32.zip)
and the gtk+ packages already installed and configured (for the GTK+ I
use the all-in-one package
http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.24/gtk+-bundle_2.24.10-20120208_win32.zip).

On my system I have put all the required extra packages into c:/libs32
and added c:/libs32/bin to the PATH statement.

For PortAudio support you will either need to get hold of a PortAudio
build (for Win32) - I can offer you mine, or you can build it yourself
(they also use CMake, etc, so it is relatively easy once you have
configured all the sub-driver requirements - ASIOSDK, WASAPI/WDM-KS
dependencies, etc).

You will then need to copy the portaudio.h header into the
C:\libs32\include and the portaudio_x86 .lib and .dll into
C:\libs32\lib and create a package config .pc configuration file.

In C:\libs32\lib\pkgconfig create a file named portaudio-2.0.pc and
use the following example to create your own configuration

address@hidden@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: portaudio-2.0
Description: Cross Platform AUDIO
Version: 19
Libs: -L${libdir} -lportaudio_x86
Cflags: -I${includedir}

The .lib file contains all the linkages required, regardless of what
drivers are included in the portaudio dll, so you can build portaudio
with just the dsound driver, include that .lib in your build system,
build Fluidsynth with PortAudio support, and then swap in a
portaudio_x86.dll that has other drivers included (ASIO, WASAPI,
etc.).

You should now be able to tick the PortAudio driver box in CMake and
get a MSVC project that builds Fluidsynth with PortAudio support.


Kind regards,
GrahamG

On 5/3/13, Damien Henry <address@hidden> wrote:
> Hi list.
>
> I'm trying to compile fluidsynth for windows both 32 and 64.
> The .sln are not working. That's not a surprise as they are in the "unused"
> folder ;-)
>
> The cmake seems to be very Linux oriented as it ask me some PkgConfig.
>
> CMake Error at C:/Program Files (x86)/CMake
> 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97
> (message):
>
> Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
>
> Does anyone succeed to compile it for windows recently and have clues for
> it ?
>
> Cheers,
> Damien
> @dh7net
>



reply via email to

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