[請問] JSVM Linux compile error

看板AVEncode (影音編碼技術)作者 (匈奴將領)時間10年前 (2014/10/15 11:47), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
/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 出現了這些的錯誤訊息,有人知道如何解決嗎? 想不到問題出在哪裡 或者有經驗的人有遇過這問題嗎? 謝謝!! 感恩~ -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.117.164.19 ※ 文章網址: http://www.ptt.cc/bbs/AVEncode/M.1413344865.A.476.html

04/29 16:07, , 1F
已解決,gcc版本需使用4.1
04/29 16:07, 1F
文章代碼(AID): #1KFUvXHs (AVEncode)
文章代碼(AID): #1KFUvXHs (AVEncode)