當前位置:編程學習大全網 - 網站源碼 - linux下c++編譯器無法編譯成執行文件

linux下c++編譯器無法編譯成執行文件

G++是編譯器,還需要像GLIBC之類的聯接庫

在LINUX下人安裝PHP時

首先會CHECK妳有沒有C++

checking for c++... c++

然後編譯壹個最簡單的程序main(){};看可以不

checking whether the C++ compiler (c++ ) works... no

configure: error: installation or configuration problem: C++ compiler cannot create executables.

妳需要安裝GLIBC之類的東西

如果用的是Debian系統可以用

apt-get install build-essential 來安裝

  • 上一篇:Lpcm和源代碼輸出
  • 下一篇:短線高手主力版“買賣趨勢”指標公式源碼
  • copyright 2024編程學習大全網