So I wanted to mess around with some programming with openCV. I went to synaptic package manager and installed all the openCV libraries (including the dev ones). restarted my computer then tried compiling a beginners program that I found in a tutorial using the g++ cmd. The error I get is:
cv1.cpp:2: fatal error: highgui.h: No such file or directory
I have the most recent libraries for openCV (2.1.0-2). I tried upgrading/reinstalling the gnu toolchain using sudo apt-get, but that didn't install anything new because it said it was the most recent. I've also looked under the properties of the highgui (in synaptics) to discover taht the header file is indeed installed on my computer in /usr/include/opencv/highgui.h.
So why wouldn't the compiler be able to link to it? Any help would be much appreciated. Thanks.