cmake
yang&&yang
这个作者很懒,什么都没留下…
展开
-
cmake使用boost库
cmake_minimum_required(VERSION 2.8.3)project(boost_test)find_package(Boost REQUIRED COMPONENTS system thread)include_directories(${Boost_INCLUDE_DIRS})add_executable(boost_test boost_test.cpp)tar...原创 2018-07-10 23:14:53 · 14366 阅读 · 0 评论 -
ubuntu源码安装opencv+opencv_contrib
OpenCV源码下载OpenCV及对应版本的opencv_contribhttps://github.com/opencv 安装cmake-gui$ sudo apt-get install cmake-qt-gui 安装依赖# Build tools:sudo apt-get install -y build-essential cmake# GUI (if ...原创 2018-12-26 10:53:05 · 383 阅读 · 0 评论 -
cmake使用指定版本opencv
方法1:让cmake找到opencv的OpenCVConfig.cmake文件,比如set(OpenCV_DIR "/usr/local/opencv3.4.2/share/OpenCV") #OpenCVConfig.cmake所在的文件目录find_package(OpenCV REQUIRED)include_directories(${OpenCV_INCLUDE_DIRS})...原创 2019-03-04 15:25:37 · 6044 阅读 · 0 评论 -
vscode搭建python和c++开发环境
需要安装的软件注意:安装过程中需要将安装目录添加到环境变量git:用于将代码或配置托管到github,更改vscode终端。cmake+vs2017:用于编译c++程序,或使用其他编译方式,例如MinGW-W64,gcc等。anaconda:用于创建python环境vscode:编写程序,可以选择安装汉化插件 Chinese (Simplified) Language Pack...原创 2019-04-12 09:01:12 · 5899 阅读 · 0 评论