Closed ghost closed 11 years ago
You don't need such changes to the source code. Header location is passed to the compiler from AdditionalIncludeDirectories property of project setting. If you created your own 64bit project setting (which is not provided), look more carefully at 32bit project settings.
when I changed nothing and used the provided project, fdkaac would not build. changing the line that I changed was all I did. after doing so, I was then able to build it.
is there a special way to build with MSVC? I just opened the project (provided with the download), right-clicked on the top build target, and selected "Build".
I usually use Linux, so I'm not familiar with these "solutions" as much as GNU autotools.
Oh, sorry. I thought you created/modified project because you said "64-bit". So, you were just mentioning your OS environment and not 64bit compilation, right? And I found why this MSVC build issue does not reproduce in my environment. I will manage to fix it somehow. Thanks for reporting.
correct, just the environment. it's a 32-bit build.
Fixed in the last commit. Could you try with it?
tried it without changing anything from a fresh download and it builds fine.
OK, thanks!
MSVC 2010, Windows 7 64-bit.
an error with fdkaac\src\aacenc.h:
changing line 8 from:
to:
allows the program to build. MSVC was complaining that it couldn't find aacenc_lib.h at all. I don't remember the exact error.