bittailor / BtEmbedded

Code repository for my embedded and electronics projects.
11 stars 4 forks source link

Issues Installing #2

Open afust003 opened 7 years ago

afust003 commented 7 years ago

I understand that the ./build_travis and ./build_all are only supported at the moment. However, how are you running it on the pi? Do you build in a linux box and then drop the compiled executable into raspberry pi? I will try this..... How difficult would it be to create a makefile for the pi directly? (Note: I am a windows guy :/ )

Thank you for your contribution. Note: I am doing a research project on MQTT-SN over NRF24l01+. Your library is almost allowing me to run my tests... almost.

bittailor commented 7 years ago

Hi

I build it from a Mac OS X and copy the binary to the pi.

It should also be possible to build it from Linux or even easier trough Linux on a vagrant box with the provided configuration for a ubuntu box that installs the dependecies and sets up the cross compile stuff also for a Linux. And then copy the binary to the pi.

There is no support for directly building on the pi yet.

I'm this week away from my pi's. Maybe afterwards I try to add support for building on a pi. But can't promise when I come to it.

afust003 commented 7 years ago

Running it on Ubuntu fails Could you provide some 'more' documentation on how to build the mqttsn-BtEmbedded-master? I spent 12+ hours attempting and unfortunately could not get it to work (I even downloaded a Debian Ubuntu image). Basically when I call "sudo ./build_all" is gets stuck on "log: now monitoring process activity."

Edit: preferably without using vagrant but whichever way is 'easier'.

Update: Trying to port the project to "eclipse cdt" but not 100% there yet... build issues.

Any and all help is appreciated.