所以我一直在尝试安装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