hi all,
I am compiling x264 as a codec lib. I firstly compiled x264 as a executable and maded sure I work. I can use a simulator to encode a input.yuv file to a output.264 which could be played using a movie player.
However, when I compiled it as a lib..............
compiling process is fine, but when I tried to integrate it into a codec server using codec engine, there was a linking error saying that isinf symbol is not defined.
I found the code in CGtools/include/math.h:
#if __INLINE_ISINF__
#ifndef REAL_TO_REALNUM
#error isinf can only be inlined in the compilation of the rts
#endif
static __inline int __isinf(double x)
{
realnum _x;
REAL_TO_REALNUM(x, _x);
return _x.exp == (REAL_EMAX + 1) && (_x.mantissa << 1) == 0;
}
#endif /* __INLINE_ISINF___ */
I added predefined symbol __INLINE_ISINF__ but got the error message as in line 3 of the code " isinf can only be inlined in the compilation of the rts"
so, where is REAL_TO_REALNUM? I couldn't find the defination in the include directory, nor could I google it out. Could anybody possibly help me with the issue?
Thanks in advance.