1.下载最新的版本ddd-3.3.12.tar.gz
2.先要安装好 yum -y install openmotif openmotif-devel
不能会报错的 ”The Motif include file 'Xm/Xm.h' could not be found.”
find . -name strclass.C 找到文件的路径,然后vim编辑,在头部加入#define EOF -1
3.tar -xvf ddd-3.3.12.tar.gz
cd ddd-3.3.12
./configure
make
make install
就是这么简单