とlibtorrentチュートリアル'hello world'をコンパイル:libtorrent-rasterbar7がインストールさにもかかわらずlibtorrent-rasterbar7:G ++リンカーlibtorrent/session.hppを見つけることができない
g++ main.cpp -o run -ltorrent-rasterbar -lboost_filesystem-mt -L /usr/lib/
=>fatal error: libtorrent/session.hpp: No such file or directory
(両方libtorrent-rasterbar.so.7
/usr/lib/
にはlibtorrent-rasterbar.so.7.0.0
が存在します)。また、問題なくlibtorrentをインポートして使用するシンプルなpythonスクリプトを実行できます。
私が使用しているg ++コマンドは、バージョン12の同様の問題のsolutionと同じですが、まだのエラーが発生しました。エラーが発生しました。