2010年5月21日金曜日

recfriio, error: ‘condition’ in namespace ‘boost’ does not name a type

recfriio-r4 を HDUS の録画ツールとして使っているのだが、dev-libs/boost-1.41.0-r3 にバージョンをあげてからコンパイル済みバイナリが実行できなくなった。

recfriio: symbol lookup error: recfriio: undefined symbol: _ZN5boost6system18get_posix_categoryEv

ということで、コンパイルし直そうと思ったが次のようなエラーが表示されてしまった。

g++ -O2 -g -Wall -pthread -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DB25 -DHDUS -DUDP `pkg-config --cflags glib-2.0`   -c -o IoThread.o IoThread.cpp
In file included from IoThread.cpp:13:
RingBuf.hpp:90: error: ‘condition’ in namespace ‘boost’ does not name a type
RingBuf.hpp: In member function ‘void RingBuf::setReady(T*)’:
RingBuf.hpp:188: error: ‘cond’ was not declared in this scope
RingBuf.hpp: In member function ‘const T* RingBuf::getPopPtr(unsigned int)’:
RingBuf.hpp:233: error: ‘cond’ was not declared in this scope
RingBuf.hpp: In member function ‘void RingBuf::interrupt()’:
RingBuf.hpp:260: error: ‘cond’ was not declared in this scope


外部記憶装置: boost condition ここによると、boost/thread/condition.hpp を include させてあげればよいらしいので、やってみたらうまくいった。

1 件のコメント:

  1. Gambling in South Carolina is restricted solely to casino riverboats but state legislature has proposed payments in consecutive years that may open the door to sports activities playing. The state has proposed quantity of} payments, including one in 2021, but all have been shot down. Before they even get to playing, people must really feel comfortable making online transactions. Not to fret – in most jurisdictions you should purchase|you ought to buy} Bitcoin directly from Bitstarz with a debit card, GPay, or Revolut. The casino’s accepted withdrawal options embrace Interac, eCheck, ecoPayz, and MuchBetter. Moreover, the wagering SM카지노 necessities for the welcome bonus are solely 35x, so you must to} be able to|be capable of|have the ability to} wrap that up rapidly.

    返信削除