memoのcmake和pkgconfig】的更多相关文章

FindPkgConfig A pkg-config module for CMake. CMake的pkg-config模块. Finds the pkg-config executable and add the pkg_check_modules() and pkg_search_module() commands. 查找 pkg-config 执行档并且添加 pkg_check_modules() 和 pkg_search_module() 命令. In order to find th…
目录 用于执行CMake的.bat脚本 CMakeLists.txt和.cmake中的代码片段 判断平台:32位还是64位? 判断Visual Studio版本 判断操作系统 判断是Debug还是Release等版本 根据Debug/Release添加不同的库目录 Visual Studio属性与对应CMake实现方法 设定编译选项 SAFESEH报错 用了link_directory()但是链接不到库 Debug库带"d"后缀 在cmake中执行目录创建.拷贝文件等脚本 现代的CMa…
创建 if [ ! -d /opt/dbspace ] then mkdir /opt/dbspace fi if [ -f /opt/dbspace/.memo.db ] then rm /opt/dbspace/.memo.db; fi if [ -f /opt/dbspace/.memo.db-journal ] then rm /opt/dbspace/.memo.db-journal fi sqlite3 /opt/dbspace/.memo.db 'PRAGMA journal_mo…
在之前的文章中介绍了如何直接在Ubuntu中安装Hadoop.但是对于64位的Ubuntu来说,官方给出的Hadoop包是32位的,运行时会得到警告: WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 所以我们最好是自己在Ubuntu中编译Hadoop.先介绍一下我的环境是Ubuntu 1…
在ubuntu16.04下编译安装了py-faster-rcnn. 主要步骤包括:安装cuda/cudnn,换apt源,装开源显卡驱动,装caffe依赖的apt包和python包,下载py-faster-rcnn代码,编译代码.注意一点:不要用cuda安装包自带的显卡驱动,装好cuda后用apt-get装源里的最新驱动,否则很可能黑屏. py-faster-rcnn代码默认使用cudnn3,本文安装的是cudnn5,是通过修改微量py-faster-rcnn所依赖的caffe代码做到的. 本文提…
自己编译hadoop:x64 1.安装依赖包 sudo apt-get install g++ autoconf automake libtool cmake zlib1g-dev pkg-config libssl-dev openssh-server maven openssh-client 2.下载hadoop源码 wget http://mirrors.hust.edu.cn/apache/hadoop/common/hadoop-2.4.0/hadoop-2.4.0-src.tar.g…
This Guide is based on caffe github wiki guide (https://github.com/BVLC/caffe/wiki/Ubuntu-16.04-or-15.10-Installation-Guide ) Some parts of it have been changed to suit my own computer. The following guide includes the how-to instructions for the ins…
1.安装依赖的包: yum install gcc-c++ g++ autoconf automake libtool cmake zlib1g-dev pkg-config libssl-dev 2. 安装protobuf 2.5.0, 首先去google的网站上下载protobuf源代码,解压并切换到root用户执行如下命令: ./configure 如果中间发生错误,说明有些依赖包并为安装, an error occured because dependency is not met th…
[操  作  系  统] Ubuntu 14.04 LTS [OpenCV版本]  3.0.0-beta [Eclipse 版 本] 3.8.1 需要知识: Linux系统shell命令基础 编译原理基础知识,预编译->编译->汇编->链接 make .cmake知识 IDE使用经验 gcc,g++编译器知识 一.编译安装opencv3.0 1. 准备环境 直接编译安装opencv一般是会报错的,有很多依赖工具需要先安装.主要是:cmake, build-essential, pkg-c…
  本文Blog地址:http://www.cnblogs.com/fesh/p/3766656.html   本文对Hadoop-2.2.0源码进行重新编译(64位操作系统下不重新编译会有版本问题),并构建Hadoop-2.2.0集群,生成在Eclipse环境上的Hadoop-2.2.0插件,并通过了测试运行. 1 . 安装maven .libssl-dev .cmake 和JDK 安装本机库http://wiki.apache.org/hadoop/HowToContribute sudo…