Created
April 12, 2016 14:24
-
-
Save zrwang/f50d66fe8ccdbea0d187b33a750b770e to your computer and use it in GitHub Desktop.
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
#include <ros/ros.h> | |
#include <iostream> | |
#include "opencv2/core/version.hpp" | |
int main(int argc, char ** argv) | |
{ | |
ros::init(argc, argv, "opencv"); | |
std::cout << "OpenCV version: " | |
<< CV_MAJOR_VERSION << "." | |
<< CV_MINOR_VERSION << "." | |
<< CV_SUBMINOR_VERSION | |
<< std::endl; | |
return 0; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment