I can't seem to access the public interface of the event object. So far I seem to be able to get everything else to work, I can send and receive messages from the server, but I have to use the [&](string const& name, sio::message::ptr const& data, bool is_ack, sio::message::ptr& ack_resp) signature. I'd like to be able to use the [&](sio::event& ev) signature but when I try to do something like ev.get_messge() my complier throws an error
Undefined symbols for architecture x86_64:
"sio::event::get_message() const", referenced from:
_main in test.cpp.o
I can't seem to access the public interface of the event object. So far I seem to be able to get everything else to work, I can send and receive messages from the server, but I have to use the
[&](string const& name, sio::message::ptr const& data, bool is_ack, sio::message::ptr& ack_resp)signature. I'd like to be able to use the[&](sio::event& ev)signature but when I try to do something likeev.get_messge()my complier throws an error