Help - Search - Members - Calendar
Full Version: Error building FAAC (DRM)
Hydrogenaudio Forums > Lossy Audio Compression > AAC > AAC - Tech
rafaeliriya
Im trying to compile FAAC for DRM use, but i keep getting the same error. I've removed the "//" in the #Define DRM line in coder.h. As a result, all references of DRM (ifdef DRM) are enabled in all source files, except for fft.c. So i included a #define DRM directly in fft.c, but now i get several compilation errors saying cfg is not a member of fft_tables.

Is this some kind of a bug? Does anyone knows how do to solve it?

PS: im using ms virtual studio 2008

i've tried in dev c++ and it was no use too.
john33
Which version of faac are you trying to compile? 1.28 appears to come with the appropriate defines and includes VS project files for the DRM versions. I've not tried compiling them myself, but if you're trying to use an earlier version, I'd give 1.28 a try. smile.gif
rafaeliriya
QUOTE (john33 @ Oct 30 2009, 19:41) *
Which version of faac are you trying to compile? 1.28 appears to come with the appropriate defines and includes VS project files for the DRM versions. I've not tried compiling them myself, but if you're trying to use an earlier version, I'd give 1.28 a try. smile.gif


i'm already using version 1.28 =\

DRM-1024 works fine, but DRM 960 does not work at all
john33
Ah, OK, then I can't offer any assistance not having tried to compile it with those switches.
rafaeliriya
QUOTE (john33 @ Oct 30 2009, 20:56) *
Ah, OK, then I can't offer any assistance not having tried to compile it with those switches.


Ok thx anyway
If you decide to try, please tell me =P

rafaeliriya
QUOTE (rafaeliriya @ Oct 30 2009, 21:02) *
QUOTE (john33 @ Oct 30 2009, 20:56) *
Ah, OK, then I can't offer any assistance not having tried to compile it with those switches.


Ok thx anyway
If you decide to try, please tell me =P


I've figured it out!! It was missing a #include coder.h before #include fft.h in fft.c
john33
Well done. smile.gif Always more satisfying!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.