The window.cpp code in highgui for namedWindow ends up calling CV_NO_GUI_ERROR("cvNamedWindow").
CV_NO_GUI_ERROR outputs "The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script" I get the above error message when I run my cpp program when calling namedWindow. Looks like most of the window.cpp functions generate the same error.
What do I need to do to get the opencv window.cpp functions to work on my raspberry pi?