< builtin >: recipe for target ‘ImageIOpng.o’ failed
编译光流图color_flow打开程序的时候,出现错误:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
$ make g++ -O3 -W -Wall -c -o Convert.o Convert.cpp g++ -O3 -W -Wall -c -o Convolve.o Convolve.cpp g++ -O3 -W -Wall -c -o Image.o Image.cpp g++ -O3 -W -Wall -c -o ImageIO.o ImageIO.cpp ImageIO.cpp: In function ‘void ReadFileTGA(CByteImage&, const char*)’: ImageIO.cpp:169:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (h.cMapBits != 24) ^~ ImageIO.cpp:171:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ int l = fileBytes * cMapSize; ^~~ ImageIO.cpp: In function ‘void ReadFilePGM(CByteImage&, const char*)’: ImageIO.cpp:358:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (stream == 0) ^~ ImageIO.cpp:361:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ int width, height, nBands; ^~~ ImageIO.cpp: In function ‘void read_header(FILE*, const char*, char, char, int*, int*, int*, int)’: ImageIO.cpp:334:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", width); ^ ImageIO.cpp:336:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", height); ^ ImageIO.cpp:339:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", nbands); ^ g++ -O3 -W -Wall -c -o ImageIOpng.o ImageIOpng.cpp ImageIOpng.cpp:19:17: fatal error: png.h: No such file or directory #include "png.h" ^ compilation terminated. <builtin>: recipe for target 'ImageIOpng.o' failed make: *** [ImageIOpng.o] Error 1 |
问题出现在环境上,主要是依赖包没有安装,使用以下命令安装即可: Centos: sudo yum install […]
CentOS安装Qbittorrent并开启WEB服务[服务器版]
这里以4.1.9为例,想看详细的安装过程来对比自己安装的对不对,可以看第4节。如果需要Ubuntu下安装Qbittorrent并开启WEB服务[桌面版/服务器版]的教程,请看下面。 1 安装依赖 按顺序执行即可 [crayon-6636e2 […]
base/bittorrent/session.cpp:629:63: error: call of overloaded ‘asConst(QHash&)’
编译Qbittorrent的时候出现:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 |
cd src/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /home/sipl/qBittorrent-release-4.1.9/src/src.pro QMAKE_LRELEASE= ) && make -f Makefile make[1]: Entering directory `/home/sipl/qBittorrent-release-4.1.9/src' compiling app/qtsingleapplication/qtsinglecoreapplication.cpp compiling app/qtsingleapplication/qtlocalpeer.cpp compiling app/application.cpp compiling app/cmdoptions.cpp compiling app/filelogger.cpp compiling app/main.cpp compiling base/asyncfilestorage.cpp compiling base/bittorrent/filepriority.cpp compiling base/bittorrent/infohash.cpp compiling base/bittorrent/magneturi.cpp compiling base/bittorrent/peerinfo.cpp compiling base/bittorrent/private/bandwidthscheduler.cpp compiling base/bittorrent/private/filterparserthread.cpp compiling base/bittorrent/private/resumedatasavingmanager.cpp compiling base/bittorrent/private/speedmonitor.cpp compiling base/bittorrent/private/statistics.cpp compiling base/bittorrent/session.cpp compiling base/bittorrent/torrentcreatorthread.cpp base/bittorrent/session.cpp: In member function ‘void BitTorrent::Session::setTempPathEnabled(bool)’: base/bittorrent/session.cpp:615:63: error: call of overloaded ‘asConst(QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&)’ is ambiguous for (TorrentHandle *const torrent : asConst(m_torrents)) ^ base/bittorrent/session.cpp:615:63: note: candidates are: In file included from base/bittorrent/session.cpp:73:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>; typename std::add_const<_Tp>::type = const QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&; typename std::add_const<_Tp>::type = QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ base/bittorrent/session.cpp: In member function ‘void BitTorrent::Session::setAppendExtensionEnabled(bool)’: base/bittorrent/session.cpp:629:63: error: call of overloaded ‘asConst(QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&)’ is ambiguous for (TorrentHandle *const torrent : asConst(m_torrents)) ^ base/bittorrent/session.cpp:629:63: note: candidates are: In file included from base/bittorrent/session.cpp:73:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>; typename std::add_const<_Tp>::type = const QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&; typename std::add_const<_Tp>::type = QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ base/bittorrent/session.cpp: In member function ‘bool BitTorrent::Session::deleteTorrent(const QString&, bool)’: base/bittorrent/session.cpp:1942:65: error: call of overloaded ‘asConst(QStringList&)’ is ambiguous for (const QString &unwantedFile : asConst(unwantedFiles)) { ^ base/bittorrent/session.cpp:1942:65: note: candidates are: In file included from base/bittorrent/session.cpp:73:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = QStringList; typename std::add_const<_Tp>::type = const QStringList] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = QStringList&; typename std::add_const<_Tp>::type = QStringList&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ base/bittorrent/session.cpp: In member function ‘void BitTorrent::Session::generateResumeData(bool)’: base/bittorrent/session.cpp:2389:59: error: call of overloaded ‘asConst(QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&)’ is ambiguous for (TorrentHandle *const torrent : asConst(m_torrents)) { ^ base/bittorrent/session.cpp:2389:59: note: candidates are: In file included from base/bittorrent/session.cpp:73:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>; typename std::add_const<_Tp>::type = const QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&; typename std::add_const<_Tp>::type = QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ base/bittorrent/session.cpp: In member function ‘void BitTorrent::Session::saveTorrentsQueue()’: base/bittorrent/session.cpp:2448:45: error: call of overloaded ‘asConst(QMap<int, QString>&)’ is ambiguous for (const QString &hash : asConst(queue)) ^ base/bittorrent/session.cpp:2448:45: note: candidates are: In file included from base/bittorrent/session.cpp:73:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = QMap<int, QString>; typename std::add_const<_Tp>::type = const QMap<int, QString>] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = QMap<int, QString>&; typename std::add_const<_Tp>::type = QMap<int, QString>&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ base/bittorrent/session.cpp: In member function ‘void BitTorrent::Session::setTempPath(QString)’: base/bittorrent/session.cpp:2484:59: error: call of overloaded ‘asConst(QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&)’ is ambiguous for (TorrentHandle *const torrent : asConst(m_torrents)) ^ base/bittorrent/session.cpp:2484:59: note: candidates are: In file included from base/bittorrent/session.cpp:73:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>; typename std::add_const<_Tp>::type = const QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&; typename std::add_const<_Tp>::type = QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ base/bittorrent/session.cpp: In member function ‘bool BitTorrent::Session::hasPerTorrentRatioLimit() const’: base/bittorrent/session.cpp:3809:59: error: call of overloaded ‘asConst(const QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&)’ is ambiguous for (TorrentHandle *const torrent : asConst(m_torrents)) ^ base/bittorrent/session.cpp:3809:59: note: candidates are: In file included from base/bittorrent/session.cpp:73:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = const QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>; typename std::add_const<_Tp>::type = const QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = const QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&; typename std::add_const<_Tp>::type = const QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ base/bittorrent/session.cpp: In member function ‘bool BitTorrent::Session::hasPerTorrentSeedingTimeLimit() const’: base/bittorrent/session.cpp:3817:59: error: call of overloaded ‘asConst(const QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&)’ is ambiguous for (TorrentHandle *const torrent : asConst(m_torrents)) ^ base/bittorrent/session.cpp:3817:59: note: candidates are: In file included from base/bittorrent/session.cpp:73:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = const QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>; typename std::add_const<_Tp>::type = const QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = const QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&; typename std::add_const<_Tp>::type = const QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ base/bittorrent/session.cpp: In member function ‘void BitTorrent::Session::startUpTorrents()’: base/bittorrent/session.cpp:3961:69: error: call of overloaded ‘asConst(QStringList&)’ is ambiguous for (const QString &fastresumeName : asConst(fastresumes)) { ^ base/bittorrent/session.cpp:3961:69: note: candidates are: In file included from base/bittorrent/session.cpp:73:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = QStringList; typename std::add_const<_Tp>::type = const QStringList] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = QStringList&; typename std::add_const<_Tp>::type = QStringList&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ base/bittorrent/session.cpp:4000:87: error: call of overloaded ‘asConst(QMap<int, BitTorrent::Session::startUpTorrents()::TorrentResumeData>&)’ is ambiguous for (const TorrentResumeData &torrentResumeData : asConst(queuedResumeData)) ^ base/bittorrent/session.cpp:4000:87: note: candidates are: In file included from base/bittorrent/session.cpp:73:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = QMap<int, BitTorrent::Session::startUpTorrents()::TorrentResumeData>; typename std::add_const<_Tp>::type = const QMap<int, BitTorrent::Session::startUpTorrents()::TorrentResumeData>] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = QMap<int, BitTorrent::Session::startUpTorrents()::TorrentResumeData>&; typename std::add_const<_Tp>::type = QMap<int, BitTorrent::Session::startUpTorrents()::TorrentResumeData>&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ base/bittorrent/session.cpp:4022:61: error: call of overloaded ‘asConst(QStringList&)’ is ambiguous for (const QString &fastresumeName : asConst(fastresumes)) { ^ base/bittorrent/session.cpp:4022:61: note: candidates are: In file included from base/bittorrent/session.cpp:73:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = QStringList; typename std::add_const<_Tp>::type = const QStringList] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = QStringList&; typename std::add_const<_Tp>::type = QStringList&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ base/bittorrent/session.cpp: In member function ‘void BitTorrent::Session::handleStateUpdateAlert(libtorrent::state_update_alert*)’: base/bittorrent/session.cpp:4622:59: error: call of overloaded ‘asConst(QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&)’ is ambiguous for (TorrentHandle *const torrent : asConst(m_torrents)) { ^ base/bittorrent/session.cpp:4622:59: note: candidates are: In file included from base/bittorrent/session.cpp:73:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>; typename std::add_const<_Tp>::type = const QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&; typename std::add_const<_Tp>::type = QHash<BitTorrent::InfoHash, BitTorrent::TorrentHandle*>&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ make[1]: *** [session.o] Error 1 make[1]: *** Waiting for unfinished jobs.... base/bittorrent/torrentcreatorthread.cpp: In member function ‘virtual void BitTorrent::TorrentCreatorThread::run()’: base/bittorrent/torrentcreatorthread.cpp:113:48: error: call of overloaded ‘asConst(QStringList&)’ is ambiguous for (const auto &dir : asConst(dirs)) { ^ base/bittorrent/torrentcreatorthread.cpp:113:48: note: candidates are: In file included from base/bittorrent/torrentcreatorthread.cpp:45:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = QStringList; typename std::add_const<_Tp>::type = const QStringList] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = QStringList&; typename std::add_const<_Tp>::type = QStringList&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ base/bittorrent/torrentcreatorthread.cpp:129:58: error: call of overloaded ‘asConst(QStringList&)’ is ambiguous for (const auto &fileName : asConst(fileNames)) ^ base/bittorrent/torrentcreatorthread.cpp:129:58: note: candidates are: In file included from base/bittorrent/torrentcreatorthread.cpp:45:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = QStringList; typename std::add_const<_Tp>::type = const QStringList] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = QStringList&; typename std::add_const<_Tp>::type = QStringList&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ base/bittorrent/torrentcreatorthread.cpp:144:54: error: call of overloaded ‘asConst(QStringList&)’ is ambiguous for (QString seed : asConst(m_params.urlSeeds)) { ^ base/bittorrent/torrentcreatorthread.cpp:144:54: note: candidates are: In file included from base/bittorrent/torrentcreatorthread.cpp:45:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = QStringList; typename std::add_const<_Tp>::type = const QStringList] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = QStringList&; typename std::add_const<_Tp>::type = QStringList&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ base/bittorrent/torrentcreatorthread.cpp:151:64: error: call of overloaded ‘asConst(QStringList&)’ is ambiguous for (const QString &tracker : asConst(m_params.trackers)) { ^ base/bittorrent/torrentcreatorthread.cpp:151:64: note: candidates are: In file included from base/bittorrent/torrentcreatorthread.cpp:45:0: ./base/global.h:38:45: note: constexpr typename std::add_const<_Tp>::type& asConst(T&) [with T = QStringList; typename std::add_const<_Tp>::type = const QStringList] constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; } ^ ./base/global.h:42:44: note: constexpr typename std::add_const<_Tp>::type asConst(T&&) [with T = QStringList&; typename std::add_const<_Tp>::type = QStringList&] constexpr typename std::add_const<T>::type asConst(T &&t) noexcept { return std::move(t); } ^ make[1]: *** [torrentcreatorthread.o] Error 1 make[1]: Leaving directory `/home/sipl/qBittorrent-release-4.1.9/src' make: *** [sub-src-make_first] Error 2 |
这是gcc版本的问题,注意使用gcc -v查看下是不是对应的。 本文最后更新于2021年8月16日,已超过 1 年没有更新,如果文章内 […]
invalid or corrupt torrent file
IYUU辅种的时候可能会出现:—–RPC添加种子任务,失败 [invalid or corrupt torrent file]这个错误。 这是因为passkey填写错误的原因。重新填写即可。 主要是有些站点的rsskey是有时间限制的 […]
NDM如何设置下载白名单
NDM(Neat Download Manager)是个非常棒的下载器,可以媲美IDM,这次来说一下Neat Download Manager如何设置白名单,或者说Neat Download Manager如何设置某些文件不下载。 根据目前 […]
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.67.dylib
运行flood提示:
1 2 3 4 |
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.67.dylib Referenced from: /usr/local/bin/node Reason: image not found Abort trap: 6 |
这是因为node版本的问题,升级一下node即可。如:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
brew upgrade node ==> Upgrading 1 outdated package: node 15.3.0 -> 16.7.0 ==> Upgrading node 15.3.0 -> 16.7.0 ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/libuv-1.42.0.catali ######################################################################## 100.0% ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/node-16.7.0.catalin #=#=-# # curl: (22) The requested URL returned error: 404 Warning: Bottle missing, falling back to the default domain... ==> Downloading https://ghcr.io/v2/homebrew/core/node/manifests/16.7.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/node/blobs/sha256:0bd7325e2ad52 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Installing dependencies for node: libuv ==> Installing node dependency: libuv ==> Pouring libuv-1.42.0.catalina.bottle.tar.gz ? /usr/local/Cellar/libuv/1.42.0: 49 files, 3.4MB ==> Installing node ==> Pouring node--16.7.0.catalina.bottle.tar.gz ==> Caveats Bash completion has been installed to: /usr/local/etc/bash_completion.d ==> Summary ? /usr/local/Cellar/node/16.7.0: 2,504 files, 48.3MB Removing: /usr/local/Cellar/node/15.3.0... (3,269 files, 55.4MB) ==> Upgrading 1 dependent: yarn 1.22.10 -> 1.22.11 ==> Upgrading yarn 1.22.10 -> 1.22.11 ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/yarn-1.22.11.all.bo ######################################################################## 100.0% ==> Pouring yarn-1.22.11.all.bottle.tar.gz ? /usr/local/Cellar/yarn/1.22.11: 15 files, 5MB Removing: /usr/local/Cellar/yarn/1.22.10... (15 files, 5MB) Removing: /Users/mcj/Library/Caches/Homebrew/yarn--1.22.10.tar.gz... (1.2MB) ==> Checking for dependents of upgraded formulae... ==> No broken dependents found! ==> Caveats ==> node Bash completion has been installed to: /usr/local/etc/bash_completion.d |
本文最后更新于2 […]
rtorrent: random_device failed to open /dev/urandom: Too many open files
某次重启之后,rtorrent突然就出现以下提示: rtorrent: random_device failed to open /dev/urandom: Too many open files 然后直接闪退~~ 后来发现,这是因为rto […]
IYUUPlus: Unable to acquire X-Transmission-Session-Id
.bash_profile bash cron git IYUU php Transmission 容器 源码 使用IYUUPlus的docker版本的时候,正常填写了各种参数,仍然提示: Unable to acquire X-Trans […]
mac版Transmission打开之后无响应
用的久了,经常会发生Transmission打开之后无响应的问题,这主要是因为保种的数量太多导致的。。 只要点击Transmission,你就会发现,目标磁盘的读取一直在跑: 解决方法就是,我们提前把目标目录打开,这样Transmissio […]
No package ‘libtorrent-rasterbar’ found
错误:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
checking for boostlib >= 1.40 (104000)... yes configure: Boost CXXFLAGS: "-I/usr/include" configure: Boost LDFLAGS: "-L/usr/lib/x86_64-linux-gnu" checking whether the Boost::System library is available... yes checking for exit in -lboost_system... yes configure: Boost.System LIB: "-lboost_system" checking for libtorrent... no configure: error: Package requirements (libtorrent-rasterbar >= 1.1.10) were not met: No package 'libtorrent-rasterbar' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. |
解决方法: 先装boost,建议装boost1.60,安装方法见: 还可能出现: 然后继续安装libtorrent-rasterbar: wget https://g […]