[請問] JSVM Linux compile error

作者: louisman (匈奴將領)   2014-10-15 11:47:42
/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
出現了這些的錯誤訊息,有人知道如何解決嗎?
想不到問題出在哪裡 或者有經驗的人有遇過這問題嗎?
謝謝!! 感恩~

Links booklink

Contact Us: admin [ a t ] ucptt.com