我是个初学者。我正在Ubuntu上安装systemc231,我已经这样做了:
tar -xzvf systemc-2.3.1.tgz
cd systemc-2.3.1
sudo mkdir /usr/local/systemc231
mkdir objdir
cd objdir
export cxx="<compiler>"
export cxx=g++
export cxx=clang++
setevn cxx g++它回答说:command not found,然后我继续说:
../configure它花了一会儿时间检查了一些东西,但最后它回答道:
Configure:error: in /home/Ubuntu/systemc-2.3.1/objdir':
Configure:error:c++compiler cannot create executables see 'config.log' for more details然后我继续说:
make它回答说:
make:*** no targets specified no makefile found. Stop.现在我能做什么?这是systemc231文件的链接,我使用了它的自述文件和安装文件来编写命令:
http://accellera.org/images/downloads/standards/systemc/systemc-2.3.1.tgz
发布于 2015-10-27 09:28:30
在Ubuntu中,使用导出来设置环境变量。在其他Linux发行版中,您使用setenv。你只需要其中一条命令。执行一个命令,以确定是否安装了g++
which g++如果它不返回类似的东西
/usr/bin/g++然后它没有安装,只需用
sudo apt-get install build-essential然后再次使用检查您创建了安装目录/usr// systemc 231的,您需要在配置命令中指定要在其中安装systemc。查找关于在我的博客上在ubuntu中设置systemc和eclipse配置的教程
https://stackoverflow.com/questions/32153748
复制相似问题