Based on my project that implements POCSAG protocol and HackRF transmitter on C++:
https://github.com/goshante/pocsag-hackrf-tx
libhackrf is required for build. If you want to know how to build it just follow aforementioned link to my project and read description. If you don't want to build just download it from releases.