I am getting this error whenever I call cv::waitKey():
ASSERT: "false" in file qasciikey.cpp, line 501
I am not sure why I am getting this error. I am running on an Ubuntu Server 14.04 EC2 instance connected through MobaXterm on Windows. If I run all of the same code on a normal ubuntu machine, all works great.
This is the line where this happens:
char key = cvWaitKey(33);