Comments (5)
VC Version Number & Prebuild
compiler | IDE |
---|---|
vc14 |
Visual Studio 2015 (OpenCV3) |
vc12 |
Visual Studio 2013 (OpenCV2, OpenCV3) |
vc11 |
Visual Studio 2012 (OpenCV2) |
vc10 |
Visual Studio 2010 |
vc9 |
Visual Studio 2008 |
vc8 |
Visual Studio 2005 |
vc7.1 |
Visual Studio .NET 2003 |
vc7 |
Visual Studio .NET 2002 |
vc6 |
Visual Studio 6.0 |
from cmake-templates.
Ubuntu
prerequisites:
sudo apt-get install --assume-yes build-essential cmake git
sudo apt-get install --assume-yes build-essential pkg-config unzip ffmpeg qtbase5-dev python-dev python3-dev python-numpy python3-numpy
sudo apt-get install --assume-yes libopencv-dev libgtk-3-dev libdc1394-22 libdc1394-22-dev libjpeg-dev libpng12-dev libtiff5-dev libjasper-dev
sudo apt-get install --assume-yes libavcodec-dev libavformat-dev libswscale-dev libxine2-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
sudo apt-get install --assume-yes libv4l-dev libtbb-dev libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev
sudo apt-get install --assume-yes libvorbis-dev libxvidcore-dev v4l-utils
CV3
cmake, make.
CV2
cmake, make.
Usage
When you want opencv 2,:
export OpenCV2_DIR=/home/tzx/Downloads/archive/opencv-2.4.13/build
cd ~/git/cmake-templates/opencv
mkdir build && cd build
cmake ..
make
When you want opencv 3:
cd ~/git/cmake-templates/opencv3
mkdir build && cd build
export OpenCV2_DIR=/home/tzx/Downloads/archive/opencv-3.1/build
cmake ..
make
I installed OpenCV 3 and added these lines to my .zshrc
:
export OpenCV2_DIR=/home/tzx/Downloads/archive/opencv-2.4.13/build2
export OpenCV3_DIR=/usr/local/share/OpenCV
Refs
from cmake-templates.
In my case, better not configure CUDA to the WONT_INSTALL opencv 2.
Or you may come across link error.
from cmake-templates.
I just set OpenCV_DIR in CMakeLists.txt where my OpenCVConfig.cmake locates.
from cmake-templates.
@JingeTu Like this: include( $ENV{OpenCV_DIR}/OpenCVConfig.cmake )
?
from cmake-templates.
Related Issues (8)
- HOWTO: Win + CMake + Visual Studio 2010
- cmake project doesn't work HOT 1
- HOWTO: Linux + CMake + CodeBlocks + GNU Make
- HOWTO: Integrate Boost Library to Your Own Project HOT 1
- HOWTO: Use Qt Creator to Open CMakeLists.txt directly (will generate proper project files) HOT 4
- HOWTO: Qt4 & VS2015
- HOWTO: macOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmake-templates.