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 issues on Jetson Nano #20

Closed
kosmastsk opened this issue Sep 19, 2022 · 3 comments
Closed

Build issues on Jetson Nano #20

kosmastsk opened this issue Sep 19, 2022 · 3 comments

Comments

@kosmastsk
Copy link

I am trying to build nimbro_network (develop branch) on a Jetson Nano.
All packages, except nimbro_topic_transport are completed successfully.
For the topic transport I get the following error
In file included from /home/smarthome-user/ros_projects/nimbro_ws/src/nimbro_network/nimbro_topic_transport/contrib/wirehair/WirehairTools.h:34:0, from /home/smarthome-user/ros_projects/nimbro_ws/src/nimbro_network/nimbro_topic_transport/contrib/wirehair/WirehairCodec.h:211, from /home/smarthome-user/ros_projects/nimbro_ws/src/nimbro_network/nimbro_topic_transport/contrib/wirehair/wirehair.cpp:30: /home/smarthome-user/ros_projects/nimbro_ws/src/nimbro_network/nimbro_topic_transport/contrib/wirehair/gf256.h:70:14: fatal error: tmmintrin.h: No such file or directory #include <tmmintrin.h> // SSSE3: _mm_shuffle_epi8 ^~~~~~~~~~~~~ compilation terminated.

Following the instructions from here, I tried to locate the tmmintrin.h file, but it is not installed anywhere.

Is it possible to build it on a Jetson device? Are there any modifications that should be made?

@xqms
Copy link
Member

xqms commented Sep 19, 2022

You can to set the GF256_TARGET_MOBILE define to disable all intrinsic optimizations. Probably something like cmake -DCMAKE_CXX_FLAGS=-DGF256_TARGET_MOBILE=1 should work.

@xqms
Copy link
Member

xqms commented Sep 19, 2022

See also some issues in the underlying wirehair project: catid/wirehair#27 and catid/wirehair#31.

@kosmastsk
Copy link
Author

Thanks, it works and built has finished successfully!

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

2 participants