5

cant get opencv to work

view full story
linux-howto

https://bbs.archlinux.org – I am trying some similar code, I did pacman -S opencv, and then I am trying to compile a hello world in cpp named helloOcv.cxx (I had left it as cxx from when I was going to use cmake). I try entering:g++ -I /usr/include/opencv/ -lcv -lhighguiunfortunately I get:/usr/bin/ld: cannot find -lcv/usr/bin/ld: cannot find -lhighguicollect2: ld returned 1 exit statusThe opencv file is in usr/include/opencv and I can see the .h files located there. Any idea why this is not referencing?Edit: Using gcc ./helloOcv.c  -I/usr/include/opencv -lcv -lhighgui gives the same response, though if I change a f (HowTos)