文章出處

按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.


文章列表


不含病毒。www.avast.com
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 大師兄 的頭像
    大師兄

    IT工程師數位筆記本

    大師兄 發表在 痞客邦 留言(0) 人氣()