int main(){
// Initialize API and make login
// MyRequestListener is a concrete implementation of SynchronousRequestListener
MyRequestListener listener=MyRequestListener();
m->logout(&listener);
listener.wait();
}
When compiling this code, I get that error: undefined reference to mega::MegaApi::logout(mega::MegaRequestListener*)'.
The title itself is pretty explanatory.
When compiling this code, I get that error:
undefined reference to mega::MegaApi::logout(mega::MegaRequestListener*)'
.