Git Product home page Git Product logo

linux-command's Introduction

Linux-常用命令

shadowsock启用

./root/ssr.sh

编译.so文件

gcc -std=c99 -o lic.so -shared -fPIC LIC.c

查看后台python进程

ps -ef|grep py
jobs

CMAKE

指定package路径

set(OpenCV_ROOT "/usr/local/opencv2.0/build")

set(OpenCV_DIR "/usr/local/opencv3.0/build")

find_package(OpenCV REQUIRED
              NO_MODULE # should be optional, tells CMake to use config mode
              PATHS /usr/local # look here
              NO_DEFAULT_PATH) # and don't look anywhere else

OpenCV_ROOT设定后,find_package()的config模式会在OpenCV_ROOT目录及其子目录下寻找cmake的config文件;

而设定Open_DIR则很傻,不会在子目录中寻找,是config模式特有的缓存变量。

如果定义了DIR,则ROOT不起作用,使用3.0

linux-command's People

Contributors

feifeife avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.