Created
November 20, 2017 13:25
-
-
Save ajonnet/bfb67d513f869a89c6691709d75c0575 to your computer and use it in GitHub Desktop.
Get Opencv build information
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://www.solarianprogrammer.com/2014/04/21/opencv-beaglebone- black-ubuntu/ | |
// Test to check the OpenCV version | |
// Build on Linux with: | |
// g++ test_1.cpp -o test_1 -lopencv_core | |
#include <opencv2/opencv.hpp> | |
#include <iostream> | |
int main() { | |
std::cout << "Hello, OpenCV version "<< CV_VERSION << std::endl; | |
std::cout << cv::getBuildInformation() << std::endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment