摘要:
common.h #ifndef COMMON_H #define COMMON_H #include "google/protobuf/message.h" #include "nlohmann/json.hpp" #include "google/protobuf/util/json_util.
閱讀全文
摘要:
https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files Introduction Increasingly, Linux distributions are adoptin
閱讀全文
摘要:
https://modern-cmake-cn.github.io/Modern-CMake-zh_CN/chapters/intro/newcmake.html CMake 修改記錄的簡化版本,這里僅挑了作者認為的重點。這里,每個版本的名稱都由作者自行命名,不要太在意。 CMake 3.0:接口庫
閱讀全文
摘要:
use std::sync::{Arc, Mutex}; use std::thread; fn main() { // 創建一個布爾變量并用 Arc 和 Mutex 包裝,使其可在多個線程間共享和修改 let shared_bool = Arc::new(Mutex::new(false)); /
閱讀全文
摘要:
git clone https://github.com/ApolloAuto/apollo cd docker/scripts sudo ./dev_start.sh -c aarch64
閱讀全文
摘要:
執行 vcpkg integrate install 命令后,會在 Windows 上的 %LOCALAPPDATA%\vcpkg 或 %APPDATA%\Local\vcpkg 產生一些配置。 需要刪除這些配置。
閱讀全文
摘要:
use env_logger::Env; use image::RgbaImage; use log::{info, LevelFilter}; use nalgebra as na; use std::env; use std::fs::File; use std::path::Path; use
閱讀全文
摘要:
在 Ubuntu 或其他類似的 Linux 系統中,非 root 用戶在綁定低于 1024 的端口時會失敗,這是出于安全考慮的一種行為。為了允許非 root 用戶綁定低端口,您可以考慮以下幾種方法: 1. 使用 CAP_NET_BIND_SERVICE 能力 您可以使用 setcap 命令,為您的可
閱讀全文
摘要:
$ xmake f --policies=run.autobuild $ xmake run https://xmake.io/mirror/guide/build_policies.html
閱讀全文
摘要:
在 .zshrc中加入: export QT_DEBUG_PLUGINS=1 然后再啟動,發現報錯: library: "/home/itfanr/Desktop/sdb/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" cannot l
閱讀全文