[Flac-dev] linking against the static libraries

saruman@pandora.be
Fri, 17 Sep 2004 05:40:54 -0000

We would like to use the static libraries in our commercial software.
This software is an MFC application which is statically linked to the MFC
libraries.

We added LibFLAC_static.lib and LibFLAC++_static.lib but this causes an error
when trying to run our application ('A required file was missing
MSVCRTXX.DLL').

After looking in the Project Settings of the FLAC source, I found that the
'Runtime Library' setting was set to: "Multi-threaded
DLL(/MD)".
Changing this setting to "Multi-threaded(/MT)" and compiling again
with the new LibFLAC*_static.lib solved the problems.


Now, the codec libraries are distributed under Xiph.Org's BSD license.
Is this still applicable if we compile the FLAC libraries and use these
libraries in our software?

thx