腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
使用
Boost
.Asio将UDP套接字绑定到特定的网络接口
c++
、
sockets
、
boost
、
boost-asio
我使用的是
Boost
版本1.67。让我们在这篇文章中假设我只想从一个特定的设备获取数据,所以我想绑定到一个本地网络接口上。或者我需要阅读sender_endpoint才能知道
Linux
上的这些信息,然后再进行过滤?#include <iostream>#include <
boost
/asio.hpp> using
boost
::asio::ip::udp;int main(int argc,
浏览 110
提问于2019-04-15
得票数 3
2
回答
不能通过bz2支持在
linux
上构建
boost
c++
、
boost
、
bz2
下载
boost
1.66,解压缩,启动引导程序: .我正在
查看
/home/steve/
boost
_1_66_0/stage/lib,但是它们的名字中没有带有bz的文件。在预置的窗口二进制文件上:
boost
_bzip2-vc140-mt-gd-x64-1_66.lib
boost
_b
浏览 1
提问于2018-03-29
得票数 0
回答已采纳
1
回答
如何确定安装conda软件包所需的通道?
python
、
anaconda
、
conda
[version='>=1.57.0,<1.57.1.0a0'] - https://conda.anaconda.org/conda-forge/
linux
-64- https:&
浏览 9
提问于2020-04-28
得票数 2
回答已采纳
1
回答
如何通过预编译后
查看
文件来调试
Boost
?
c++
、
linux
、
boost
() from /usr/lib/x86_64-
linux
-gnu/libstdc++.so.6#9 0x00007ffff70b0456 in,
boost
::unit_test::decorator::c
浏览 0
提问于2018-05-19
得票数 3
回答已采纳
1
回答
Boost
Filesystem在
Linux
上创建目录将"/“替换为"\”
c++
、
linux
、
boost
、
ubuntu-9.10
、
boost-filesystem
在以下示例中使用
Boost
Filesystem的createdirectory (和createdirectory)函数时,"/“将替换为"\”。
boost
::filesystem::path path ("/data/configSet");这段代码生成了一个名为我目前正在使用Ubuntu 9.10在
Linux
上进行测试
浏览 3
提问于2009-12-25
得票数 0
回答已采纳
4
回答
如何从预处理宏中识别平台/编译器?
c++
、
macros
、
cross-platform
、
c-preprocessor
我正在编写一个跨平台的代码,它应该在
linux
,windows,Mac操作系统上编译.在windows上,我必须支持visual和mingw。#ifdef WIN32#endif 但是我如何识别
linux
和mac呢?什么是定义名称(或其他)我应该用?
浏览 3
提问于2011-01-05
得票数 125
回答已采纳
1
回答
在
Linux
上用NDK/clang++和
boost
编译Android
android
、
c++
、
linux
、
boost
svg++是一个只使用
boost
部分的标头库,它提取的这些部分也只是头文件。它不需要与任何
boost
预构建的二进制文件链接。 我已经为
Linux
和Windows构建了我的库。问题:既然我只使用
boost
头,那么我应该能够使用NDK和本地
Linux
安装
boost
来从
Linux
到Android进行本地编译吗?当然,我已经尝试过这一点,但是clang++在所有意图和目的上似乎都不需要
查看
/usr/include。:10:10: fatal
浏览 12
提问于2022-07-10
得票数 0
3
回答
boost
lib构建配置变体
c++
、
boost
、
linker
我是
boost
的新手-您能告诉我
boost
库的以下变体有什么不同吗?在这种情况下,我需要链接到哪一个?
浏览 44
提问于2009-10-30
得票数 18
回答已采纳
1
回答
没有通过CMake找到
Boost
,CMake本身也找到了
boost
、
cmake
、
qt-creator
-mt-d;
boost
_filesystem-mt-d-1_55;
boost
_filesystem-mt-d;
boost
_filesystem-mt;
boost
_filesystem-- [ /usr/share/cmake
b
浏览 0
提问于2015-05-20
得票数 5
回答已采纳
1
回答
CMake找到错误的
boost
版本
boost
、
makefile
、
cmake
我运行find_package(
Boost
)和CMake输出1.53。但是我已经通过包管理器安装了1.62。不幸的是,我需要> 1.58。见截图。我使用Debian 9,稳定,64位。
浏览 0
提问于2019-06-28
得票数 1
回答已采纳
1
回答
为什么中断线程的代码会泄漏?
c++
、
multithreading
、
boost
、
interrupt
这是一个非常简单的例子,请稍等片刻……struct foo { void do_something() { std::cout << "foo\n"; } try {
boost
::this_thread::sleep(
boost
::posix_time
浏览 2
提问于2017-10-05
得票数 2
1
回答
通过加权相同名称的特定字段来调整Lucene搜索结果分数
java
、
scala
、
lucene
, Field.Store.YES, Field.Index.ANALYZED) val field0201 = new Field("contents", "This is a test:
Linux
, Field.Store.YES, Field.Index.ANALYZED)
浏览 1
提问于2011-04-14
得票数 4
回答已采纳
1
回答
CMake Find.
Boost
未考虑配置
c++
、
boost
、
compilation
、
cmake
当尝试用
boost
编译时,windows下一切正常,但当我尝试用
linux
编译时,FindBoost似乎没有考虑到用SET命令给出的配置。在执行以下操作时,set(
Boost
_USE_MULTITHREADED OFF) if (
Boost
_FOUND) MESSAGE(${
Boost
_SY
浏览 4
提问于2012-12-14
得票数 3
回答已采纳
1
回答
为什么在程序终止时在
boost
日志中崩溃
c++
、
boost
我有我的应用程序使用
boost
记录器。当我使用killall myApplication终止我的程序时。生成了核心文件。然后,我使用gdb并
查看
跟踪。我也尝试了一些相关的修复方法,但没有用。work/.build/x86_64-conda_cos6-
linux
-gnu/src/gcc/libgcc/unwind.inc:241#10
浏览 61
提问于2021-01-01
得票数 0
回答已采纳
1
回答
qmake不向makefile添加.pro文件中的库
c++
、
linux
、
qt
、
opencv
、
qmake
为此,我需要
boost
库。lib64 -lQt5MultimediaWidgets-lQt5
浏览 0
提问于2013-12-10
得票数 1
回答已采纳
1
回答
默认情况下,Debian压缩中是否安装了
Boost
头库?
boost
、
debian
我经常在我的项目中使用
Boost
库。在OS和Windows上,我必须在使用
Boost
头库之前手动安装它们。然而,关于
Linux
,
Boost
网站的头版 流行的
Linux
和Unix发行版(如Fedora、Debian和NetBSD )包括预构建的
Boost
包。我已经
查看
了/usr/include,它似乎没有任何
Boost
目录。我在谷歌上搜索过相关的讨论,但没有得到明确的答案。其次,如果我需要手动放置
boost
标头(例
浏览 2
提问于2012-10-08
得票数 1
回答已采纳
1
回答
安装了较新版本的
Boost
,现在系统混乱了。
boost
libboost-all-dev然后,我尝试
查看
-> /etc/alternatives/i386-
linux
-gnu_egl_conf lrwxrwxrwx 1 root root 40 Oct 24 2017 i386-
linux
-gnu_GL.conf-> /etc/alternatives/
浏览 0
提问于2018-07-21
得票数 3
1
回答
找不到
Boost
库
c++
、
mongodb
、
boost
、
arm
、
scons
/libpath__home_gwue_
boost
1_54_stage_lib/use-system-
boost
-Isrc -Ibuild/
linux
2/cc__home_gwue_armgcc_lin_bin_arm-xilinx-
linux
-gnueabi-gcc-I/home/gwue/
boost
1_54 -I/home/gwue/
boost
1_54/stage/
浏览 2
提问于2014-02-25
得票数 0
回答已采纳
1
回答
对
Boost
timer::auto_cpu_timer的引用未定义
c++
、
boost
、
cmake
、
static-libraries
我添加了-Q -v -Wl,-t部件,以
查看
链接器正在尝试执行的操作。/i386-
linux
-gnu/crt1.o/usr/lib/gcc/i686-
linux
-gnu/4.6/crtbegin.o &
浏览 1
提问于2013-02-04
得票数 1
4
回答
Makefile:使ifstatement工作时出现问题=(
c++
、
makefile
MAC_
BOOST
_PATH = -L/opt/local/libDEFAULT_PATH = -L/usr/local/lib
BOOST
_PATH = MAC_
BOOST
_PATH @echo Compiling for Mac
浏览 3
提问于2011-04-28
得票数 3
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Linux查看日志
Linux下查看CPU信息
Linux 查看 SELinux 的状态
linux 基本日志查看命令
Linux查看文件类型命令实验
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券