mathmanu / caffe-jacinto

This repository has moved. The new link can be obtained from https://github.com/TexasInstruments/jacinto-ai-devkit
116 stars 35 forks source link

Open CV issue on Jetson TX2 #21

Open jpwang99 opened 6 years ago

jpwang99 commented 6 years ago

Hi, I am trying to install caffe-jacinto onto my jetson tx2 and I keep running to the following error:

CXX/LD -o .build_release/tools/upgrade_net_proto_text.bin .build_release/lib/libcaffe-nv.so: undefined reference to cv::VideoCapture::set(int, double)' .build_release/lib/libcaffe-nv.so: undefined reference tocv::VideoWriter::write(cv::Mat const&)' .build_release/lib/libcaffe-nv.so: undefined reference to cv::VideoCapture::open(cv::String const&)' .build_release/lib/libcaffe-nv.so: undefined reference tocv::VideoCapture::release()' .build_release/lib/libcaffe-nv.so: undefined reference to cv::VideoCapture::operator>>(cv::Mat&)' .build_release/lib/libcaffe-nv.so: undefined reference tocv::VideoWriter::VideoWriter(cv::String const&, int, double, cv::Size_, bool)' .build_release/lib/libcaffe-nv.so: undefined reference to cv::VideoCapture::isOpened() const' .build_release/lib/libcaffe-nv.so: undefined reference tocv::VideoCapture::get(int) const' .build_release/lib/libcaffe-nv.so: undefined reference to cv::VideoWriter::VideoWriter()' .build_release/lib/libcaffe-nv.so: undefined reference tocv::VideoCapture::open(int)' .build_release/lib/libcaffe-nv.so: undefined reference to cv::VideoWriter::isOpened() const' .build_release/lib/libcaffe-nv.so: undefined reference tocv::VideoWriter::~VideoWriter()' .build_release/lib/libcaffe-nv.so: undefined reference to cv::VideoCapture::~VideoCapture()' .build_release/lib/libcaffe-nv.so: undefined reference tocv::VideoCapture::VideoCapture()' collect2: error: ld returned 1 exit status Makefile:655: recipe for target '.build_release/tools/get_image_size.bin' failed

any help?

Thanks

mathmanu commented 6 years ago

It looks like some of the VideoCapture functions are not supported in Jetson TX2. I haven't used Jetson TX2, so I don't know. May be you can comment out those functions and try building?