ludiazv / node-red-contrib-nrf24

NODE-Red fredom for nrf24l01(+)! Control nrf24l01(+) radios , RF24Mesh & RF24Gateway networks from Node-Red
MIT License
7 stars 4 forks source link

Installation on Raspbian 64Bit #10

Open ghostmaster75 opened 2 years ago

ghostmaster75 commented 2 years ago

As NRF24 also this need to be fixed on 64bi os. Installation still use old nrf24 package instead the new 2.0 thank you again

> nrf24@0.1.7-beta preinstall /home/pi/node_modules/node-red-contrib-nrf24/node_modules/nrf24
> ./build_rf24libs.sh

Buiding nrf24 library versions: RF24:v1.3.9 RF24NETWORK:v1.0.13 RF24MESH:v1.1.3 DRIVER:SPIDEV
Clone in 'RF24' in corso...
remote: Enumerating objects: 8814, done.
remote: Counting objects: 100% (4574/4574), done.
remote: Compressing objects: 100% (1285/1285), done.
remote: Total 8814 (delta 3376), reused 4319 (delta 3259), pack-reused 4240
Ricezione degli oggetti: 100% (8814/8814), 8.97 MiB | 2.54 MiB/s, fatto.
Risoluzione dei delta: 100% (5925/5925), fatto.
=>RF24...
Nota: eseguo il checkout di 'v1.3.9'.

Sei nello stato 'HEAD scollegato'. Puoi dare un'occhiata, apportare modifiche
sperimentali ed eseguirne il commit, e puoi scartare qualunque commit eseguito
in questo stato senza che ciò abbia alcuna influenza sugli altri branch tornando
su un branch.

Se vuoi creare un nuovo branch per mantenere i commit creati, puoi farlo
(ora o in seguito) usando l'opzione -c con il comando switch. Ad esempio:

  git switch -c <nome nuovo branch>

Oppure puoi annullare quest'operazione con:

  git switch -

Disattiva questo consiglio impostando la variabile di configurazione
advice.detachedHead a false

HEAD si trova ora a c0440e0 Fix compilation errors
c0440e0 (HEAD, tag: v1.3.9) Fix compilation errors
===> Building...
[SECTION] Detecting arm compilation environment.
  [INFO] arm-linux-gnueabihf-gcc not found.
  [INFO] arm-linux-gnueabihf-g++ not found.
[SECTION] Detecting target machine.
[OK] machine detected: SoC=BCM2835, Type=RPi, CPU=aarch64.
[SECTION] Detecting OS.
  [INFO] OS detected:LINUX.
[SECTION] Preparing configuration.
[SECTION] Saving configuration.
[SECTION] Cleaning previous builds.
[OK] Finished.
g++ -fPIC -marm -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -Ofast -Wall -pthread  -c RF24.cpp
g++: error: unrecognized command-line option ‘-marm’
g++: error: unrecognized command-line option ‘-mfpu=vfp’
g++: error: unrecognized command-line option ‘-mfloat-abi=hard’
make: *** [Makefile:42: RF24.o] Errore 1
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! nrf24@0.1.7-beta preinstall: `./build_rf24libs.sh`
npm ERR! Exit status 2
npm ERR!
ludiazv commented 2 years ago

yes. The update is trivial but travis CI is failing :(

ludiazv commented 2 years ago

now is updated. I had to migrate to github actions.