fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] Compiling on Windows - how to use --fast-render?


From: Pedro Lopez-Cabanillas
Subject: Re: [fluid-dev] Compiling on Windows - how to use --fast-render?
Date: Sun, 18 Mar 2012 11:27:28 +0100
User-agent: KMail/1.13.5 (Linux/2.6.34.10-0.6-desktop; KDE/4.4.4; i686; ; )

On Sunday 18 March 2012, R.L. Horn wrote:
> On Sat, 17 Mar 2012, Dr.Leo wrote:
> 
> > ...the linker terminates with errors after generating the dll.a file.
> 
> > By the way, I believe the pkg-config.pc is not entirely correct apart from 
> > the wrong filename (libsndfile instead of libsndfile-1): the '-l' option 
> > should arguably be separated from the name: "-l libsndfile-1),
> 
> -lARCHIVE is the "orthodox" syntax.
> 
> Typically, a DLL file will have a version suffix, but the import library 
> won't.  IOW, lib/libsndfile.dll.a will reference bin/libsndfile-1.dll.

The Windows libsndfile distribution doesn't provide an import library for 
MinGW, only for MSVC, and the files are named:

        bin/libsndfile-1.dll
                
        lib/libsndfile-1.def
        lib/libsndfile-1.lib

MinGW works fine without an import library, using directly the DLL. The 
problem is the "sndfile.pc", that needs a change in the "Libs:" line, from 
"-lsndfile" to "-llibsndfile-1".
  
Regards,
Pedro



reply via email to

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