USC-ACTLab / crazyswarm

A Large Quadcopter Swarm
MIT License
328 stars 323 forks source link

Build error in crazyflie-testing action #538

Closed jonasdn closed 3 years ago

jonasdn commented 3 years ago

It seems that the commit: dce6c0c460957f6bf1f3c0915d7c35a3952f163f

Caused a build error in our action: https://github.com/bitcraze/crazyflie-testing/runs/4129139144?check_suite_focus=true

[ 75%] Linking CXX shared library /__w/crazyflie-testing/crazyflie-testing/crazyswarm/ros_ws/devel/lib/liblibmotioncapture.so
/usr/bin/ld: skipping incompatible /__w/crazyflie-testing/crazyflie-testing/crazyswarm/ros_ws/src/crazyswarm/externalDependencies/libmotioncapture/deps/NatNetSDKCrossplatform/lib/ubuntu/libNatNet.so when searching for -lNatNet
/usr/bin/ld: cannot find -lNatNet
collect2: error: ld returned 1 exit status
make[2]: *** [crazyswarm/externalDependencies/libmotioncapture/CMakeFiles/libmotioncapture.dir/build.make:181: /__w/crazyflie-testing/crazyflie-testing/crazyswarm/ros_ws/devel/lib/liblibmotioncapture.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:3488: crazyswarm/externalDependencies/libmotioncapture/CMakeFiles/libmotioncapture.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
jonasdn commented 3 years ago

Might be because this build is on ARM? (Raspberry PI)

jonasdn commented 3 years ago

Is there a way to opt out of this stuff for the crazyflie-testing build?

whoenig commented 3 years ago

This should be fixed in 4d6ca47 (for some users we link against a closed source library, where we only have binaries for x64 architectures; this is hopefully now disabled on ARM). Please re-open if the push didn't fix your problem! Thanks for reporting.