※ [本文转录自 AVEncode 看板 #1KFUvXHs ]
作者: louisman (匈奴将领) 看板: AVEncode
标题: [请问] JSVM Linux compile error
时间: Wed Oct 15 11:47:42 2014
/home/louisman/JSVM/jsvm/JSVM/H264Extension/build/linux/lib/H264AVCVideoIoLib/../../../../include/Macros.h:146:33:
note: in definition of macro ‘RNOK’
const ERR_VAL nMSysRetVal = ( exp ); \
^
/home/louisman/JSVM/jsvm/JSVM/H264Extension/build/linux/lib/H264AVCVideoIoLib/../../../../src/lib/H264AVCVideoIoLib/ReadBitstreamFile.cpp:
In member function ‘ErrVal ReadBitstreamFile::init(const string&)’:
/home/louisman/JSVM/jsvm/JSVM/H264Extension/build/linux/lib/H264AVCVideoIoLib/../../../../src/lib/H264AVCVideoIoLib/ReadBitstreamFile.cpp:146:35:
error: ‘SEEK_SET’ was not declared in this scope
RNOK( m_cFile.seek( uiStartPos, SEEK_SET ) );
^
/home/louisman/JSVM/jsvm/JSVM/H264Extension/build/linux/lib/H264AVCVideoIoLib/../../../../src/lib/H264AVCVideoIoLib/ReadBitstreamFile.cpp:146:3:
note: in expansion of macro ‘RNOK’
RNOK( m_cFile.seek( uiStartPos, SEEK_SET ) );
^
/home/louisman/JSVM/jsvm/JSVM/H264Extension/build/linux/lib/H264AVCVideoIoLib/../../../../src/lib/H264AVCVideoIoLib/ReadBitstreamFile.cpp:
In member function ‘virtual ErrVal ReadBitstreamFile::setPosition(Int)’:
/home/louisman/JSVM/jsvm/JSVM/H264Extension/build/linux/lib/H264AVCVideoIoLib/../../../../src/lib/H264AVCVideoIoLib/ReadBitstreamFile.cpp:174:29:
error: ‘SEEK_SET’ was not declared in this scope
RNOK( m_cFile.seek( iPos, SEEK_SET ) );
^
/home/louisman/JSVM/jsvm/JSVM/H264Extension/build/linux/lib/H264AVCVideoIoLib/../../../../include/Macros.h:146:33:
note: in definition of macro ‘RNOK’
const ERR_VAL nMSysRetVal = ( exp ); \
^
make[1]: *** [objects/ReadBitstreamFile.d.o] Error 1
make[1]: Leaving directory
`/home/louisman/JSVM/jsvm/JSVM/H264Extension/build/linux/lib/H264AVCVideoIoLib'
make: *** [all] Error 2
出现了这些的错误讯息,有人知道如何解决吗?
想不到问题出在哪里 或者有经验的人有遇过这问题吗?
谢谢!! 感恩~