Skip to content
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

Build error Ubuntu 14.04 #3448

Closed
banuprathap opened this issue Mar 10, 2019 · 9 comments
Closed

Build error Ubuntu 14.04 #3448

banuprathap opened this issue Mar 10, 2019 · 9 comments

Comments

@banuprathap
Copy link


Required Info
Camera Model D435
Firmware Version (Open RealSense Viewer --> Click info)
Operating System & Version Ubuntu 14 (32Bit)
Kernel Version (Linux Only) 4.4.0-141-generic
Platform PC
SDK Version 2.19.1
Language C
Segment Robot

Issue Description

Build fails in TM2 with compile error.

/home/seville/librealsense/src/tm2/tm-device.cpp:627:69: error: no matching function for call to ‘copy_array(float [5], const float_t [5])’
         librealsense::copy_array(result.coeffs, tm_intrinsics.coeffs);

I followed the instructions from here.

Please see attached file for complete log.
librealsense.log

@banuprathap
Copy link
Author

banuprathap commented Mar 10, 2019

Looks like this error is coming out of TM2 module and since I don't intend to use it, I was able to disable it by explicitly specifying -DBUILD_WITH_TM2=false flag (build configuration file says it's disabled by default).

I encountered multiple ISO warnings (see attached
libRealSense_passing.log
) during the process. Is this normal?

@RealSenseCustomerSupport
Copy link
Collaborator


Hi banuprathap,

If you don't need TM265 module for now, try a quick test:
adding "-DBUILD_WITH_TM2=false" to make.

Thanks!

@caozhenn
Copy link

I have the same problem when I use the D415 camera in Ubuntu 14.04. But I didn't meet this problem in another computer with Ubuntu 16.04. Why?

@caozhenn
Copy link

Hi banuprathap,

If you don't need TM265 module for now, try a quick test:
adding "-DBUILD_WITH_TM2=false" to make.

Thanks!

how to add this "-DBUILD_WITH_TM2=false" to make?
make -DBUILD_WITH_TM2=false ? I tried this sentence,but it's wrong. Can I use make -i?

@RealSenseCustomerSupport
Copy link
Collaborator


Hi caozhenn,

Sorry for the confusion. It is one of the build configuration with cmake: https://github.com/IntelRealSense/librealsense/wiki/Build-Configuration
for example, cmake ../ -DBUILD_WITH_TM2=false

On the other side, is your 14.04 a 32-bit or 64-bit system?

Thanks!

@caozhenn
Copy link

Hi caozhenn,

Sorry for the confusion. It is one of the build configuration with cmake: https://github.com/IntelRealSense/librealsense/wiki/Build-Configuration
for example, cmake ../ -DBUILD_WITH_TM2=false

On the other side, is your 14.04 a 32-bit or 64-bit system?

Thanks!

When I input uname --m, it shows i686, so I guess it's 32-bit.
You remind me that previously when I input cmake ../ , there was an download error showing realsense-hw-public.s3.amazonws.com/realsense/tm2/fw/target/0.0.18.4577/target -0.0.18.4577.mvcmd.
So I tried several time to input cmake ../ ,and eventually it showed cmake was done.
So maybe it was because I didn't really download this file which resulted in this error above?

@RealSenseCustomerSupport
Copy link
Collaborator


Hi caozhenn,

To what I known, 64-bit should show "x86_64" in uname -a output.

Not sure if you can try again with a fresh build, and do "cmake ../ -DBUILD_WITH_TM2=false".
See if you will have the error.

Thanks!

@RealSenseCustomerSupport
Copy link
Collaborator


Hi caozhenn,

Wonder if there is any update?

Thanks!

@RealSenseCustomerSupport
Copy link
Collaborator


Hi caozhenn,

Do you still need help on this one? If nothing else, it will be closed out soon.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants