-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to compile C++ examples #7671
Comments
Hi @kylelscott Could you check whether built versions of the examples and tools are already in the /usr/local/bin folder if you built from source code, or in the /usr/bin folder if you built from packages? |
When you compile are you using -lrealsense2 or -glut? You might need more arguments in your command line. I had the same issue and adding -lrealsense2 fixed it. So my command line to compile looked like this: |
Thanks very much @juliahambright for your advice in this case! |
Hi @kylelscott Do you still require assistance with this case, please? Thanks! |
Hello,
I apoligize I haven’t been able to reply. I no longer need assistance with
this issue. Thank you for your help
…On Tue, Nov 10, 2020 at 3:16 AM MartyG-RealSense ***@***.***> wrote:
Hi @kylelscott <https://github.com/kylelscott> Do you still require
assistance with this case, please? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7671 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANASLGMF3KO5HAKZVB7OVWTSPEHIBANCNFSM4TDKSQPA>
.
|
Thanks very much for the update! |
Hello,
Thank you for tending to my issue. I am working off of a NVIDIA Jetson Nano and I was able to install librealsense and build pyrealsesne2 from source. I have the examples from the python wrapper using pyrealsense working well, however, when I try to compile the c++ examples in the examples directory I get some errors I do not understand. I usually develop in python, so I am a little new to compiling and running c++ files in linux terminal; but when I use "g++ foo.cpp" I get some debug information I do not understand how to solve. Can anyone help me, I was not able to find a similar issue already opened? The librealsense.so library files are also located in my /usr/local/lib directory, so I am not sure what I am missing. Thank you. Below is an example when I try to compile the rs-measure.cpp
e$ g++ rs-measure.cpp /tmp/ccUwrpTI.o: In function
set_viewport(rect const&)':rs-measure.cpp:(.text+0x1a4c): undefined reference to
glViewport' rs-measure.cpp:(.text+0x1a50): undefined reference to
glLoadIdentity'rs-measure.cpp:(.text+0x1a58): undefined reference to
glMatrixMode' rs-measure.cpp:(.text+0x1a88): undefined reference to
glOrtho'/tmp/ccUwrpTI.o: In function
draw_pointcloud(float, float, glfw_state&, rs2::points&)': rs-measure.cpp:(.text+0x1ae8): undefined reference to
glLoadIdentity'rs-measure.cpp:(.text+0x1af0): undefined reference to
glPushAttrib' rs-measure.cpp:(.text+0x1b1c): undefined reference to
glClearColor'rs-measure.cpp:(.text+0x1b24): undefined reference to
glClear' rs-measure.cpp:(.text+0x1b2c): undefined reference to
glMatrixMode'rs-measure.cpp:(.text+0x1b30): undefined reference to
glPushMatrix' rs-measure.cpp:(.text+0x1b64): undefined reference to
gluPerspective'rs-measure.cpp:(.text+0x1b6c): undefined reference to
glMatrixMode' rs-measure.cpp:(.text+0x1b70): undefined reference to
glPushMatrix'rs-measure.cpp:(.text+0x1b98): undefined reference to
gluLookAt' rs-measure.cpp:(.text+0x1bc8): undefined reference to
glTranslatef'rs-measure.cpp:(.text+0x1be0): undefined reference to
glRotated' rs-measure.cpp:(.text+0x1bf8): undefined reference to
glRotated'rs-measure.cpp:(.text+0x1c08): undefined reference to
glTranslatef' rs-measure.cpp:(.text+0x1c1c): undefined reference to
glPointSize'rs-measure.cpp:(.text+0x1c24): undefined reference to
glEnable' rs-measure.cpp:(.text+0x1c2c): undefined reference to
glEnable'rs-measure.cpp:(.text+0x1c44): undefined reference to
glBindTexture' rs-measure.cpp:(.text+0x1c98): undefined reference to
glTexParameterfv'rs-measure.cpp:(.text+0x1ca8): undefined reference to
glTexParameteri' rs-measure.cpp:(.text+0x1cb8): undefined reference to
glTexParameteri'rs-measure.cpp:(.text+0x1cc0): undefined reference to
glBegin' rs-measure.cpp:(.text+0x1d50): undefined reference to
glVertex3fv'rs-measure.cpp:(.text+0x1d68): undefined reference to
glTexCoord2fv' rs-measure.cpp:(.text+0x1d7c): undefined reference to
glEnd'rs-measure.cpp:(.text+0x1d80): undefined reference to
glPopMatrix' rs-measure.cpp:(.text+0x1d88): undefined reference to
glMatrixMode'rs-measure.cpp:(.text+0x1d8c): undefined reference to
glPopMatrix' rs-measure.cpp:(.text+0x1d90): undefined reference to
glPopAttrib'/tmp/ccUwrpTI.o: In function
draw_pointcloud_wrt_world(float, float, glfw_state&, rs2::points&, rs2_pose&, float*, std::vector<rs2_vector, std::allocator<rs2_vector> >&)': rs-measure.cpp:(.text+0x20e8): undefined reference to
glLoadIdentity'rs-measure.cpp:(.text+0x20f0): undefined reference to
glPushAttrib' rs-measure.cpp:(.text+0x211c): undefined reference to
glClearColor'rs-measure.cpp:(.text+0x2124): undefined reference to
glClear' rs-measure.cpp:(.text+0x212c): undefined reference to
glMatrixMode'rs-measure.cpp:(.text+0x2130): undefined reference to
glPushMatrix' rs-measure.cpp:(.text+0x2164): undefined reference to
gluPerspective'rs-measure.cpp:(.text+0x216c): undefined reference to
glMatrixMode' rs-measure.cpp:(.text+0x2170): undefined reference to
glPushMatrix'rs-measure.cpp:(.text+0x21a0): undefined reference to
glTranslatef' rs-measure.cpp:(.text+0x21b8): undefined reference to
glRotated'rs-measure.cpp:(.text+0x21d0): undefined reference to
glRotated' rs-measure.cpp:(.text+0x21e0): undefined reference to
glTranslatef'rs-measure.cpp:(.text+0x21e8): undefined reference to
glEnable' rs-measure.cpp:(.text+0x21f0): undefined reference to
glLineWidth'rs-measure.cpp:(.text+0x21f8): undefined reference to
glBegin' rs-measure.cpp:(.text+0x224c): undefined reference to
glColor3f'rs-measure.cpp:(.text+0x2268): undefined reference to
glVertex3f' rs-measure.cpp:(.text+0x2278): undefined reference to
glEnd'rs-measure.cpp:(.text+0x2280): undefined reference to
glLineWidth' rs-measure.cpp:(.text+0x2290): undefined reference to
glColor3f'rs-measure.cpp:(.text+0x22cc): undefined reference to
glMultMatrixf' rs-measure.cpp:(.text+0x22d4): undefined reference to
glMultMatrixf'rs-measure.cpp:(.text+0x22e8): undefined reference to
glPointSize' rs-measure.cpp:(.text+0x22f0): undefined reference to
glEnable'rs-measure.cpp:(.text+0x22f8): undefined reference to
glEnable' rs-measure.cpp:(.text+0x2310): undefined reference to
glBindTexture'rs-measure.cpp:(.text+0x2364): undefined reference to
glTexParameterfv' rs-measure.cpp:(.text+0x2374): undefined reference to
glTexParameteri'rs-measure.cpp:(.text+0x2384): undefined reference to
glTexParameteri' rs-measure.cpp:(.text+0x238c): undefined reference to
glBegin'rs-measure.cpp:(.text+0x241c): undefined reference to
glVertex3fv' rs-measure.cpp:(.text+0x2434): undefined reference to
glTexCoord2fv'rs-measure.cpp:(.text+0x2448): undefined reference to
glEnd' rs-measure.cpp:(.text+0x244c): undefined reference to
glPopMatrix'rs-measure.cpp:(.text+0x2454): undefined reference to
glMatrixMode' rs-measure.cpp:(.text+0x2458): undefined reference to
glPopMatrix'rs-measure.cpp:(.text+0x245c): undefined reference to
glPopAttrib' /tmp/ccUwrpTI.o: In function
main':rs-measure.cpp:(.text+0x2e98): undefined reference to
glEnable' rs-measure.cpp:(.text+0x2ea4): undefined reference to
glBlendFunc'rs-measure.cpp:(.text+0x2f4c): undefined reference to
glColor3f' rs-measure.cpp:(.text+0x2f54): undefined reference to
glDisable'/tmp/ccUwrpTI.o: In function
draw_line(float, float, float, float, int)': rs-measure.cpp:(.text+0x3538): undefined reference to
glPushAttrib'rs-measure.cpp:(.text+0x3544): undefined reference to
glLineStipple' rs-measure.cpp:(.text+0x354c): undefined reference to
glEnable'rs-measure.cpp:(.text+0x3558): undefined reference to
glLineWidth' rs-measure.cpp:(.text+0x3560): undefined reference to
glBegin'rs-measure.cpp:(.text+0x356c): undefined reference to
glVertex2f' rs-measure.cpp:(.text+0x3578): undefined reference to
glVertex2f'rs-measure.cpp:(.text+0x357c): undefined reference to
glEnd' rs-measure.cpp:(.text+0x3580): undefined reference to
glPopAttrib'/tmp/ccUwrpTI.o: In function
render_simple_distance(rs2::depth_frame const&, state const&, window const&)': rs-measure.cpp:(.text+0x35e8): undefined reference to
glColor4f'rs-measure.cpp:(.text+0x366c): undefined reference to
glColor4f' rs-measure.cpp:(.text+0x36e8): undefined reference to
glColor4f'rs-measure.cpp:(.text+0x38e8): undefined reference to
glColor4f' rs-measure.cpp:(.text+0x38f0): undefined reference to
glBegin'rs-measure.cpp:(.text+0x3914): undefined reference to
glVertex2f' rs-measure.cpp:(.text+0x3944): undefined reference to
glVertex2f'rs-measure.cpp:(.text+0x3974): undefined reference to
glVertex2f' rs-measure.cpp:(.text+0x39a4): undefined reference to
glVertex2f'rs-measure.cpp:(.text+0x39c8): undefined reference to
glVertex2f' /tmp/ccUwrpTI.o:rs-measure.cpp:(.text+0x39ec): more undefined references to
glVertex2f' follow/tmp/ccUwrpTI.o: In function
render_simple_distance(rs2::depth_frame const&, state const&, window const&)': rs-measure.cpp:(.text+0x39f0): undefined reference to
glEnd'rs-measure.cpp:(.text+0x3a04): undefined reference to
glColor4f' /tmp/ccUwrpTI.o: In function
std::thread::threadmain::{lambda()#1}(main::{lambda()#1}&&)':rs-measure.cpp:(.text+0x4134): undefined reference to
pthread_create' rs-measure.cpp:(.text+0x4138): undefined reference to
pthread_create'/tmp/ccUwrpTI.o: In function
rs2::error::error(rs2_error*)': rs-measure.cpp:(.text._ZN3rs25errorC2EP9rs2_error[_ZN3rs25errorC5EP9rs2_error]+0x34): undefined reference to
rs2_get_error_message'rs-measure.cpp:(.text._ZN3rs25errorC2EP9rs2_error[_ZN3rs25errorC5EP9rs2_error]+0x78): undefined reference to
rs2_get_failed_function' rs-measure.cpp:(.text._ZN3rs25errorC2EP9rs2_error[_ZN3rs25errorC5EP9rs2_error]+0x8c): undefined reference to
rs2_get_failed_function'rs-measure.cpp:(.text._ZN3rs25errorC2EP9rs2_error[_ZN3rs25errorC5EP9rs2_error]+0xf4): undefined reference to
rs2_get_failed_args' rs-measure.cpp:(.text._ZN3rs25errorC2EP9rs2_error[_ZN3rs25errorC5EP9rs2_error]+0x108): undefined reference to
rs2_get_failed_args'rs-measure.cpp:(.text._ZN3rs25errorC2EP9rs2_error[_ZN3rs25errorC5EP9rs2_error]+0x168): undefined reference to
rs2_get_librealsense_exception_type' rs-measure.cpp:(.text._ZN3rs25errorC2EP9rs2_error[_ZN3rs25errorC5EP9rs2_error]+0x17c): undefined reference to
rs2_free_error'/tmp/ccUwrpTI.o: In function
rs2::error::handle(rs2_error*)': rs-measure.cpp:(.text._ZN3rs25error6handleEP9rs2_error[_ZN3rs25error6handleEP9rs2_error]+0x20): undefined reference to
rs2_get_librealsense_exception_type'/tmp/ccUwrpTI.o: In function
rs2::stream_profile::stream_name[abi:cxx11]() const': rs-measure.cpp:(.text._ZNK3rs214stream_profile11stream_nameB5cxx11Ev[_ZNK3rs214stream_profile11stream_nameB5cxx11Ev]+0x48): undefined reference to
rs2_stream_to_string'/tmp/ccUwrpTI.o: In function
rs2::stream_profile::stream_profile(rs2_stream_profile const*)': rs-measure.cpp:(.text._ZN3rs214stream_profileC2EPK18rs2_stream_profile[_ZN3rs214stream_profileC5EPK18rs2_stream_profile]+0xb4): undefined reference to
rs2_get_stream_profile_data'rs-measure.cpp:(.text._ZN3rs214stream_profileC2EPK18rs2_stream_profile[_ZN3rs214stream_profileC5EPK18rs2_stream_profile]+0xcc): undefined reference to
rs2_is_stream_profile_default' /tmp/ccUwrpTI.o: In function
rs2::video_stream_profile::video_stream_profile(rs2::stream_profile const&)':rs-measure.cpp:(.text._ZN3rs220video_stream_profileC2ERKNS_14stream_profileE[_ZN3rs220video_stream_profileC5ERKNS_14stream_profileE]+0x64): undefined reference to
rs2_stream_profile_is' rs-measure.cpp:(.text._ZN3rs220video_stream_profileC2ERKNS_14stream_profileE[_ZN3rs220video_stream_profileC5ERKNS_14stream_profileE]+0xd8): undefined reference to
rs2_get_video_stream_resolution'/tmp/ccUwrpTI.o: In function
rs2::video_stream_profile::get_intrinsics() const': rs-measure.cpp:(.text._ZNK3rs220video_stream_profile14get_intrinsicsEv[_ZNK3rs220video_stream_profile14get_intrinsicsEv]+0x3c): undefined reference to
rs2_get_video_stream_intrinsics'/tmp/ccUwrpTI.o: In function
rs2::frame::~frame()': rs-measure.cpp:(.text._ZN3rs25frameD2Ev[_ZN3rs25frameD5Ev]+0x24): undefined reference to
rs2_release_frame'/tmp/ccUwrpTI.o: In function
rs2::frame::keep()': rs-measure.cpp:(.text._ZN3rs25frame4keepEv[_ZN3rs25frame4keepEv]+0x14): undefined reference to
rs2_keep_frame'/tmp/ccUwrpTI.o: In function
rs2::frame::get_data() const': rs-measure.cpp:(.text._ZNK3rs25frame8get_dataEv[_ZNK3rs25frame8get_dataEv]+0x30): undefined reference to
rs2_get_frame_data'/tmp/ccUwrpTI.o: In function
rs2::frame::get_profile() const': rs-measure.cpp:(.text._ZNK3rs25frame11get_profileEv[_ZNK3rs25frame11get_profileEv]+0x38): undefined reference to
rs2_get_frame_stream_profile'/tmp/ccUwrpTI.o: In function
rs2::frame::add_ref() const': rs-measure.cpp:(.text._ZNK3rs25frame7add_refEv[_ZNK3rs25frame7add_refEv]+0x30): undefined reference to
rs2_frame_add_ref'/tmp/ccUwrpTI.o: In function
rs2::frame::reset()': rs-measure.cpp:(.text._ZN3rs25frame5resetEv[_ZN3rs25frame5resetEv]+0x24): undefined reference to
rs2_release_frame'/tmp/ccUwrpTI.o: In function
rs2::video_frame::video_frame(rs2::frame const&)': rs-measure.cpp:(.text._ZN3rs211video_frameC2ERKNS_5frameE[_ZN3rs211video_frameC5ERKNS_5frameE]+0x70): undefined reference to
rs2_is_frame_extendable_to'/tmp/ccUwrpTI.o: In function
rs2::video_frame::get_width() const': rs-measure.cpp:(.text._ZNK3rs211video_frame9get_widthEv[_ZNK3rs211video_frame9get_widthEv]+0x3c): undefined reference to
rs2_get_frame_width'/tmp/ccUwrpTI.o: In function
rs2::video_frame::get_height() const': rs-measure.cpp:(.text._ZNK3rs211video_frame10get_heightEv[_ZNK3rs211video_frame10get_heightEv]+0x3c): undefined reference to
rs2_get_frame_height'/tmp/ccUwrpTI.o: In function
rs2::points::get_vertices() const': rs-measure.cpp:(.text._ZNK3rs26points12get_verticesEv[_ZNK3rs26points12get_verticesEv]+0x3c): undefined reference to
rs2_get_frame_vertices'/tmp/ccUwrpTI.o: In function
rs2::points::get_texture_coordinates() const': rs-measure.cpp:(.text._ZNK3rs26points23get_texture_coordinatesEv[_ZNK3rs26points23get_texture_coordinatesEv]+0x3c): undefined reference to
rs2_get_frame_texture_coordinates'/tmp/ccUwrpTI.o: In function
rs2::depth_frame::depth_frame(rs2::frame const&)': rs-measure.cpp:(.text._ZN3rs211depth_frameC2ERKNS_5frameE[_ZN3rs211depth_frameC5ERKNS_5frameE]+0x70): undefined reference to
rs2_is_frame_extendable_to'/tmp/ccUwrpTI.o: In function
rs2::depth_frame::get_distance(int, int) const': rs-measure.cpp:(.text._ZNK3rs211depth_frame12get_distanceEii[_ZNK3rs211depth_frame12get_distanceEii]+0x4c): undefined reference to
rs2_depth_frame_get_distance'/tmp/ccUwrpTI.o: In function
rs2::motion_frame::motion_frame(rs2::frame const&)': rs-measure.cpp:(.text._ZN3rs212motion_frameC2ERKNS_5frameE[_ZN3rs212motion_frameC5ERKNS_5frameE]+0x70): undefined reference to
rs2_is_frame_extendable_to'/tmp/ccUwrpTI.o: In function
rs2::pose_frame::pose_frame(rs2::frame const&)': rs-measure.cpp:(.text._ZN3rs210pose_frameC2ERKNS_5frameE[_ZN3rs210pose_frameC5ERKNS_5frameE]+0x70): undefined reference to
rs2_is_frame_extendable_to'/tmp/ccUwrpTI.o: In function
rs2::pose_frame::get_pose_data() const': rs-measure.cpp:(.text._ZNK3rs210pose_frame13get_pose_dataEv[_ZNK3rs210pose_frame13get_pose_dataEv]+0x48): undefined reference to
rs2_pose_frame_get_pose_data'/tmp/ccUwrpTI.o: In function
rs2::frameset::frameset(rs2::frame const&)': rs-measure.cpp:(.text._ZN3rs28framesetC2ERKNS_5frameE[_ZN3rs28framesetC5ERKNS_5frameE]+0x78): undefined reference to
rs2_is_frame_extendable_to'rs-measure.cpp:(.text._ZN3rs28framesetC2ERKNS_5frameE[_ZN3rs28framesetC5ERKNS_5frameE]+0xe8): undefined reference to
rs2_embedded_frames_count' /tmp/ccUwrpTI.o: In function
rs2::options::set_option(rs2_option, float) const':rs-measure.cpp:(.text._ZNK3rs27options10set_optionE10rs2_optionf[_ZNK3rs27options10set_optionE10rs2_optionf]+0x44): undefined reference to
rs2_set_option' /tmp/ccUwrpTI.o: In function
rs2::frame_queue::frame_queue(unsigned int, bool)':rs-measure.cpp:(.text._ZN3rs211frame_queueC2Ejb[_ZN3rs211frame_queueC5Ejb]+0x5c): undefined reference to
rs2_create_frame_queue' rs-measure.cpp:(.text._ZN3rs211frame_queueC2Ejb[_ZN3rs211frame_queueC5Ejb]+0x64): undefined reference to
rs2_delete_frame_queue'rs-measure.cpp:(.text._ZN3rs211frame_queueC2Ejb[_ZN3rs211frame_queueC5Ejb]+0x68): undefined reference to
rs2_delete_frame_queue' /tmp/ccUwrpTI.o: In function
rs2::frame_queue::enqueue(rs2::frame) const':rs-measure.cpp:(.text._ZNK3rs211frame_queue7enqueueENS_5frameE[_ZNK3rs211frame_queue7enqueueENS_5frameE]+0x44): undefined reference to
rs2_enqueue_frame' /tmp/ccUwrpTI.o: In function
rs2::processing_block::invoke(rs2::frame) const':rs-measure.cpp:(.text._ZNK3rs216processing_block6invokeENS_5frameE[_ZNK3rs216processing_block6invokeENS_5frameE]+0x58): undefined reference to
rs2_process_frame' /tmp/ccUwrpTI.o: In function
rs2::align::init(rs2_stream)':rs-measure.cpp:(.text._ZN3rs25align4initE10rs2_stream[_ZN3rs25align4initE10rs2_stream]+0x3c): undefined reference to
rs2_create_align' rs-measure.cpp:(.text._ZN3rs25align4initE10rs2_stream[_ZN3rs25align4initE10rs2_stream]+0x44): undefined reference to
rs2_delete_processing_block'rs-measure.cpp:(.text._ZN3rs25align4initE10rs2_stream[_ZN3rs25align4initE10rs2_stream]+0x48): undefined reference to
rs2_delete_processing_block' /tmp/ccUwrpTI.o: In function
rs2::colorizer::init()':rs-measure.cpp:(.text._ZN3rs29colorizer4initEv[_ZN3rs29colorizer4initEv]+0x30): undefined reference to
rs2_create_colorizer' rs-measure.cpp:(.text._ZN3rs29colorizer4initEv[_ZN3rs29colorizer4initEv]+0x38): undefined reference to
rs2_delete_processing_block'rs-measure.cpp:(.text._ZN3rs29colorizer4initEv[_ZN3rs29colorizer4initEv]+0x3c): undefined reference to
rs2_delete_processing_block' /tmp/ccUwrpTI.o: In function
rs2::decimation_filter::init()':rs-measure.cpp:(.text._ZN3rs217decimation_filter4initEv[_ZN3rs217decimation_filter4initEv]+0x30): undefined reference to
rs2_create_decimation_filter_block' rs-measure.cpp:(.text._ZN3rs217decimation_filter4initEv[_ZN3rs217decimation_filter4initEv]+0x38): undefined reference to
rs2_delete_processing_block'rs-measure.cpp:(.text._ZN3rs217decimation_filter4initEv[_ZN3rs217decimation_filter4initEv]+0x3c): undefined reference to
rs2_delete_processing_block' /tmp/ccUwrpTI.o: In function
rs2::temporal_filter::init()':rs-measure.cpp:(.text._ZN3rs215temporal_filter4initEv[_ZN3rs215temporal_filter4initEv]+0x30): undefined reference to
rs2_create_temporal_filter_block' rs-measure.cpp:(.text._ZN3rs215temporal_filter4initEv[_ZN3rs215temporal_filter4initEv]+0x38): undefined reference to
rs2_delete_processing_block'rs-measure.cpp:(.text._ZN3rs215temporal_filter4initEv[_ZN3rs215temporal_filter4initEv]+0x3c): undefined reference to
rs2_delete_processing_block' /tmp/ccUwrpTI.o: In function
rs2::spatial_filter::init()':rs-measure.cpp:(.text._ZN3rs214spatial_filter4initEv[_ZN3rs214spatial_filter4initEv]+0x30): undefined reference to
rs2_create_spatial_filter_block' rs-measure.cpp:(.text._ZN3rs214spatial_filter4initEv[_ZN3rs214spatial_filter4initEv]+0x38): undefined reference to
rs2_delete_processing_block'rs-measure.cpp:(.text._ZN3rs214spatial_filter4initEv[_ZN3rs214spatial_filter4initEv]+0x3c): undefined reference to
rs2_delete_processing_block' /tmp/ccUwrpTI.o: In function
rs2::disparity_transform::init(bool)':rs-measure.cpp:(.text._ZN3rs219disparity_transform4initEb[_ZN3rs219disparity_transform4initEb]+0x38): undefined reference to
rs2_create_disparity_transform_block' rs-measure.cpp:(.text._ZN3rs219disparity_transform4initEb[_ZN3rs219disparity_transform4initEb]+0x40): undefined reference to
rs2_delete_processing_block'rs-measure.cpp:(.text._ZN3rs219disparity_transform4initEb[_ZN3rs219disparity_transform4initEb]+0x44): undefined reference to
rs2_delete_processing_block' /tmp/ccUwrpTI.o: In function
rs2::depth_sensor::depth_sensor(rs2::sensor)':rs-measure.cpp:(.text._ZN3rs212depth_sensorC2ENS_6sensorE[_ZN3rs212depth_sensorC5ENS_6sensorE]+0x8c): undefined reference to
rs2_is_sensor_extendable_to' /tmp/ccUwrpTI.o: In function
rs2::depth_stereo_sensor::depth_stereo_sensor(rs2::sensor)':rs-measure.cpp:(.text._ZN3rs219depth_stereo_sensorC2ENS_6sensorE[_ZN3rs219depth_stereo_sensorC5ENS_6sensorE]+0x9c): undefined reference to
rs2_is_sensor_extendable_to' /tmp/ccUwrpTI.o: In function
rs2::device::query_sensors() const':rs-measure.cpp:(.text._ZNK3rs26device13query_sensorsEv[_ZNK3rs26device13query_sensorsEv]+0x48): undefined reference to
rs2_query_sensors' rs-measure.cpp:(.text._ZNK3rs26device13query_sensorsEv[_ZNK3rs26device13query_sensorsEv]+0x50): undefined reference to
rs2_delete_sensor_list'rs-measure.cpp:(.text._ZNK3rs26device13query_sensorsEv[_ZNK3rs26device13query_sensorsEv]+0x54): undefined reference to
rs2_delete_sensor_list' rs-measure.cpp:(.text._ZNK3rs26device13query_sensorsEv[_ZNK3rs26device13query_sensorsEv]+0x88): undefined reference to
rs2_get_sensors_count'rs-measure.cpp:(.text._ZNK3rs26device13query_sensorsEv[_ZNK3rs26device13query_sensorsEv]+0xd0): undefined reference to
rs2_create_sensor' rs-measure.cpp:(.text._ZNK3rs26device13query_sensorsEv[_ZNK3rs26device13query_sensorsEv]+0xd8): undefined reference to
rs2_delete_sensor'rs-measure.cpp:(.text._ZNK3rs26device13query_sensorsEv[_ZNK3rs26device13query_sensorsEv]+0xdc): undefined reference to
rs2_delete_sensor' /tmp/ccUwrpTI.o: In function
rs2::context::context()':rs-measure.cpp:(.text._ZN3rs27contextC2Ev[_ZN3rs27contextC5Ev]+0x40): undefined reference to
rs2_create_context' rs-measure.cpp:(.text._ZN3rs27contextC2Ev[_ZN3rs27contextC5Ev]+0x48): undefined reference to
rs2_delete_context'rs-measure.cpp:(.text._ZN3rs27contextC2Ev[_ZN3rs27contextC5Ev]+0x4c): undefined reference to
rs2_delete_context' /tmp/ccUwrpTI.o: In function
rs2::pipeline_profile::get_streams() const':rs-measure.cpp:(.text._ZNK3rs216pipeline_profile11get_streamsEv[_ZNK3rs216pipeline_profile11get_streamsEv]+0x4c): undefined reference to
rs2_pipeline_profile_get_streams' rs-measure.cpp:(.text._ZNK3rs216pipeline_profile11get_streamsEv[_ZNK3rs216pipeline_profile11get_streamsEv]+0x54): undefined reference to
rs2_delete_stream_profiles_list'rs-measure.cpp:(.text._ZNK3rs216pipeline_profile11get_streamsEv[_ZNK3rs216pipeline_profile11get_streamsEv]+0x58): undefined reference to
rs2_delete_stream_profiles_list' rs-measure.cpp:(.text._ZNK3rs216pipeline_profile11get_streamsEv[_ZNK3rs216pipeline_profile11get_streamsEv]+0x8c): undefined reference to
rs2_get_stream_profiles_count'rs-measure.cpp:(.text._ZNK3rs216pipeline_profile11get_streamsEv[_ZNK3rs216pipeline_profile11get_streamsEv]+0xcc): undefined reference to
rs2_get_stream_profile' /tmp/ccUwrpTI.o: In function
rs2::pipeline_profile::get_device() const':rs-measure.cpp:(.text._ZNK3rs216pipeline_profile10get_deviceEv[_ZNK3rs216pipeline_profile10get_deviceEv]+0x44): undefined reference to
rs2_pipeline_profile_get_device' rs-measure.cpp:(.text._ZNK3rs216pipeline_profile10get_deviceEv[_ZNK3rs216pipeline_profile10get_deviceEv]+0x4c): undefined reference to
rs2_delete_device'rs-measure.cpp:(.text._ZNK3rs216pipeline_profile10get_deviceEv[_ZNK3rs216pipeline_profile10get_deviceEv]+0x50): undefined reference to
rs2_delete_device' /tmp/ccUwrpTI.o: In function
rs2::config::config()':rs-measure.cpp:(.text._ZN3rs26configC2Ev[_ZN3rs26configC5Ev]+0x38): undefined reference to
rs2_create_config' rs-measure.cpp:(.text._ZN3rs26configC2Ev[_ZN3rs26configC5Ev]+0x40): undefined reference to
rs2_delete_config'rs-measure.cpp:(.text._ZN3rs26configC2Ev[_ZN3rs26configC5Ev]+0x44): undefined reference to
rs2_delete_config' /tmp/ccUwrpTI.o: In function
rs2::config::enable_stream(rs2_stream, int, int, int, rs2_format, int)':rs-measure.cpp:(.text._ZN3rs26config13enable_streamE10rs2_streamiii10rs2_formati[_ZN3rs26config13enable_streamE10rs2_streamiii10rs2_formati]+0x6c): undefined reference to
rs2_config_enable_stream' /tmp/ccUwrpTI.o: In function
rs2::pipeline::pipeline(rs2::context)':rs-measure.cpp:(.text._ZN3rs28pipelineC2ENS_7contextE[_ZN3rs28pipelineC5ENS_7contextE]+0x50): undefined reference to
rs2_create_pipeline' rs-measure.cpp:(.text._ZN3rs28pipelineC2ENS_7contextE[_ZN3rs28pipelineC5ENS_7contextE]+0x58): undefined reference to
rs2_delete_pipeline'rs-measure.cpp:(.text._ZN3rs28pipelineC2ENS_7contextE[_ZN3rs28pipelineC5ENS_7contextE]+0x5c): undefined reference to
rs2_delete_pipeline' /tmp/ccUwrpTI.o: In function
rs2::pipeline::start(rs2::config const&)':rs-measure.cpp:(.text._ZN3rs28pipeline5startERKNS_6configE[_ZN3rs28pipeline5startERKNS_6configE]+0x64): undefined reference to
rs2_pipeline_start_with_config' rs-measure.cpp:(.text._ZN3rs28pipeline5startERKNS_6configE[_ZN3rs28pipeline5startERKNS_6configE]+0x6c): undefined reference to
rs2_delete_pipeline_profile'rs-measure.cpp:(.text._ZN3rs28pipeline5startERKNS_6configE[_ZN3rs28pipeline5startERKNS_6configE]+0x70): undefined reference to
rs2_delete_pipeline_profile' /tmp/ccUwrpTI.o: In function
rs2::pipeline::poll_for_frames(rs2::frameset*) const':rs-measure.cpp:(.text._ZNK3rs28pipeline15poll_for_framesEPNS_8framesetE[_ZNK3rs28pipeline15poll_for_framesEPNS_8framesetE]+0x9c): undefined reference to
rs2_pipeline_poll_for_frames' /tmp/ccUwrpTI.o: In function
draw_text(int, int, char const*)':rs-measure.cpp:(.text._Z9draw_textiiPKc[_Z9draw_textiiPKc]+0x38): undefined reference to
glEnableClientState' rs-measure.cpp:(.text._Z9draw_textiiPKc[_Z9draw_textiiPKc]+0x50): undefined reference to
glVertexPointer'rs-measure.cpp:(.text._Z9draw_textiiPKc[_Z9draw_textiiPKc]+0x90): undefined reference to
glDrawArrays' rs-measure.cpp:(.text._Z9draw_textiiPKc[_Z9draw_textiiPKc]+0x98): undefined reference to
glDisableClientState'/tmp/ccUwrpTI.o: In function
imu_renderer::draw_motion(rs2::motion_frame const&, rect const&)': rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x54): undefined reference to
glGenTextures'rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x118): undefined reference to
glMatrixMode' rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x11c): undefined reference to
glPushMatrix'rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x120): undefined reference to
glLoadIdentity' rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x15c): undefined reference to
glOrtho'rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x170): undefined reference to
glRotatef' rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x188): undefined reference to
glTranslatef'rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x1a0): undefined reference to
glRotatef' rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x1b8): undefined reference to
glRotatef'rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x1d0): undefined reference to
glRotatef' rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x35c): undefined reference to
glColor3f'rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x364): undefined reference to
glBegin' rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x37c): undefined reference to
glVertex2d'rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x3d0): undefined reference to
glVertex2d' rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x3fc): undefined reference to
glEnd'rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x410): undefined reference to
glLineWidth' rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x418): undefined reference to
glBegin'rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x428): undefined reference to
glColor3f' rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x438): undefined reference to
glVertex3f'rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x46c): undefined reference to
glVertex3f' rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x470): undefined reference to
glEnd'rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x480): undefined reference to
glGetFloatv' rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x490): undefined reference to
glGetFloatv'rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x494): undefined reference to
glLoadIdentity' rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x4d0): undefined reference to
glOrtho'rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x4fc): undefined reference to
glRotatef' rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x720): undefined reference to
glMatrixMode'rs-measure.cpp:(.text._ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect[_ZN12imu_renderer11draw_motionERKN3rs212motion_frameERK4rect]+0x724): undefined reference to
glPopMatrix' /tmp/ccUwrpTI.o: In function
imu_renderer::print_text_in_3d(float, float, float, char const*, bool, float*, float*, float)':rs-measure.cpp:(.text._ZN12imu_renderer16print_text_in_3dEfffPKcbPfS2_f[_ZN12imu_renderer16print_text_in_3dEfffPKcbPfS2_f]+0x88): undefined reference to
glColor3f' /tmp/ccUwrpTI.o: In function
imu_renderer::draw_axes(float, float)':rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x14): undefined reference to
glBegin' rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x24): undefined reference to
glColor3f'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x44): undefined reference to
glVertex3f' rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x6c): undefined reference to
glVertex3f'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x90): undefined reference to
glVertex3f' rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0xb0): undefined reference to
glVertex3f'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0xd8): undefined reference to
glVertex3f' /tmp/ccUwrpTI.o:rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0xfc): more undefined references to
glVertex3f' follow/tmp/ccUwrpTI.o: In function
imu_renderer::draw_axes(float, float)': rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x100): undefined reference to
glEnd'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x108): undefined reference to
glBegin' rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x118): undefined reference to
glColor3f'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x13c): undefined reference to
glVertex3f' rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x160): undefined reference to
glVertex3f'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x184): undefined reference to
glVertex3f' rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x1a8): undefined reference to
glVertex3f'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x1c8): undefined reference to
glVertex3f' /tmp/ccUwrpTI.o:rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x1e8): more undefined references to
glVertex3f' follow/tmp/ccUwrpTI.o: In function
imu_renderer::draw_axes(float, float)': rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x1ec): undefined reference to
glEnd'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x1f4): undefined reference to
glBegin' rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x204): undefined reference to
glColor3f'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x228): undefined reference to
glVertex3f' rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x24c): undefined reference to
glVertex3f'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x270): undefined reference to
glVertex3f' rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x294): undefined reference to
glVertex3f'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x2b4): undefined reference to
glVertex3f' /tmp/ccUwrpTI.o:rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x2d4): more undefined references to
glVertex3f' follow/tmp/ccUwrpTI.o: In function
imu_renderer::draw_axes(float, float)': rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x2d8): undefined reference to
glEnd'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x2e0): undefined reference to
glLineWidth' rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x2e8): undefined reference to
glBegin'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x2f8): undefined reference to
glColor3f' rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x308): undefined reference to
glVertex3f'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x318): undefined reference to
glVertex3f' rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x328): undefined reference to
glColor3f'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x338): undefined reference to
glVertex3f' rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x348): undefined reference to
glVertex3f'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x358): undefined reference to
glColor3f' rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x368): undefined reference to
glVertex3f'rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x378): undefined reference to
glVertex3f' rs-measure.cpp:(.text._ZN12imu_renderer9draw_axesEff[_ZN12imu_renderer9draw_axesEff]+0x37c): undefined reference to
glEnd'/tmp/ccUwrpTI.o: In function
imu_renderer::draw_circle(float, float, float, float, float, float, float, float3, float)': rs-measure.cpp:(.text._ZN12imu_renderer11draw_circleEfffffff6float3f[_ZN12imu_renderer11draw_circleEfffffff6float3f]+0x38): undefined reference to
glColor3f'rs-measure.cpp:(.text._ZN12imu_renderer11draw_circleEfffffff6float3f[_ZN12imu_renderer11draw_circleEfffffff6float3f]+0x40): undefined reference to
glLineWidth' rs-measure.cpp:(.text._ZN12imu_renderer11draw_circleEfffffff6float3f[_ZN12imu_renderer11draw_circleEfffffff6float3f]+0x48): undefined reference to
glBegin'rs-measure.cpp:(.text._ZN12imu_renderer11draw_circleEfffffff6float3f[_ZN12imu_renderer11draw_circleEfffffff6float3f]+0x128): undefined reference to
glVertex3f' rs-measure.cpp:(.text._ZN12imu_renderer11draw_circleEfffffff6float3f[_ZN12imu_renderer11draw_circleEfffffff6float3f]+0x13c): undefined reference to
glEnd'/tmp/ccUwrpTI.o: In function
pose_renderer::draw_pose(rs2::pose_frame const&, rect const&)': rs-measure.cpp:(.text._ZN13pose_renderer9draw_poseERKN3rs210pose_frameERK4rect[_ZN13pose_renderer9draw_poseERKN3rs210pose_frameERK4rect]+0x4c): undefined reference to
glGenTextures'/tmp/ccUwrpTI.o: In function
texture::upload(rs2::video_frame const&)': rs-measure.cpp:(.text._ZN7texture6uploadERKN3rs211video_frameE[_ZN7texture6uploadERKN3rs211video_frameE]+0x64): undefined reference to
glGenTextures'rs-measure.cpp:(.text._ZN7texture6uploadERKN3rs211video_frameE[_ZN7texture6uploadERKN3rs211video_frameE]+0x68): undefined reference to
glGetError' rs-measure.cpp:(.text._ZN7texture6uploadERKN3rs211video_frameE[_ZN7texture6uploadERKN3rs211video_frameE]+0x114): undefined reference to
glBindTexture'rs-measure.cpp:(.text._ZN7texture6uploadERKN3rs211video_frameE[_ZN7texture6uploadERKN3rs211video_frameE]+0x178): undefined reference to
glTexImage2D' rs-measure.cpp:(.text._ZN7texture6uploadERKN3rs211video_frameE[_ZN7texture6uploadERKN3rs211video_frameE]+0x1ac): undefined reference to
glTexImage2D'rs-measure.cpp:(.text._ZN7texture6uploadERKN3rs211video_frameE[_ZN7texture6uploadERKN3rs211video_frameE]+0x1e0): undefined reference to
glTexImage2D' rs-measure.cpp:(.text._ZN7texture6uploadERKN3rs211video_frameE[_ZN7texture6uploadERKN3rs211video_frameE]+0x214): undefined reference to
glTexImage2D'rs-measure.cpp:(.text._ZN7texture6uploadERKN3rs211video_frameE[_ZN7texture6uploadERKN3rs211video_frameE]+0x268): undefined reference to
glTexParameteri' rs-measure.cpp:(.text._ZN7texture6uploadERKN3rs211video_frameE[_ZN7texture6uploadERKN3rs211video_frameE]+0x278): undefined reference to
glTexParameteri'rs-measure.cpp:(.text._ZN7texture6uploadERKN3rs211video_frameE[_ZN7texture6uploadERKN3rs211video_frameE]+0x288): undefined reference to
glTexParameteri' rs-measure.cpp:(.text._ZN7texture6uploadERKN3rs211video_frameE[_ZN7texture6uploadERKN3rs211video_frameE]+0x298): undefined reference to
glTexParameteri'rs-measure.cpp:(.text._ZN7texture6uploadERKN3rs211video_frameE[_ZN7texture6uploadERKN3rs211video_frameE]+0x2a4): undefined reference to
glPixelStorei' rs-measure.cpp:(.text._ZN7texture6uploadERKN3rs211video_frameE[_ZN7texture6uploadERKN3rs211video_frameE]+0x2b0): undefined reference to
glBindTexture'/tmp/ccUwrpTI.o: In function
texture::show(rect const&, float) const': rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0x40): undefined reference to
glBindTexture'rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0x54): undefined reference to
glColor4f' rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0x5c): undefined reference to
glEnable'rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0x64): undefined reference to
glBegin' rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0x70): undefined reference to
glTexCoord2f'rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0x7c): undefined reference to
glVertex2f' rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0x88): undefined reference to
glTexCoord2f'rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0x9c): undefined reference to
glVertex2f' rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0xa8): undefined reference to
glTexCoord2f'rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0xbc): undefined reference to
glVertex2f' rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0xc8): undefined reference to
glTexCoord2f'rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0xd8): undefined reference to
glVertex2f' rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0xdc): undefined reference to
glEnd'rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0xe4): undefined reference to
glDisable' rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0xf0): undefined reference to
glBindTexture'rs-measure.cpp:(.text._ZNK7texture4showERK4rectf[_ZNK7texture4showERK4rectf]+0x134): undefined reference to
rs2_stream_to_string' /tmp/ccUwrpTI.o: In function
window::window(int, int, char const*)::{lambda(GLFWwindow*, int, int, int)#1}::operator()(GLFWwindow*, int, int, int) const':rs-measure.cpp:(.text._ZZN6windowC4EiiPKcENKUlP10GLFWwindowiiiE_clES3_iii[_ZZN6windowC4EiiPKcENKUlP10GLFWwindowiiiE_clES3_iii]+0x20): undefined reference to
glfwGetWindowUserPointer' /tmp/ccUwrpTI.o: In function
window::window(int, int, char const*)::{lambda(GLFWwindow*, double, double)#2}::operator()(GLFWwindow*, double, double) const':rs-measure.cpp:(.text._ZZN6windowC4EiiPKcENKUlP10GLFWwindowddE0_clES3_dd[_ZZN6windowC4EiiPKcENKUlP10GLFWwindowddE0_clES3_dd]+0x1c): undefined reference to
glfwGetWindowUserPointer' /tmp/ccUwrpTI.o: In function
window::window(int, int, char const*)::{lambda(GLFWwindow*, double, double)#3}::operator()(GLFWwindow*, double, double) const':rs-measure.cpp:(.text._ZZN6windowC4EiiPKcENKUlP10GLFWwindowddE1_clES3_dd[_ZZN6windowC4EiiPKcENKUlP10GLFWwindowddE1_clES3_dd]+0x1c): undefined reference to
glfwGetWindowUserPointer' /tmp/ccUwrpTI.o: In function
window::window(int, int, char const*)::{lambda(GLFWwindow*, int, int, int, int)#4}::operator()(GLFWwindow*, int, int, int, int) const':rs-measure.cpp:(.text._ZZN6windowC4EiiPKcENKUlP10GLFWwindowiiiiE2_clES3_iiii[_ZZN6windowC4EiiPKcENKUlP10GLFWwindowiiiiE2_clES3_iiii]+0x24): undefined reference to
glfwGetWindowUserPointer' /tmp/ccUwrpTI.o: In function
window::window(int, int, char const*)':rs-measure.cpp:(.text._ZN6windowC2EiiPKc[_ZN6windowC5EiiPKc]+0xac): undefined reference to
glfwInit' rs-measure.cpp:(.text._ZN6windowC2EiiPKc[_ZN6windowC5EiiPKc]+0xc4): undefined reference to
glfwCreateWindow'rs-measure.cpp:(.text._ZN6windowC2EiiPKc[_ZN6windowC5EiiPKc]+0x12c): undefined reference to
glfwMakeContextCurrent' rs-measure.cpp:(.text._ZN6windowC2EiiPKc[_ZN6windowC5EiiPKc]+0x13c): undefined reference to
glfwSetWindowUserPointer'rs-measure.cpp:(.text._ZN6windowC2EiiPKc[_ZN6windowC5EiiPKc]+0x158): undefined reference to
glfwSetMouseButtonCallback' rs-measure.cpp:(.text._ZN6windowC2EiiPKc[_ZN6windowC5EiiPKc]+0x174): undefined reference to
glfwSetScrollCallback'rs-measure.cpp:(.text._ZN6windowC2EiiPKc[_ZN6windowC5EiiPKc]+0x190): undefined reference to
glfwSetCursorPosCallback' rs-measure.cpp:(.text._ZN6windowC2EiiPKc[_ZN6windowC5EiiPKc]+0x1ac): undefined reference to
glfwSetKeyCallback'/tmp/ccUwrpTI.o: In function
window::~window()': rs-measure.cpp:(.text._ZN6windowD2Ev[_ZN6windowD5Ev]+0x14): undefined reference to
glfwDestroyWindow'rs-measure.cpp:(.text._ZN6windowD2Ev[_ZN6windowD5Ev]+0x18): undefined reference to
glfwTerminate' /tmp/ccUwrpTI.o: In function
window::operator bool()':rs-measure.cpp:(.text._ZN6windowcvbEv[_ZN6windowcvbEv]+0xc): undefined reference to
glPopMatrix' rs-measure.cpp:(.text._ZN6windowcvbEv[_ZN6windowcvbEv]+0x18): undefined reference to
glfwSwapBuffers'rs-measure.cpp:(.text._ZN6windowcvbEv[_ZN6windowcvbEv]+0x24): undefined reference to
glfwWindowShouldClose' rs-measure.cpp:(.text._ZN6windowcvbEv[_ZN6windowcvbEv]+0x34): undefined reference to
glfwPollEvents'rs-measure.cpp:(.text._ZN6windowcvbEv[_ZN6windowcvbEv]+0x58): undefined reference to
glfwGetFramebufferSize' rs-measure.cpp:(.text._ZN6windowcvbEv[_ZN6windowcvbEv]+0x60): undefined reference to
glClear'rs-measure.cpp:(.text._ZN6windowcvbEv[_ZN6windowcvbEv]+0x84): undefined reference to
glViewport' rs-measure.cpp:(.text._ZN6windowcvbEv[_ZN6windowcvbEv]+0x88): undefined reference to
glPushMatrix'rs-measure.cpp:(.text._ZN6windowcvbEv[_ZN6windowcvbEv]+0xac): undefined reference to
glfwGetWindowSize' rs-measure.cpp:(.text._ZN6windowcvbEv[_ZN6windowcvbEv]+0xe0): undefined reference to
glOrtho'/tmp/ccUwrpTI.o: In function
toggle::render(window const&)': rs-measure.cpp:(.text._ZN6toggle6renderERK6window[_ZN6toggle6renderERK6window]+0x28): undefined reference to
glColor4f'rs-measure.cpp:(.text._ZN6toggle6renderERK6window[_ZN6toggle6renderERK6window]+0x64): undefined reference to
glColor4f' /tmp/ccUwrpTI.o: In function
toggle::render_circle(window const&, float)':rs-measure.cpp:(.text._ZN6toggle13render_circleERK6windowf[_ZN6toggle13render_circleERK6windowf]+0x24): undefined reference to
glBegin' rs-measure.cpp:(.text._ZN6toggle13render_circleERK6windowf[_ZN6toggle13render_circleERK6windowf]+0xe0): undefined reference to
glVertex2f'rs-measure.cpp:(.text._ZN6toggle13render_circleERK6windowf[_ZN6toggle13render_circleERK6windowf]+0x114): undefined reference to
glVertex2f' rs-measure.cpp:(.text._ZN6toggle13render_circleERK6windowf[_ZN6toggle13render_circleERK6windowf]+0x128): undefined reference to
glEnd'/tmp/ccUwrpTI.o: In function
void rs2::frameset::foreach_rs<rs2::frameset::first_or_default(rs2_stream, rs2_format) const::{lambda(rs2::frame)#1}>(rs2::frameset::first_or_default(rs2_stream, rs2_format) const::{lambda(rs2::frame)#1}) const': rs-measure.cpp:(.text._ZNK3rs28frameset10foreach_rsIZNKS0_16first_or_defaultE10rs2_stream10rs2_formatEUlNS_5frameEE_EEvT_[_ZNK3rs28frameset10foreach_rsIZNKS0_16first_or_defaultE10rs2_stream10rs2_formatEUlNS_5frameEE_EEvT_]+0x6c): undefined reference to
rs2_extract_frame'/tmp/ccUwrpTI.o: In function
std::enable_if<std::is_base_of<rs2::frame, rs2::frame>::value, bool>::type rs2::frame_queue::poll_for_frame<rs2::frame>(rs2::frame*) const': rs-measure.cpp:(.text._ZNK3rs211frame_queue14poll_for_frameINS_5frameEEENSt9enable_ifIXsrSt10is_base_ofIS2_T_E5valueEbE4typeEPS5_[_ZNK3rs211frame_queue14poll_for_frameINS_5frameEEENSt9enable_ifIXsrSt10is_base_ofIS2_T_E5valueEbE4typeEPS5_]+0x50): undefined reference to
rs2_poll_for_frame'/tmp/ccUwrpTI.o: In function
void rs2::processing_block::start<rs2::frame_queue>(rs2::frame_queue)': rs-measure.cpp:(.text._ZN3rs216processing_block5startINS_11frame_queueEEEvT_[_ZN3rs216processing_block5startINS_11frame_queueEEEvT_]+0x74): undefined reference to
rs2_start_processing'/tmp/ccUwrpTI.o: In function
std::enable_if<std::is_base_of<rs2::frame, rs2::frameset>::value, bool>::type rs2::frame_queue::poll_for_frame<rs2::frameset>(rs2::frameset*) const': rs-measure.cpp:(.text._ZNK3rs211frame_queue14poll_for_frameINS_8framesetEEENSt9enable_ifIXsrSt10is_base_ofINS_5frameET_E5valueEbE4typeEPS6_[_ZNK3rs211frame_queue14poll_for_frameINS_8framesetEEENSt9enable_ifIXsrSt10is_base_ofINS_5frameET_E5valueEbE4typeEPS6_]+0x50): undefined reference to
rs2_poll_for_frame'collect2: error: ld returned 1 exit status
`
The text was updated successfully, but these errors were encountered: