ubuntu16.04裝MatConvNet


按matconvnet官網上的步驟來,編譯代碼的時候會發現編譯失敗。

參考這條issues

以下是我的解決方案:

I use ubuntu16.04 with x64 architecture. I installed matlab2016b, with cuda7.5 and cudnn5 installed.
I faced with similar problem and handle it by executing these commands:(for me, default gcc is version 5.4)

cd /usr/local/MATLAB/R2016b/sys/os/glnxa64  #where I installed my matlab
sudo mv libstdc++.so.6.0.20 bak-libstdc++.so.6.0.20
sudo mv libstdc++.so.6 bak-libstdc++.so.6
sudo ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 ./
sudo ln -sf ./libstdc++.so.6.0.21 ./libstdc++.so.6

Then reopen matlab and compile MatConvNet. Still have warning about gcc version but compiling can be done.


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM