Codeblocks的Cygwin编译器不起作用
Codeblocks' Cygwin compiler isn't working
使用带有代码块的Cygwin的默认设置,我得到以下错误:
"NameScanner - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done.
我尝试了他们的自定义安装说明,这给了我这个错误在cstdlib
,一个默认文件
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2cwchar|249|error: `::wcstold' has not been declared|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2cwchar|265|error: `__gnu_cxx::wcstold' has not been declared|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2cstdlib|181|error: `::strtold' has not been declared|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2cstdlib|200|error: `__gnu_cxx::strtold' has not been declared|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|44|error: `_UPPER' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|45|error: `_LOWER' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|46|error: `_ALPHA' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|47|error: `_DIGIT' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|48|error: `_HEX' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|49|error: `_SPACE' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|50|error: `_BLANK' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|50|error: `_PUNCT' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|50|error: `_ALPHA' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|50|error: `_DIGIT' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|51|error: `_PUNCT' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|51|error: `_ALPHA' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|51|error: `_DIGIT' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|52|error: `_CONTROL' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|53|error: `_PUNCT' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|54|error: `_ALPHA' was not declared in this scope|
C:Dev-Cppbin..libgccmingw323.4.2........includec++3.4.2mingw32bitsctype_base.h|54|error: `_DIGIT' was not declared in this scope|
C:...NameScannername.cpp|3|regex: No such file or directory|
C:...NameScannername.cpp||In constructor `Name::Name(std::string)':|
C:...NameScannername.cpp|19|error: `regex_match' undeclared (first use this function)|
C:...NameScannername.cpp|19|error: (Each undeclared identifier is reported only once for each function it appears in.)|
||=== Build finished: 24 errors, 0 warnings ===|
任何的帮助是感激的。
我建议你卸载所有东西,下载这个版本的代码块并安装它。它已经提供了您所需要的一切(即GCC)。
相关文章:
- 我的神经网络不起作用 [XOR 问题]
- 在C++程序中输入的文本文件将不起作用,除非文本被复制和粘贴
- C++映射:具有自定义类的运算符[]不起作用(总是返回0)
- C++为什么尽管我调用了void函数,它却不起作用
- 为什么在保护模式下继承升级不起作用
- 循环在计数器中不起作用
- 编译器上的策略数据结构不起作用
- 安装MinGW后C++编译器不起作用?
- 为什么 std::chrono 在测量循环和编译器优化的并行 OpenMP 的执行时间时不起作用?
- VC++ 编译器 /source-charset:utf-8 不起作用
- 模板化友元声明在 G++ 5.4.0 下不起作用 - 编译器错误或错误代码
- C++编译器在安装了Visual Studios和代码块的cmd中不起作用
- clang编译器在终端Mac OSX上不起作用
- 警告:逗号的左操作数在 G++ 编译器中不起作用
- MingGW C++编译器不起作用
- 添加 -lrt 时跟踪编译器错误"undefined reference"不起作用
- 可视化 为什么这个C++程序在某些编译器中有效,而在其他编译器中不起作用?C ++编译器之间的主要区别是什么
- Codeblocks的Cygwin编译器不起作用
- 当使用英特尔编译器和 -std=c++11 标志时,NVCC 不起作用
- 向量::擦除在类方法中不起作用,但在 main 中工作;没有编译器错误,只有意外的结果