gpt4 book ai didi

linux - 在 ubuntu 13.04 中安装 g++ 4.8

转载 作者:太空狗 更新时间:2023-10-29 12:18:07 26 4
gpt4 key购买 nike

<分区>

我用过:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test    
sudo apt-get update
sudo apt-get install g++-4.8

在 ubuntu 13.04 中安装 g++4.8。但是当我想编译一个 c++ 程序时,例如 world.cpp 我写了 g++ world.cpp 我收到了:

/usr/local/bin/ld: this linker was not configured to use sysroots
collect2: error: ld returned 1 exit status

我是 Linux 新手。我无法用 this 解决我的问题

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com