# How to include RF24 and RF24Network libraries into my package on RaspberryPi

What is the right procedure to include these libraries into my ROS package?

I have to create a .cpp file (called for example broadcaster.cpp) in my package(called for example mypackageexample) that is something similar to:

    #include <ros/ros.h>
#include <RF24/RF24.h>
#include <RF24Network/RF24Network.h>

int main()
{
//mycode
}
return 0;


At this moment I am using VSCode and its plugin to develop with ROS. The link for the libraries are: http://tmrh20.github.io/RF24/ and https://github.com/nRF24/RF24Network

This package could be distributed and should work also on a raspberry pi different from mine.