所以我一直在嘗試安裝DDD。我使用的是Mac OS X 10.9(Mavericks),我安裝了最新的Xcode。每當我跑我的配置文件,我得到的最後一件事是:安裝DDD - 致命錯誤
checking whether c++ accepts -g... yes
checking whether the C++ compiler (c++) compiles a simple program... no
configure: error: You must set the environment variable CXX to a working
C++ compiler. Also check the CXXFLAGS settings.
See the file 'config.log' for further diagnostics.
,每當我檢查的config.log文件,我得到:
configure:2684: c++ -o conftest -g -O2 conftest.C 1>&5
configure:2678:10: fatal error: 'iostream.h' file not found #include <iostream.h>
1 error generated.
configure: failed program was:
#line 2677 "configure"
#include "confdefs.h"
#include <iostream.h>
int main() {
cout << "hello, world!";
; return 0; }
我已經下載從sourcefourge gcc和安裝gcc-4.9再次,但我仍然得到相同的錯誤。任何人都知道如何解決這個問題或者什麼問題可能?
改變你的''到'' –
sujin
這不是他的圖書館,它是DDD的。 – Sunspawn