MIT-SPARK / Hydra-ROS

Hydra ROS Interface
BSD 2-Clause "Simplified" License
39 stars 16 forks source link

[BUG]Hydra build error in nvidia jeston orin nx #4

Closed ustccxy closed 2 months ago

ustccxy commented 6 months ago

Errors << hydra:make /root/hydra_ws/logs/hydra/build.make.000.log
/usr/bin/ld: ort-src/lib/libonnxruntime.so: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status make[2]: [src/gnn/CMakeFiles/hydra_gnn.dir/build.make:221: /root/hydra_ws/devel/.private/hydra/lib/libhydra_gnn.so] Error 1 make[1]: [CMakeFiles/Makefile2:3083: src/gnn/CMakeFiles/hydra_gnn.dir/all] Error 2 make: *** [Makefile:141: all] Error 2

nvidia jetson orin nx Ubuntu 20.04 docker noetic

nathanhhughes commented 2 months ago

Hi, thanks for your interest in our work! The issue that you were seeing was that the GNN-based loop closure detection code was enabled by default (via the CMake option HYDRA_ENABLE_GNN) which was only available for x86 architectures (and the Orin is an arm architecture). Our latest release turns off this feature by default and the code should build now