腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
自动完成-c-头。符号的变量值是无效的
、
、
、
ac-config-default) ;|auto-complete c/
c+
ac-sources 'ac-source-c-headers)) (add-hoo
浏览 4
提问于2014-06-15
得票数 1
回答已采纳
2
回答
无法解析cc1plus:错误:无法识别命令行选项"-std=c++11“
、
、
、
/include/
c++
/4.4.7/iosfwd:41, from /usr/lib/
gc
浏览 3
提问于2015-08-19
得票数 0
1
回答
std:计数错误
、
/include/
c++
/4.7.0/iosfwd:42:0, from /usr/lib/
gcc
浏览 1
提问于2012-05-01
得票数 2
回答已采纳
1
回答
clang使用了错误的系统包含目录
、
、
、
、
/include/
c++
/4.8.2/x86_64-redhat-
linux
/opt/rh/devtoolset-2/root/usr/lib/
gcc
/x86_64-redhat-
linux
/4.8.2/include/
c++
/4.4.7 -internal-isystem /usr/lib/
gcc</em
浏览 4
提问于2014-12-05
得票数 7
2
回答
GCC
4.1.2 stl_vector.h编译错误
、
、
/include/
c++
/4.1.2/bits/stl_vector.h:157: error: expected type-specifier/usr/lib&
浏览 4
提问于2011-10-14
得票数 0
2
回答
g++警告:永远不会执行
、
、
/include/
c++
/4.1.2/bits/allocator.h:97: warning: will never be executed/usr/lib
浏览 6
提问于2013-01-30
得票数 6
回答已采纳
1
回答
cpp预处理器如何从子目录中提取头文件
、
、
我想以一个免责声明来开始我的问题,我是
c++
的初学者。ignoring nonexistent directory "/usr/lib/
gcc
/x86_64-
linux
-gnu/4.9/../../../../lib/
gcc
/x86_64-
linux
-gnu/4.9/include
浏览 1
提问于2015-08-01
得票数 1
2
回答
找出
GCC
包含路径是什么
、
、
、
我正在尝试以编程方式在
Linux
上找到#include路径,据我所知,这实际上意味着找到
GCC
所认为的路径。(这是真的吗?( Clang是如何做到的?)根据的说法,一些组件涉及CPU体系结构和
GCC
版本;后者似乎特别棘手;我认为它可以通过运行
gcc
--version并解析输出(或
gcc
-v)来获得,但往好了说,这似乎不优雅,往坏了说,它似乎很脆弱。假设一个人的程序是用
GCC
编译的,在代码中做这件事可能是另一种选择,但这需要取决于这一假设。 推荐的方法是什么?
浏览 1
提问于2013-07-30
得票数 90
回答已采纳
1
回答
编译Rcpp时出错
、
、
、
、
/include/
c++
/4.4.7/bits/stl_tree.h:63, from /usr/lib/
gcc
浏览 6
提问于2015-10-16
得票数 0
回答已采纳
4
回答
向量的push_back错误背后的原因是什么
/include/
c++
/4.4.6/x86_64-redhat-
linux
/bits/c++allocator.h:34, from /usr/lib/<e
浏览 8
提问于2013-01-22
得票数 5
回答已采纳
4
回答
clang和__float128错误/错误
、
、
/include/
c++
/4.7/iostream:39:In file included from /usr/lib/
gcc
浏览 0
提问于2012-11-23
得票数 15
回答已采纳
1
回答
我的自建
gcc
12是如何知道包含
gcc
12
c++
头文件的,而不是使用系统路径包含文件?
、
、
我从源代码中构建了一个
GCC
-12.1.0,并编写了一个非常简单的cpp程序,并使用/path_to_
gcc
12_bin/g++编译了它。然后运行gdb,按下s,然后显示程序包含较新版本的
gcc
12
c++
头文件。P.S.将整个目录移动到其他地方,
浏览 15
提问于2022-06-26
得票数 0
回答已采纳
2
回答
更新
gcc
后的bazel“未声明的包含”错误
、
-7.2/include/
c++
/7.2.0/cstddef' '/home/haining/
gcc
-7.2/include/
浏览 16
提问于2018-01-09
得票数 1
回答已采纳
1
回答
下载红帽版本5.4的g++
我的
Linux
机器有以下定义:内核版本2.6.18例如: -bash: g++: command not found yum install我有
gcc
的命令,但这只是C程序,而不是
C++
。[root@
linux
/]# which
gcc
/usr/bi
浏览 0
提问于2011-02-15
得票数 1
回答已采纳
1
回答
链接器错误与链接器无关
、
、
、
我有一个链接器错误的非常具体的例子:
GCC
C编译器4 arm-
linux</
浏览 9
提问于2018-01-13
得票数 0
回答已采纳
2
回答
我怎么知道Ubuntu11.04中
gcc
、g++/
c++
的“默认包含目录”、“默认链接目录”和“默认链接库”?
、
对于下列3种编译案例:在每种情况下,我如何知道“默认包含目录”、“默认链接目录”和“默认链接库”?我在32位Ubuntu11.04环境中使用
gcc
4.5.2。 对于案例(1),
gcc
是在使用标准C库还是GNU C库?这两个C库之间有区别吗?他们是在使
浏览 4
提问于2012-01-19
得票数 12
回答已采纳
1
回答
需要更改clang的包含路径
、
、
、
[ ~ ] locate move.h/usr/include/
c++
/4.4.4/bits/move.h /usr/local/include/
c++
/4.7.1
浏览 3
提问于2014-01-26
得票数 10
2
回答
获取错误'char16_t和char32_t未声明‘
、
、
、
、
我正在
Linux
上用
C++
开发一个程序。
gcc
的版本是4.5.1 20100924。我想在我的程序中使用std::atomic_int。/include/
c++
/4.5.1/bits/atomic_base.h:87:0, from /usr/lib/
gcc
/x86_64-redhat-
linux
/4.5.1/lib/
gcc</
浏览 0
提问于2012-07-31
得票数 8
回答已采纳
5
回答
在Clang++中定位iostream :致命错误:“iostream”文件未找到
、
、
、
/lib/
gcc
/x86_64-
linux
-gnu/8/../../../../include/
c++
/x86_64-
linux
-gnu" ignoring nonexistent directory "/usr/bin/../lib/
gcc
/x86_64-
linux
-gnu/8/
浏览 1
提问于2019-02-04
得票数 14
回答已采纳
1
回答
16.04 clang:
gcc
工具链选择不当
、
、
、
在第一个系统中,clang成功地编译了
C++
代码;通过添加-v,基本的输出部分是: /usr/bin/../lib
浏览 0
提问于2017-03-29
得票数 2
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Android C++系列:Linux信号(三)
Linux c编程起步,掌握gcc的基本用法
Android C++系列:Linux线程(一)概念
你真的了解Linux下gcc编译器吗?
Android C++系列:Linux文件IO操作(一)
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券