Advertisement
Guest User

Untitled

a guest
Apr 15th, 2014
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. root@raspberrypi:/home/pi# g++ $(pkg-config --cflags opencv) rahul.cpp $(pkg-config --libs opencv) -o imagetest -lopencv_core -lopencv_video
  2. /tmp/ccHalFfq.o: In function `main':
  3. rahul.cpp:(.text+0xac): undefined reference to `cv::namedWindow(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
  4. rahul.cpp:(.text+0xd4): undefined reference to `cv::VideoCapture::VideoCapture(int)'
  5. rahul.cpp:(.text+0x158): undefined reference to `cv::imshow(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cv::_InputArray const&)'
  6. rahul.cpp:(.text+0x178): undefined reference to `cv::waitKey(int)'
  7. rahul.cpp:(.text+0x19c): undefined reference to `cv::VideoCapture::isOpened() const'
  8. rahul.cpp:(.text+0x1c8): undefined reference to `cv::VideoCapture::~VideoCapture()'
  9. rahul.cpp:(.text+0x23c): undefined reference to `cv::VideoCapture::~VideoCapture()'
  10. rahul.cpp:(.text+0x268): undefined reference to `vtable for cv::VideoCapture'
  11. collect2: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement