Thanks to the comprehensive troubleshooting guide to opencv installation posted by Osman, some install errors could be referred and fixed. But some errors are not included in that guide, as the chance of the error is various.
The point of this post is to add another minor error that encountered in my v4l making for opencv installing.
‘QMainWindow: No such file or directory’
‘No such file or directory’, this type of error used to be caused by the lack of some libraries not installed yet. The potential ways to fix these are to install the lacked libs, of course. But it may take a little time to check which libs are lacked, as the error message used to tell limited information.
In this example, ‘QMainWindow’ turned out to be relevant with libqt4-dev after a quick search in the internet. So, using the command below could easily solve that problem.
Carrying on the installation until it finishes. Then redo the v4l make, binggo~ the problem’s gone!