SyntaxFix
Write A Post
Hire A Developer
Questions
If you installed opencv 2.4.2 then you need to change the -lopencv_core240 to -lopencv_core242
-lopencv_core240
-lopencv_core242
I made the same mistake.