Skip to content

RTIMULibDrive does not build as indicated in documentation #4051

Open
@swpalmer-cl

Description

@swpalmer-cl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogWe'll be getting to it eventually

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions