Hi,
thank you for providing the code. I am trying to get the project running between two Pi Zeros WH 2017 32 bit.
I have installed https://github.com/nRF24/RF24 library and after running "make -j4" of nrfnet I get:
[ 37%] Built target util
[ 50%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/nerfnet_main.cc.o
[ 62%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/primary_radio_interface.cc.o
[ 75%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/radio_interface.cc.o
[ 87%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/secondary_radio_interface.cc.o
[100%] Linking CXX executable nerfnet
/usr/bin/ld: /usr/local/lib/librf24.so: undefined reference to gpioSetISRFunc' /usr/bin/ld: /usr/local/lib/librf24.so: undefined reference to gpioInitialise'
collect2: error: ld returned 1 exit status
make[2]: *** [nerfnet/net/CMakeFiles/nerfnet.dir/build.make:146: nerfnet/net/nerfnet] Error 1
make[1]: *** [CMakeFiles/Makefile2:131: nerfnet/net/CMakeFiles/nerfnet.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
According to the discussion a person added some constants to make their code work to make it work. Would this work with your code? If so, where could I carry out the modification?
If it is smth else I'll be grateful for your advice!
Many thanks for your attention in advance.
Best,
Ilia
Hi,
thank you for providing the code. I am trying to get the project running between two Pi Zeros WH 2017 32 bit.
I have installed https://github.com/nRF24/RF24 library and after running "make -j4" of nrfnet I get:
[ 37%] Built target util[ 50%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/nerfnet_main.cc.o[ 62%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/primary_radio_interface.cc.o[ 75%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/radio_interface.cc.o[ 87%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/secondary_radio_interface.cc.o[100%] Linking CXX executable nerfnet/usr/bin/ld: /usr/local/lib/librf24.so: undefined reference togpioSetISRFunc'/usr/bin/ld: /usr/local/lib/librf24.so: undefined reference togpioInitialise'collect2: error: ld returned 1 exit statusmake[2]: *** [nerfnet/net/CMakeFiles/nerfnet.dir/build.make:146: nerfnet/net/nerfnet] Error 1make[1]: *** [CMakeFiles/Makefile2:131: nerfnet/net/CMakeFiles/nerfnet.dir/all] Error 2make: *** [Makefile:91: all] Error 2According to the discussion a person added some constants to make their code work to make it work. Would this work with your code? If so, where could I carry out the modification?
If it is smth else I'll be grateful for your advice!
Many thanks for your attention in advance.
Best,
Ilia