unanancyowen / realsense2sample Goto Github PK
View Code? Open in Web Editor NEWRealSense SDK 2 Sample Program
License: MIT License
RealSense SDK 2 Sample Program
License: MIT License
I can't compile any of the examples because I get undefined references, e.g.
GNU-amd64-Linux/realsense.o: In function
RealSense::show()': realsense.cpp:(.text+0x20): undefined reference to
cv::String::allocate(unsigned int)'
realsense.cpp:(.text+0x6c): undefined reference tocv::imshow(cv::String const&, cv::_InputArray const&)' realsense.cpp:(.text+0x74): undefined reference to
cv::String::deallocate()'
realsense.cpp:(.text+0x88): undefined reference tocv::String::allocate(unsigned int)' realsense.cpp:(.text+0xc8): undefined reference to
cv::imshow(cv::String const&, cv::_InputArray const&)'
realsense.cpp:(.text+0xd0): undefined reference tocv::String::deallocate()' realsense.cpp:(.text+0xe0): undefined reference to
cv::String::deallocate()'
realsense.cpp:(.text+0xec): undefined reference tocv::String::deallocate()' GNU-amd64-Linux/realsense.o: In function
RealSense::update()':
realsense.cpp:(.text+0x120): undefined reference tors2_pipeline_wait_for_frames' realsense.cpp:(.text+0x148): undefined reference to
rs2_frame_add_ref'
I've tried netbeans and eclipse and still get the same.
Hi,
I am trying to compile the Point Cloud in Visual Studio 2015, during the compilation received an error saying that "Cannot open include file: 'opencv2/viz.hpp': No such file or directory."
Do I need to install the VTK inorder for this to work ?
Advice needed, thank you.
Hi,
Thank you so much for the examples! I was trying to compile your code, but got some error messages in CMake:
CMake Error at C:/IntelCam/librealsense-2.18.0/build/realsense2Config.cmake:11 (message):
File or directory C://include referenced by variable realsense2_INCLUDE_DIR
does not exist !
Call Stack (most recent call first):
C:/IntelCam/librealsense-2.18.0/build/realsense2Config.cmake:33 (set_and_check)
CMakeLists.txt:18 (find_package)
The realsense2Config.cmake
file under the librealsenses
folder looks like this:
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
macro(set_and_check _var _file)
set(${_var} "${_file}")
if(NOT EXISTS "${_file}")
message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
endif()
endmacro()
Actually I know little about the syntax in .cmake
files, I just wonder whether it could be an issue related to the .cmake
file in librealsense?
Hi
Thanks for the wonderful code of organizing the sample programs for RealSense SDK 2.0
Is there any plan for adding the cmake file to find realsense2 similar to FindKinectSDK2.cmake in your Kinect2Sample program?
Currently I couldn't compile the sample code as realsense2 is not found but a short workaround is to refer to the CMakeLists.txt example in https://github.com/zivsha/librealsense/tree/getting_started_example/examples/getting-started and
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.