在我的kali-linux机器上安装Code::Blocks期间,在我的程序目录上执行./configure命令之后,一切都是正常的,直到我尝试创建我的程序。下面是我的错误消息:
WARNING: 'aclocal-1.13' is missing on your system.
You should only need it if you modified 'acinclude.m4' or 'configure.ac' or m4 files included by 'configure.ac'.
The '
到目前为止,我已经在我的ubuntu系统上安装了所有的交叉编译包,但我遇到了一个问题,需要一些帮助。
Processor : ARM926EJ-S rev 5 (v5l)
BogoMIPS : 184.72
Features : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 5
Cache type : w
我试着用源代码构建工具。我从make开始,并得到以下错误:
configure: error: no acceptable C compiler found in $PATH
所以这意味着我需要安装gcc。但正如你可能猜到的,它需要制作工具。gcc-9.3.0安装说明说:
"GNU版本3.80 (或更高版本)您必须安装GNU来构建GCC。“
在我看来是鸡蛋的问题。我是不是遗漏了什么?
P.S:我知道从发行版的软件包中安装其中一个很容易。但是我想用源代码来构建它们。
我已经安装了windows x64的Cygwin。安装后,我注意到系统可以找到所有的东西。
在控制台中:
C:\Users\Tomás>gcc --version
gcc (GCC) 4.8.3
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
我想在我的poisson_distribution代码中使用C++模板(包括在随机头中),但是无法找到一种没有错误的编译方法。
我的代码块显示了一个错误
此文件需要编译器和库支持\ ISO C++ 2011标准。这种支持目前是实验性的,必须使用-std=c++11或-std=gnu++11编译器选项启用。
我记得在安装代码块时,我只安装了gnu c/c++编译器。有人能解释我如何将我的编译器更新成标准的ISO C++ 2011标准或建议一个替代方案吗?
提前谢谢..。
我在尝试安装pysam。
超负荷后:
python path/to/pysam-master/setup.py build
产生此错误:
unable to execute 'x86_64-conda_cos6-linux-gnu-gcc': No such file or directory
error: command 'x86_64-conda_cos6-linux-gnu-gcc' failed with exit status 1
有类似的线程,但它们似乎都解决了管理员权限的问题,而我没有这个问题。有没有办法安装所需的文件?
免责声明:这个问题来源于我
我安装了gcc-4.7,gcc-4.8,16-4.9
当我试着做:
luarocks install cutorch
我收到一个错误:
In file included from /usr/include/cuda_runtime.h:59:0,
from <command-line>:0:
/usr/include/host_config.h:82:2: error: #error -- unsupported GNU version! gcc 4.9 and up are not supported!
#error -- unsupporte
我刚刚在我的机器上安装了最新版本的cygwin和eclipse露娜。它运转得很好,我可以运行我的项目。然而,当我构建它们时,我收到了我不明白的警告。例如,下面是来自头文件"Sales_item.h“的警告,这是我从一本书"c++ Primer”的网站上得到的:
warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Sales_item() = default;
^
.
根据gcc维基网站- 上的安装说明,
tar xvzf gcc-4.8.1.tar.gz
cd gcc-4.8.1
./contrib/download_prerequisites
cd ..
mkdir objdir
cd objdir
$PWD/../gcc-4.8.1/configure --prefix=$HOME/gcc-4.8.1
make
make install
我试着在我的笔记本电脑上安装了gcc。但是,在输入configure命令后安装时,我得到了下面的错误。
checking build system type... i686-pc-linux-gnu
checking
在安装C编译器本身(gcc gnu)时,我遇到了以下错误。
configure: error: in `/home/gcc-5.3.0':
configure: error: no acceptable C compiler found in $PATH
请注意,我已经尝试了此中列出的解决方案,但没有成功。
操作系统: RHEL6和CentOS
我刚刚在我的笔记本电脑上安装了12.04 LTS,我对此有点陌生。我需要用Fortran 77编写一些程序,我需要一个Fortran 77编译器。我尝试过安装g77,如Ubuntu网站所述,但无法做到。我在终点站输入了以下内容:
sudo apt-get install g77
得到以下信息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package g77 is not available, but is referred to by anot
我需要在C++赋值中使用unique_ptr。
我下载了一个新的编译器TDM-GCC-4.7.1,并安装了它。然后,我将GNU GCC编译器的目录更改为option:Setting->Compiler...->Toolchain Executable中的安装路径。
但它不起作用。当我定义一个unique_ptr时。将出现一个错误:"unique pointer is not a command of 'std' "
使用智能指针的原因是为了提供强大的异常安全性,这也是此任务的要求。我只需要使用C++11的这个新特性...另外,我使用的操作系统是Win
我曾尝试在ubuntu上安装一个需要c++17或更新版本的库的软件包。我安装了gcc-10和g++-10。通过使用以下代码,我还发现默认的c++库是c++14: man g++ | grep "This is the default for C++ code" 但我不知道如何将其更改为其他版本。要运行简单的代码,我们可以使用-std=c++17。但我认为安装一个包需要更改默认库。