You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
464 B
18 lines
464 B
|
|
// License: Apache 2.0. See LICENSE file in root directory.
|
|
// Copyright(c) 2017 Intel Corporation. All Rights Reserved.
|
|
|
|
#include <librealsense2/rs.hpp>
|
|
#include <librealsense2/hpp/rs_internal.hpp>
|
|
#include <iostream>
|
|
|
|
int main()
|
|
{
|
|
rs2::context ctx;
|
|
|
|
std::cout << "hello from librealsense - " << RS2_API_VERSION_STR << std::endl;
|
|
std::cout << "You have " << ctx.query_devices().size() << " RealSense devices connected" << std::endl;
|
|
|
|
return 0;
|
|
}
|