Open GoogleCodeExporter opened 8 years ago
I think I have solved the problem by adding these libs to usr/lib.
Original comment by 379764...@qq.com
on 19 Mar 2013 at 9:27
I put them in the regular mingw/bin directory. When compiling them, be sure to
use
./configure --prefix=/mingw
make
make install
I don't think the linker will pick them up in /usr/lib.
Original comment by starkd88@gmail.com
on 19 Mar 2013 at 2:50
Now,I got another prolem.
Linking C shared library libAudioData.dll
Creating library file: libAudioData.dll.a
CMakeFiles/AudioData.dir/audiodata.c.obj:audiodata.c:(.text+0xec5): undefined re
ference to `Decoder_Interface_init'
CMakeFiles/AudioData.dir/audiodata.c.obj:audiodata.c:(.text+0xf5d): undefined re
ference to `Decoder_Interface_Decode'
CMakeFiles/AudioData.dir/audiodata.c.obj:audiodata.c:(.text+0xfd2): undefined re
ference to `Decoder_Interface_exit'
collect2: ld returned 1 exit status
make[2]: *** [libs/libAudioData.dll] Error 1
make[1]: *** [libs/CMakeFiles/AudioData.dir/all] Error 2
make: *** [all] Error 2
I have checked that these functions are all declared in interf_dec.h .But since I have build opencore-amrnb and got this header and a library named libopencore-amrnb.a,this problem above was still happening.
Original comment by 379764...@qq.com
on 20 Mar 2013 at 1:37
Original issue reported on code.google.com by
379764...@qq.com
on 19 Mar 2013 at 9:11