You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in windows , i use build the project in mingw. and use gcc link all *.o to create .lib and .dll,then use them in msvc,but err: error LNK2019: unresolved external symbol _faacEncGetCurrentConfiguration referenced in function "public: bool __thiscall mediakit::AACEncoder::init(int,int,int)" (?init@AACEncoder@mediakit@@QAE_NHHH@Z) error LNK2019: unresolved external symbol _faacEncSetConfiguration referenced in function "public: bool __thiscall mediakit::AACEncoder::init(int,int,int)" (?init@AACEncoder@mediakit@@QAE_NHHH@Z) error LNK2019: unresolved external symbol _faacEncOpen referenced in function "public: bool __thiscall mediakit::AACEncoder::init(int,int,int)" (?init@AACEncoder@mediakit@@QAE_NHHH@Z) error LNK2019: unresolved external symbol _faacEncEncode referenced in function "public: int __thiscall mediakit::AACEncoder::inputData(char *,int,unsigned char * *)" (?inputData@AACEncoder@mediakit@@QAEHPADHPAPAE@Z) error LNK2019: unresolved external symbol _faacEncClose referenced in function "public: virtual __thiscall mediakit::AACEncoder::~AACEncoder(void)" (??1AACEncoder@mediakit@@UAE@XZ)
i think that i build lib have problem. i use gcc command:
./bootstrap
./configure --without-mp4v2 --enable-shared
make
make install
gcc -shared -o libfaac.dll *.o -Wl,--output-def,libfaac.def,--out-implib,libfaac.lib
The text was updated successfully, but these errors were encountered:
in windows , i use build the project in mingw. and use gcc link all *.o to create .lib and .dll,then use them in msvc,but err:
error LNK2019: unresolved external symbol _faacEncGetCurrentConfiguration referenced in function "public: bool __thiscall mediakit::AACEncoder::init(int,int,int)" (?init@AACEncoder@mediakit@@QAE_NHHH@Z) error LNK2019: unresolved external symbol _faacEncSetConfiguration referenced in function "public: bool __thiscall mediakit::AACEncoder::init(int,int,int)" (?init@AACEncoder@mediakit@@QAE_NHHH@Z) error LNK2019: unresolved external symbol _faacEncOpen referenced in function "public: bool __thiscall mediakit::AACEncoder::init(int,int,int)" (?init@AACEncoder@mediakit@@QAE_NHHH@Z) error LNK2019: unresolved external symbol _faacEncEncode referenced in function "public: int __thiscall mediakit::AACEncoder::inputData(char *,int,unsigned char * *)" (?inputData@AACEncoder@mediakit@@QAEHPADHPAPAE@Z) error LNK2019: unresolved external symbol _faacEncClose referenced in function "public: virtual __thiscall mediakit::AACEncoder::~AACEncoder(void)" (??1AACEncoder@mediakit@@UAE@XZ)
i think that i build lib have problem. i use gcc command:
./bootstrap
./configure --without-mp4v2 --enable-shared
make
make install
gcc -shared -o libfaac.dll *.o -Wl,--output-def,libfaac.def,--out-implib,libfaac.lib
The text was updated successfully, but these errors were encountered: