[C++] notifications and update procedures for C++ libs?[SOLVED]

hi,
will there be notifications for C++ libs and example sources, and - in case - what would be the update procedures like ?

I think you can subscribe to the BrickPi3 github repo to receive email notifications when there are changes. See here for details on how to “watch” a repo. I don’t think you can subscribe only to notifications of changes in the C directory.

To update, you would follow the install instructions again.

ok, I will try that github notifications thing!
About the update: so that probably actually means, the update procedure erases the prior installation before installing the new one, correct?

If you’re updating on Raspbian for Robots, DI Software Update will automatically remove the old repo before cloning the new one. If you are updating on Raspbian using clone and install, before you clone, you will need to remove the previously cloned repo. You can do that using something like this:

sudo rm -rf /home/pi/Dexter/BrickPi3

thanks, that was very important to know, thank you!

for updating, both
sudo git clone http://www.github.com/DexterInd/BrickPi3.git /home/pi/Dexter/BrickPi3
and
sudo bash /home/pi/Dexter/BrickPi3/Install/install.sh

:?:

Yes both. clone will get the latest files, and then install will install the files. Including removing the old files, here are the commands you should enter to do a BrickPi3 update on Raspbian:

sudo rm -rf /home/pi/Dexter/BrickPi3
sudo git clone http://www.github.com/DexterInd/BrickPi3.git /home/pi/Dexter/BrickPi3
sudo bash /home/pi/Dexter/BrickPi3/Install/install.sh
sudo reboot

After the initial install, reboot is probably not necessary, but it’s still advised.

1 Like