DavidEGrayson / minimu9-ahrs

Program for reading data from the Pololu MinIMU-9 over I²C. Works on the Raspberry Pi and other embedded ARM Linux boards.
Other
167 stars 68 forks source link

package architecture(armel) does not match system(armhf) #5

Closed Shahirah closed 10 years ago

Shahirah commented 11 years ago

Dear Mr.David, I am actually trying to calibrate the minimu9-ahrs with the raspberrypi. I followed the steps accordingly but when I tried to run 'dpkg -i minimu9-ahrs_VERSION_armel.deb', the output was "dpkg : error processing minimu9-ahrs_VERSION_armel.deb (--install): package architecture(armel) does not match system(armhf) Errors were encountered while processing : minimu9-ahrs_VERSION_armel.deb' p/s : I had include the latest version from the github but I don't know what went wrong. I had also tried to use force architecture when running the dpkg but the minimu9-ahrs still cant be processed. n not to forget, I am using raspbian wheezy.

DavidEGrayson commented 11 years ago

Hello. I was not aware of the distinction between armel and armhf when I made the Debian package for minimu9-ahrs. I have Googled around and learned that they are two different, incompatible ways of writing binaries for ARM processors and the main difference is the way they do floating point operations. I downloaded Debian for the Raspberry Pi over a year ago, back when people were using armel. Now it looks like people are moving to armhf.

At some point I should release a armhf package. I will leave this issue open as a reminder. Until then, people using armhf will just have to compile the programs from source. You will have to clone the git repo and then follow the instructions in README.textile, which can also be read here:

https://github.com/DavidEGrayson/minimu9-ahrs

amacarth commented 11 years ago

Hi David

I had the same error and created a new RPi SD card, with a version of Wheezy armel v3.2.27 installed and activated i2c but get the same error as above

I'm a newbie so cloning the "git repo" will beyond me but would like to use the miniMU on a rotary-wing UAV I am using for scientific remote sensing applications

DavidEGrayson commented 10 years ago

Cloning git repositories (or at least using the Download button) and building software from source is an important skill to have, and is probably a lot easier than the engineering you will need to do to build the UAV.

DavidEGrayson commented 10 years ago

I just released version 2.0.0 of minimu9-ahrs and made an armhf package for it, so I am closing the issue. I also made an armhf package for ahrs-visualizer. Enjoy!

As usual, the packages can be found here:

http://www.davidegrayson.com/minimu9-ahrs/debian/

I suspect that most Raspberry Pi users these days are using armhf, or if they are using armel then they are probably using some other distribution that cannot install .deb packages anyway, but if I am wrong then let me know.