public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int i = scan.nextInt();
scan.nextLine();
double d = scan.nextDouble();
scan.nextLine();
String s = scan.nextLine();
System.out.println("String: " + s);
System.out.println("Double: " + d);
System.out.println("Int: " + i);
}
Спасибо Цываресу за помощь!
set ( OpenCV_DIR "/home/xxxxx/opencv-3.0.0/build/")
до
find_package( OpenCV 3.0 REQUIRED)
в cmakelists.txt
Спасибо!