SRC.png


Compiling for Win32.

Version 0.1.5 of libsamplerate brought in optimisations which depend on a feature of the 1999 ISO C Standard which in 2009, is still not supported by the Microsoft compiler. That means you cannot compile version 0.1.5 or later with this compiler.

This leaves windows users with three options for compiling libsndfile:

  • Use the Intel ICC compiler with the -c99 command line option to enable C99 mode.
  • Use the GNU GCC compiler from either MinGW or Cygwin.
  • Cross compile from Linux to windows using the MinGW cross compiler available on Linux distributions like Debian, Ubuntu and Fedora.

Compile Problems

If you run into compile problems using any of the above compilers, you should join the main mailing list and post your problem and/or questions there.