HydrogenAudio

Lossless Audio Compression => FLAC => Topic started by: denastig31 on 2013-01-04 07:32:57

Title: Build v1.2.1 LibFlac SourceCode in 2010 and 2003
Post by: denastig31 on 2013-01-04 07:32:57
Hi, is there anyone who can help me on building the libFlac source code in either VS 2010 or VS 2003.
I want to build the static library file for C without the support of both NASM and OGG file.
I have the v1.2.1 source file of LibFlac.

I tried the following:
1. Convert the source file using the .sln and .dsw to either 2010 or 2003
2. Change the Preprocessor Definitions:
  a.) FLAC__HAS_OGG to FLAC__NO_OGG
  b.) FLAC__HAS_NASM to FLAC__NO_ASM
3. Change the Code Generation:Runtime Library to Multi-Threaded
4. Change the Language wchar_t -> yes
5. Build in release

But error occurs. error MSB6006: "cmd.ex" exited with code 9009
I don't know if there is some mistake on my Project properties.

Or is there any otherway to build the .lib file?
THank you,
-Denver-
Title: Build v1.2.1 LibFlac SourceCode in 2010 and 2003
Post by: lamedude on 2013-01-17 07:04:11
Right click, properties on the files in assembly files folder and change exclude from build to yes.  It looks like you'll still need the Ogg SDK (http://www.vorbis.com/files/1.0.1/windows/) to compile.