|
From: Ioannis M. <ioa...@br...> - 2016-03-24 16:31:45
|
Hello,
I just tried to install the openSVCdecoder in my Ubuntu computer (14.04)
but I got an error.
I created the make files with cmake and when I tried to compile the
source files I get the following:
[ 96%] Building C object
SVC/lib_svc/CMakeFiles/SVC_baseline.dir/WriteBackSVC.c.o
Linking C static library libSVC_baseline.a
[ 96%] Built target SVC_baseline
[ 97%] Building C object
CommonFiles/src/CMakeFiles/OpenSVCDec.dir/ControlLayer.c.o
[ 98%] Building C object
CommonFiles/src/CMakeFiles/OpenSVCDec.dir/display_tcpmp.c.o
[ 98%] Building C object
CommonFiles/src/CMakeFiles/OpenSVCDec.dir/H264_plg.c.o
[ 99%] Building C object
CommonFiles/src/CMakeFiles/OpenSVCDec.dir/ParseAU.c.o
/home/im13618/Downloads/src_1.12/Libs/CommonFiles/src/ParseAU.c: In
function ‘ParseAuPlayers’:
/home/im13618/Downloads/src_1.12/Libs/CommonFiles/src/ParseAU.c:177:4:
warning: passing argument 2 of ‘decodeNAL’ discards ‘const’ qualifier
from pointer target type [enabled by default]
decodeNAL(PlayerStruct, buf + buf_index, nalsize, Picture, Layer);
^
In file included from
/home/im13618/Downloads/src_1.12/Libs/CommonFiles/src/ParseAU.c:35:0:
/home/im13618/Downloads/src_1.12/Libs/CommonFiles/src/SVCDecoder_ietr_api.h:111:5:
note: expected ‘unsigned char *’ but argument is of type ‘const unsigned
char *’
int decodeNAL(void *PlayerStruct, unsigned char* nal, int nal_length,
OPENSVCFRAME *Frame, int *LayerCommand);
^
Linking C shared library libOpenSVCDec.so
/usr/bin/ld: ../../SVC/lib_svc/libSVC_baseline.a(macroblock_filter.c.o):
relocation R_X86_64_32S against `.data' can not be used when making a
shared object; recompile with -fPIC
../../SVC/lib_svc/libSVC_baseline.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [CommonFiles/src/libOpenSVCDec.so] Error 1
make[1]: *** [CommonFiles/src/CMakeFiles/OpenSVCDec.dir/all] Error 2
make: *** [all] Error 2
Any ideas about that? Thank you very much in advance.
Regards,
Ioannis
|