logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

undefined reference to `WinMain‘

VS code首次运行报错

文章图片
#vscode
const使用实例

#include<iostream>using namespace std;class Nick {public:int getA() {//m_a = 63;return m_a;}private:int m_a = 37;};void func(const Nick & nick) {nick.getA();cout << "此时不可以使用const" <

文章图片
#c++
opencv_contrib调用出现无法打开包括文件: “opencv2/xfeatures2d/nonfree.hpp”

报错位置:#include <opencv2/xfeatures2d/nonfree.hpp>修改为:(按自己目录来)#include<D:\\opencv3.4.1_contrib_x64\include\opencv2\xfeatures2d\nonfree.hpp>

文章图片
#c++
Image size exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.

DecompressionBombWarning: Image size (123302400 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.

文章图片
#python#图像处理
CMake Warning at cmake/OpenCVGenSetupVars.cmake:54 (message):

在利用cmake编译Opencv源码时,编译最后出现一个警告提示:CMake Warning at cmake/OpenCVGenSetupVars.cmake:54 (message):CONFIGURATION IS NOT SUPPORTED: validate setupvars script in installdirectoryCall Stack (most recent call

文章图片
#c++#opencv
type object ‘Image‘ has no attribute ‘fromarray

导入模块的时候需要注意:不同的两个module中可能存在相同的type,此时就会报错慎用import *

文章图片
#python
Win10+Ubuntu18.04桌面版双系统安装教程

相关配置/环境固态硬盘SSD:500GBIOS模式:传统Legacywin10操作系统Ubuntu启动U盘ps:bios模式查看方法准备工作在win10中压缩卷固态压出80GB禁用快速启动“快速启动”会影响Grub开机引导过程,可能出现无法载入Ubuntu的状况Win+i快捷键打开设置,选择第一项“系统”关闭安全启动安全启动阻止了Windows和其他操作系统的双启动进bios然后找到 Secure

vscode无法运行input输入

vscode运行 python文件input 输入

文章图片
#vscode
    共 23 条
  • 1
  • 2
  • 3
  • 请选择