發表文章

目前顯示的是有「BUG」標籤的文章

[CGAL, BOOST, C++, Visual Studio] Mutex is not supported when compiling with /clr or clr:pure

使用CLR專案去建置GUI並搭配CGAL的套件,出現以下訊息 : [C++] Mutex is not supported when compiling with /clr or clr:pure  目前已知原因如下 : C++ / CLR在編譯時不允許使用<mutex>, <thread>, <future>, <condition_variable>。 CGAL編譯時所包含的Boost裡有<boost/thread/mutex.hpp>, 因此編譯器會有不兼容的問題。 解決方法目前還在想,但有一個方法可能可以試試 : 將thread額外拿出來自己寫, 重新繼承? (網路上查到的, 還未確認)

[Ubuntu 16.04] E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)

當ubuntu下指令sudo apt install之時,出現以下錯誤訊息 E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? 解決方式如下 sudo rm -R /var/lib/apt/lists/lock sudo rm -R/var/lib/dpkg/lock sudo rm -R/var/cache/apt/archives/lock