Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Build v1.2.1 LibFlac SourceCode in 2010 and 2003 (Read 2900 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

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-

 

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.