documentation icon indicating copy to clipboard operation
documentation copied to clipboard

RTIMULibDrive does not build as indicated in documentation

Open swpalmer-cl opened this issue 7 months ago • 5 comments

Instructions here: https://www.raspberrypi.com/documentation/accessories/sense-hat.html#install indicate that :

  • RTIMULibDrive, RTIMULibDrive10, and RTIMULibDrive11 should build with make
  • RTIMULibDrive11 is pre-compiled

Both of these are wrong. Following the instuctions on that page you will find thatRTIMULibDrive11 is not pre-ciompiled and that any attempt to make any those three projects results in the following linker errors:

RTIMULibDrive.cpp:(.text+0x34): undefined reference to `RTIMUSettings::RTIMUSettings(char const*)'
/usr/bin/ld: RTIMULibDrive.cpp:(.text+0x40): undefined reference to `RTIMU::createIMU(RTIMUSettings*)'
/usr/bin/ld: RTIMULibDrive.cpp:(.text+0xe8): undefined reference to `RTMath::currentUSecsSinceEpoch()'
/usr/bin/ld: RTIMULibDrive.cpp:(.text+0x18c): undefined reference to `RTMath::currentUSecsSinceEpoch()'
/usr/bin/ld: RTIMULibDrive.cpp:(.text+0x1cc): undefined reference to `RTMath::displayDegrees(char const*, RTVector3&)'
collect2: error: ld returned 1 exit status
make: *** [<builtin>: RTIMULibDrive] Error 1

swpalmer-cl avatar Mar 16 '25 03:03 swpalmer-cl