Log in

View Full Version : [SOLVED] fdkaac.EXE - ¿how to compile it?


filler56789
17th December 2014, 17:48
I'm trying to compile nu774's fdkaac.exe with MinGW-w64.
I've already compiled and "installed" the required libfdk-aac thing.
The big question is,
¿where does the stupid ./configure expect to find libfdk-aac?

checking fdk-aac/aacenc_lib.h usability... no
checking fdk-aac/aacenc_lib.h presence... no
checking for fdk-aac/aacenc_lib.h... no
configure: error: libfdk-aac is required

LoRd_MuldeR
17th December 2014, 21:57
In your "include" path? :confused:

filler56789
17th December 2014, 23:22
In your "include" path? :confused:

And my "include path" would be where, exactly? :confused:

Directory of E:\GCC481

2014-07-26 16:18 <DIR> .
2014-07-26 16:18 <DIR> ..
2013-07-23 06:06 4,401 !components.txt
2013-08-22 13:43 <DIR> at-home
2014-12-17 19:52 <DIR> bin
2013-08-08 06:22 <DIR> etc
2014-12-17 16:26 <DIR> include
2014-12-17 16:27 <DIR> lib
2014-07-26 16:19 <DIR> local
2009-07-11 18:34 2,238 m.ico
2013-07-23 06:11 <DIR> manifest
2013-06-01 06:23 <DIR> mingw
2009-07-11 18:34 37,758 msys.ico
2014-12-17 19:49 7,367 msys481.bat
2013-07-23 06:11 <DIR> postinstall
2013-07-23 06:11 <DIR> sbin
2010-09-28 16:34 <DIR> share
2013-07-23 06:11 <DIR> var

ANSWER:

mingw/i686-w64-mingw32/bin
mingw/i686-w64-mingw32/include
mingw/i686-w64-mingw32/lib

argh :mad:

LoRd_MuldeR
18th December 2014, 00:32
The include path(s), i.e. the directories that the compiler will search for header files, is set by the CPATH environment variable:
https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html

It defaults to the subfolder "include" in your MinGW installation directory.

However, instead of messing with your MinGW installation (or modifying CPATH), you probably want add libfdk's "include" directory as an additional include directory via -I compiler option:
https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html#Directory-Options

Note that, usually, the ./configure script will accept the "--extra-cflags" parameter to set additional compiler options. So you can do something like:
./configure --extra-cflags="-I/path_to_libfdkaac/include"

filler56789
18th December 2014, 01:50
Thanks for the information. However I must say that... Well, when I managed to compile libfdk-aac, the files were automagically copied to local/bin,
local/include and local/lib. The first folder to where I manually copied the libfdk-aac files was the most obvious choice (to me at least), i.e., /include. And the trick didn't work -_- I only wish that the "./configure --helpS" were a lot more helpful *by default*, because most of them are not, and IMHO it's a big mistake to assume that every user of a compiler is a skilled programmer who will take the time to study the entire source-codes or the compiler documentation -_-

For the time being, I really prefer to tweak my MinGW setup, because it's something I am able to understand and to control =^.^=
And oh BTW, I still have to find out how to make twolame compatible with the recent versions of MinGW-w64, since Nicholas Humfrey (https://github.com/njh) still believes Unix and Linux "are ALL that matters" -_-

Kurtnoise
18th December 2014, 09:03
It's because you mix up MSYS folders within the MinGW ones...not relative to program skills.

pandy
18th December 2014, 12:07
Works for me: fdkaac_autobuild.zip

https://sites.google.com/site/qaacpage/cabinet

filler56789
18th December 2014, 15:32
@Kurtnoise: thanks for the tip :thanks:

— I will try to improve my organizational skills :o when I upgrade to GCC 4.9.2
(yes, about time!)

foxyshadis
20th December 2014, 12:26
If MSYS is too annoying (believe me, I really understand), another option is a linux virtual machine with mingw for cross-compiling. That works wonders for me, and the only reason I ever touch MSYS anymore is to build with VS2013 without creating a MSVC project.

martynuzza
29th January 2019, 11:33
I'm trying to cross-compile an EXE in ubuntu with mingw64. I read the possibility here https://marc.wäckerlin.ch/computer/cross-compile-on-ubuntu-linux-for-windows-using-mingw

I've downloaded and compiled this: https://github.com/mstorsjo/fdk-aac

Then i attempt to compile this https://github.com/nu774/fdkaac
the windows version but i'm stuck with this error when i try to do ./configure --host=i686-w64-mingw32

configure: error: libfdk-aac is required

1° Is possible to create an EXE in ubuntu in the way I do?
2° Otherwise?

------ edit -------
include folder for ubuntu crosscompiler is in /usr/i686-w64-mingw32 and /usr/x86_64-w64-mingw32 for 64bit

martynuzza
29th January 2019, 13:15
Done myself:

Frontend version 1.0.0
libfdk version 2.0.0

Here is the 32bit exe windows build static:
https://mega.nz/#!6do3ASjL!ApJTfNAWwZTvZ004sKIU35QomlxgYA_o9KERgcjC9uI

Here is the 64bit exe windows build static:
https://mega.nz/#!jM5FESzA!vMb5eNEQXOXolnnQsAKMg3ekVGV0QjN54hemeaCPGl8

martynuzza
29th January 2019, 14:16
:(

I was doing listening tests....very disappointed with the coding quality, it is a lot lower than the good old nero aac 1.5.4.0

so much effort for nothing :(

Taurus
29th January 2019, 18:30
:(

I was doing listening tests....very disappointed with the coding quality, it is a lot lower than the good old nero aac 1.5.4.0

so much effort for nothing :(

@ which samplerate, @ which bitrate?!
Please dont spread FUD without facts.
Many come here for learning and maybe take your opinion for granted.
Just use the Qaac encoder and you will be fine.
No more search for obsolete and outdated stuff.:p

GMJCZP
30th January 2019, 03:06
I did some tests with Behappy to compare fdkaac 0.6.2 with this version, compressing to CBR 32 Kbps gapless iTunSMPB with the profile MPEG-4 HE-AAC v2 (SBR + PS). Using Paris Latino - Bandolero as sample and subjectively I do not notice difference any.

kedautinh12
5th December 2019, 06:16
Done myself:

Frontend version 1.0.0
libfdk version 2.0.0

Here is the 32bit exe windows build static:
https://mega.nz/#!6do3ASjL!ApJTfNAWwZTvZ004sKIU35QomlxgYA_o9KERgcjC9uI

Here is the 64bit exe windows build static:
https://mega.nz/#!jM5FESzA!vMb5eNEQXOXolnnQsAKMg3ekVGV0QjN54hemeaCPGl8

i see new ver, can you compile it?
https://github.com/mstorsjo/fdk-aac/releases/tag/v2.0.1

filler56789
9th December 2019, 02:25
i see new ver, can you compile it?
https://github.com/mstorsjo/fdk-aac/releases/tag/v2.0.1

DONE.
Oh my goddess, the library took ages to compile :eek:
Anyway — unzip, unrar, profit :–p

http://www.mediafire.com/file/jphuy8iljrf9mf0/fdkaac-v2.0.1.7z/file

orion44
9th December 2019, 21:16
DONE.
Oh my goddess, the library took ages to compile :eek:
Anyway — unzip, unrar, profit :–p

http://www.mediafire.com/file/jphuy8iljrf9mf0/fdkaac-v2.0.1.7z/file

:thanks:

kedautinh12
13th December 2019, 05:28
DONE.
Oh my goddess, the library took ages to compile :eek:
Anyway — unzip, unrar, profit :–p

http://www.mediafire.com/file/jphuy8iljrf9mf0/fdkaac-v2.0.1.7z/file

thanks, but are you use Frontend fdkaac version: v1.0.0 and included libfdk version: v2.0.1 compilier?

Frontend homepage
https://github.com/nu774/fdkaac

Lib homepage
https://github.com/mstorsjo/fdk-aac

filler56789
13th December 2019, 06:37
thanks, but are you use Frontend fdkaac version: v1.0.0 and included libfdk version: v2.0.1 compilier?

As I said,

fdkaac-v2.0.1.7z

By the way, welcome to my Ignore List :)

kedautinh12
13th December 2019, 09:57
As I said,

fdkaac-v2.0.1.7z

By the way, welcome to my Ignore List :)

Oh, i see filesize = 1/4 v2.0.0 and i only ask to confirm again. I don't think you angry very much, i'm very sorry 😱😱😱😱

tormento
11th April 2020, 12:57
nu774/fdkaac_autobuild

DEAD PROJECT!!! Don't use this
------------------------------
This script no longer works because:
1) Due to recent TLS1.1 drop by github and too old OpenSSL version included in MSYS, downloading from github fails.
2) Makefiles are not updated to the latest FDKv2.

Use this (https://github.com/kekyo/fdk-aac-win32-builder).

I strongly suggest you to disable any antivirus while compiling or it will consume all resources.

kedautinh12
5th December 2020, 04:35
FDK-AAC v1.0.1
http://www.mediafire.com/file/9c79jkpzufr7x0v/FDK-AAC-1.0.1_Win_GCC102.7z/file

kedautinh12
30th December 2020, 00:27
FDK-AAC v1.0.1
https://github.com/nu774/fdkaac/releases/tag/v1.0.1
https://www.mediafire.com/file/09lrxx3gznosk8h/FDK-AAC-1.0.1-Git-2020-11-30_Win_GCC102.7z/file

szabi
18th January 2021, 07:58
Is it the newest version since than?
It helped me a lot.
Thanks.

Regards
szabi

kedautinh12
27th March 2021, 11:09
Yeah, this is last ver

kedautinh12
25th April 2021, 22:52
fdk-aac new commits
https://github.com/mstorsjo/fdk-aac
fdkaac new ver
https://github.com/nu774/fdkaac

Can anyone compile it??

kedautinh12
29th May 2021, 05:54
FDK-AAC v1.0.2 (2021-04-28)
https://drive.google.com/file/d/1z-CKog4uQ-xbQqx7pTty1ZdJRaNQpMGe/view?usp=drivesdk

GMJCZP
29th May 2021, 11:33
FDK-AAC v1.0.2 (2021-04-28)
https://drive.google.com/file/d/1z-CKog4uQ-xbQqx7pTty1ZdJRaNQpMGe/view?usp=drivesdk

Thanks.

tormento
8th June 2021, 09:53
fdkaac 1.0.2 libfdk-aac 0.1.6+2.0.2 x86 (exe+shared dlls (https://www.mediafire.com/file/52omd1qt2st4a7t/fdkaac_1.0.2_libfdk-aac_0.1.6%252B2.0.2_x86.7z/file))
fdkaac 1.0.2 libfdk-aac 0.1.6+2.0.2 x64 (exe+shared dlls (https://www.mediafire.com/file/yqpkb3cztn6wo99/fdkaac_1.0.2_libfdk-aac_0.1.6%252B2.0.2_x64.7z/file))

built by GCC 10.3.0

kedautinh12
9th June 2021, 10:37
Thanks, but i don't know libfdk-aac use for??

GMJCZP
9th June 2021, 13:50
Thanks, but i don't know libfdk-aac use for??

For example:

Here (http://forum.doom9.net/showthread.php?p=1922562)

GMJCZP
9th June 2021, 13:51
fdkaac 1.0.2 libfdk-aac 0.1.6+2.0.2 x86 (exe+shared dlls (https://www.mediafire.com/file/52omd1qt2st4a7t/fdkaac_1.0.2_libfdk-aac_0.1.6%252B2.0.2_x86.7z/file))
fdkaac 1.0.2 libfdk-aac 0.1.6+2.0.2 x64 (exe+shared dlls (https://www.mediafire.com/file/yqpkb3cztn6wo99/fdkaac_1.0.2_libfdk-aac_0.1.6%252B2.0.2_x64.7z/file))

built by GCC 10.3.0

Thanks.

kedautinh12
9th June 2021, 17:10
For example:

Here (http://forum.doom9.net/showthread.php?p=1922562)

Thanks

kedautinh12
2nd October 2021, 05:34
FDK-AAC-1.0.2-Git-2021-08-24
https://drive.google.com/file/d/1hlwh59ShEejHxmgKv83mtn7H-ko7T_xz/view?usp=sharing

tebasuna51
2nd October 2021, 10:48
Without changes in source code with the previous encode, only change the compiler (GCC102 -> GCC103).

A test with only a wav file:
The acc obtained is bitidentical with the previous encoder.
The fdkaac.exe have less size (721.408 bytes -> 718.848)
And maybe it's a little fast (7731024 samples processed in 00:02.471 -> 00:02.469)

kedautinh12
2nd October 2021, 14:59
Source code change from Apr 28 to Aug 24
https://github.com/mstorsjo/fdk-aac/commits/master

tebasuna51
2nd October 2021, 18:47
Like I say you, without relevant changes. I appreciate your efort to maintan the soft updated but must be more calm.
The encoder remain the same.

We don't need change the version for a literal in a error message or a puntual error in a specific compiler (from 2014) than not solve any bug in any encode.

kedautinh12
3rd June 2022, 13:25
FDK-AAC v1.0.2 (2022-05-31)
https://www.mediafire.com/file/rjper2eoao58sfs/

kedautinh12
15th July 2022, 02:22
FDK-AAC v1.0.3
https://www.mediafire.com/file/y4dltl4v51kwpue

Spo3tniKK
3rd August 2022, 16:06
Thank you very much!

kedautinh12
4th August 2022, 18:34
FDK-AAC v1.0.4 (2022-08-04)
https://www.mediafire.com/file/y7x0nmiurqq9e7c/

Paul-Kun
10th June 2023, 23:24
:goodpost: Thaaaanks for the updates.

kedautinh12
12th January 2024, 02:50
FDK-AAC-1.0.5_2024-01-11_Win_GCC132.7z
https://drive.google.com/file/d/1kt9wzB614k-wrgobTN29LqHe7OrLHlkd/view?usp=drive_link