Got it working!
Messaging sends a Message object, not just a void pointer.
Switched to CMake.