Ubuntu
DoublePower.
一起学习吧
展开
-
安装h5py、matplotlib失败。报错gcc: error trying to exec ‘cc1plus‘: execvp: No such file or directory
问题:安装h5py和matplotlib时,报错:ERROR: Failed building wheel for matplotlibgcc: error trying to exec 'cc1plus': execvp: No such file or directoryerror: command 'gcc' failed with exit status 1解决办法:刚开始从包的角度出发,尝试了各种......原创 2022-08-13 17:03:04 · 675 阅读 · 1 评论 -
在vscode中进行调试
配置文件参照在VS Code中使用PCL库_DoublePower的博客-CSDN博客在CMakeLists.txt中添加:set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")原创 2021-11-24 22:56:13 · 313 阅读 · 0 评论 -
在VS Code中使用PCL库
文件目录----.vscode(这个文件夹在文件中打开是隐藏的,Ctrl+h可显示)--------c_cpp_properties.json(配置编译器环境)--------launch.json(用于调试的配置文件)--------tasks.json----build----src----CMakeLists.txtc_cpp_properties.json:{ // See https://go.microsoft.com/fwlink/?LinkI原创 2021-11-24 22:54:02 · 4659 阅读 · 1 评论 -
Ubuntu16.04卡在登录页面,无法进入桌面
问题描述: 新装的Ubuntu16.04卡在登录页面,键盘无法输入。问题分析: 该问题是由Ubuntu自带的显卡驱动与电脑的显卡不兼容导致的,需要更换显卡驱动程序。下面主要采用的是添加ppa源的方法,相对来说比较安全,也不需要手动禁用nouveau。解决方法: 一、先解决卡在登录页面的问题。需要先对两个地方进行修改。首先在安装Ubuntu选择“install Ubuntu”时先按“e”进入编辑模式,找到开头...原创 2021-08-07 01:55:02 · 4915 阅读 · 0 评论