Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

cannot find -lopencv_core

$
0
0
Hi, I am new to openCV programming. I am currently programming a Beagleboard-xm. I used a simple c++ file which needs to load a image and convert it to black and white, but I always get the same errors. I am not sure if it is my openCV version which is version 2.2 or if it is libraries that are not shared. code looks like this: include opencv2/opencv.hpp include iostream after image is obtained..... cvtColor(input, gray_image, cv::COLOR_BGR2GRAY); // This is where the error for the COLOR_BGR2GRAY occur. imwrite("Lena_gray.jpg", gray_image); end of code. when i make I receive this exact error: root@beagleboard:~/Desktop/GrayOpenCV# g++ gray.cpp -o gray -lopencv_core -lopencv_imgproc -lopencv_highgui /usr/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: cannot find -lopencv_core collect2: ld returned 1 exit status Can anyone please help me.

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>