Advertisement
Guest User

Untitled

a guest
Apr 15th, 2014
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. root@raspberrypi:/home/pi# g++ rahul.cpp -o rahul `pkg-config --cflags --libs opencv`
  2. /tmp/ccaIxwUW.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+0x144): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
  6. rahul.cpp:(.text+0x158): undefined reference to `cv::imshow(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cv::_InputArray const&)'
  7. rahul.cpp:(.text+0x178): undefined reference to `cv::waitKey(int)'
  8. rahul.cpp:(.text+0x19c): undefined reference to `cv::VideoCapture::isOpened() const'
  9. rahul.cpp:(.text+0x1c8): undefined reference to `cv::VideoCapture::~VideoCapture()'
  10. rahul.cpp:(.text+0x23c): undefined reference to `cv::VideoCapture::~VideoCapture()'
  11. rahul.cpp:(.text+0x268): undefined reference to `vtable for cv::VideoCapture'
  12. /tmp/ccaIxwUW.o: In function `cv::Mat::~Mat()':
  13. rahul.cpp:(.text._ZN2cv3MatD2Ev[_ZN2cv3MatD5Ev]+0x3c): undefined reference to `cv::fastFree(void*)'
  14. /tmp/ccaIxwUW.o: In function `cv::Mat::release()':
  15. rahul.cpp:(.text._ZN2cv3Mat7releaseEv[cv::Mat::release()]+0x58): undefined reference to `cv::Mat::deallocate()'
  16. collect2: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement