Skip to main content

Topic: Build v1.2.1 LibFlac SourceCode in 2010 and 2003 (Read 1744 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • denastig31
  • [*]
Build v1.2.1 LibFlac SourceCode in 2010 and 2003
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-

  • lamedude
  • [*]
Build v1.2.1 LibFlac SourceCode in 2010 and 2003
Reply #1
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 to compile.