Giter Site home page Giter Site logo

3d-motion-tracking's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

3d-motion-tracking's Issues

make error in Ubuntu16.04,g++5.4,opencv3.2.0

When I build this project in Ubuntu16.04,g++5.4,opencv3.2.0, I got an error:

••••••••••••••••••••••••••••••
Link Target : build/FilterTransformation.o build/MeshObject.o build/Particle.o build/CamShiftTracker.o build/main.o build/VideoCamera.o build/MotionTracker.o build/TrackUtils.o build/IdentityTransformation.o build/Hungarian.o
••••••••••••••••••••••••••••••
g++ -std=c++11 -L/usr/local/opt/opencv3/lib -lopencv_core -lopencv_imgproc -lopencv_video -lopencv_videoio -lopencv_tracking -lopencv_optflow -lopencv_features2d -lopencv_ml -lopencv_highgui -lopencv_imgcodecs -lopencv_objdetect build/FilterTransformation.o build/MeshObject.o build/Particle.o build/CamShiftTracker.o build/main.o build/VideoCamera.o build/MotionTracker.o build/TrackUtils.o build/IdentityTransformation.o build/Hungarian.o -o bin/track
build/FilterTransformation.o: In function FilterTransformation::reshape(cv::Mat&)': FilterTransformation.cpp:(.text+0x235): undefined reference to cv::resize(cv::_InputArray const&, cv::OutputArray const&, cv::Size, double, double, int)'
build/FilterTransformation.o: In function FilterTransformation::toGray(cv::Mat&)': FilterTransformation.cpp:(.text+0x33c): undefined reference to cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)'
build/FilterTransformation.o: In function FilterTransformation::toBinarised(cv::Mat&)': FilterTransformation.cpp:(.text+0x492): undefined reference to cv::threshold(cv::InputArray const&, cv::OutputArray const&, double, double, int)'
build/FilterTransformation.o: In function FilterTransformation::toTruncated(cv::Mat&)': FilterTransformation.cpp:(.text+0x5e8): undefined reference to cv::threshold(cv::InputArray const&, cv::OutputArray const&, double, double, int)'
build/FilterTransformation.o: In function FilterTransformation::toZeroCut(cv::Mat&)': FilterTransformation.cpp:(.text+0x73e): undefined reference to cv::threshold(cv::InputArray const&, cv::OutputArray const&, double, double, int)'
build/FilterTransformation.o: In function cv::String::~String()': FilterTransformation.cpp:(.text._ZN2cv6StringD2Ev[_ZN2cv6StringD5Ev]+0x14): undefined reference to cv::String::deallocate()'
build/FilterTransformation.o: In function cv::String::operator=(cv::String const&)': FilterTransformation.cpp:(.text._ZN2cv6StringaSERKS0_[_ZN2cv6StringaSERKS0_]+0x28): undefined reference to cv::String::deallocate()'
build/FilterTransformation.o: In function cv::Mat::Mat(cv::Mat const&)': FilterTransformation.cpp:(.text._ZN2cv3MatC2ERKS0_[_ZN2cv3MatC5ERKS0_]+0x17d): undefined reference to cv::Mat::copySize(cv::Mat const&)'
build/FilterTransformation.o: In function cv::Mat::~Mat()': FilterTransformation.cpp:(.text._ZN2cv3MatD2Ev[_ZN2cv3MatD5Ev]+0x39): undefined reference to cv::fastFree(void*)'
build/FilterTransformation.o: In function cv::Mat::release()': FilterTransformation.cpp:(.text._ZN2cv3Mat7releaseEv[_ZN2cv3Mat7releaseEv]+0x4b): undefined reference to cv::Mat::deallocate()'
build/MeshObject.o: In function MeshObject::drawMesh(cv::Mat&, cv::Scalar_<double>, cv::Scalar_<double>, double, bool) const': MeshObject.cpp:(.text+0x863): undefined reference to cv::line(cv::InputOutputArray const&, cv::Point, cv::Point
, cv::Scalar
const&, int, int, int)'
MeshObject.cpp:(.text+0x9c8): undefined reference to cv::circle(cv::_InputOutputArray const&, cv::Point_<int>, int, cv::Scalar_<double> const&, int, int, int)' MeshObject.cpp:(.text+0xbbd): undefined reference to cv::rectangle(cv::InputOutputArray const&, cv::Point, cv::Point, cv::Scalar const&, int, int, int)'
build/MeshObject.o: In function MeshObject::drawHistoryPath(cv::Mat&, cv::Scalar_<double>) const': MeshObject.cpp:(.text+0xe07): undefined reference to cv::arrowedLine(cv::InputOutputArray const&, cv::Point, cv::Point, cv::Scalar const&, int, int, int, double)'
build/Particle.o: In function Particle::Particle(cv::Point_<float>&)': Particle.cpp:(.text+0x25): undefined reference to cv::KalmanFilter::KalmanFilter()'
Particle.cpp:(.text+0x14d): undefined reference to cv::KalmanFilter::KalmanFilter(int, int, int, int)' Particle.cpp:(.text+0x277): undefined reference to cv::setIdentity(cv::InputOutputArray const&, cv::Scalar const&)'
Particle.cpp:(.text+0x38c): undefined reference to cv::Mat::zeros(int, int, int)' Particle.cpp:(.text+0x46e): undefined reference to cv::setIdentity(cv::InputOutputArray const&, cv::Scalar const&)'
Particle.cpp:(.text+0x52d): undefined reference to cv::Mat::zeros(int, int, int)' Particle.cpp:(.text+0x66c): undefined reference to cv::setIdentity(cv::InputOutputArray const&, cv::Scalar const&)'
build/Particle.o: In function Particle::update(cv::Point_<float>&)': Particle.cpp:(.text+0x8c0): undefined reference to cv::KalmanFilter::correct(cv::Mat const&)'
build/Particle.o: In function Particle::predict()': Particle.cpp:(.text+0x95c): undefined reference to cv::KalmanFilter::predict(cv::Mat const&)'
build/Particle.o: In function cv::Mat::operator=(cv::Mat const&)': Particle.cpp:(.text._ZN2cv3MataSERKS0_[_ZN2cv3MataSERKS0_]+0x115): undefined reference to cv::Mat::copySize(cv::Mat const&)'
build/Particle.o: In function cv::Mat::create(int, int, int)': Particle.cpp:(.text._ZN2cv3Mat6createEiii[_ZN2cv3Mat6createEiii]+0x8e): undefined reference to cv::Mat::create(int, int const*, int)'
build/Particle.o: In function cv::Mat::operator=(cv::Mat&&)': Particle.cpp:(.text._ZN2cv3MataSEOS0_[_ZN2cv3MataSEOS0_]+0xe7): undefined reference to cv::fastFree(void*)'
build/Particle.o: In function cv::MatConstIterator::MatConstIterator(cv::Mat const*)': Particle.cpp:(.text._ZN2cv16MatConstIteratorC2EPKNS_3MatE[_ZN2cv16MatConstIteratorC5EPKNS_3MatE]+0xe0): undefined reference to cv::MatConstIterator::seek(int const*, bool)'
build/Particle.o: In function cv::MatConstIterator::operator++()': Particle.cpp:(.text._ZN2cv16MatConstIteratorppEv[_ZN2cv16MatConstIteratorppEv]+0x88): undefined reference to cv::MatConstIterator::seek(long, bool)'
build/Particle.o: In function cv::Mat_<float>::operator=(cv::Mat const&)': Particle.cpp:(.text._ZN2cv4Mat_IfEaSERKNS_3MatE[_ZN2cv4Mat_IfEaSERKNS_3MatE]+0x79): undefined reference to cv::Mat::reshape(int, int, int const*) const'
Particle.cpp:(.text._ZN2cv4Mat_IfEaSERKNS_3MatE[ZN2cv4Mat_IfEaSERKNS_3MatE]+0xdf): undefined reference to cv::Mat::convertTo(cv::_OutputArray const&, int, double, double) const' build/Particle.o: In function cv::Mat::operator=(cv::Mat&&)':
Particle.cpp:(.text._ZN2cv4Mat_IfEaSEONS_3MatE[_ZN2cv4Mat_IfEaSEONS_3MatE]+0x79): undefined reference to cv::Mat::reshape(int, int, int const*) const' Particle.cpp:(.text._ZN2cv4Mat_IfEaSEONS_3MatE[_ZN2cv4Mat_IfEaSEONS_3MatE]+0xe3): undefined reference to cv::Mat::convertTo(cv::_OutputArray const&, int, double, double) const'
build/CamShiftTracker.o: In function CamShiftTracker::trackMotion(cv::Mat&)': CamShiftTracker.cpp:(.text+0x18a): undefined reference to cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)'
CamShiftTracker.cpp:(.text+0x24d): undefined reference to cv::GaussianBlur(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)' CamShiftTracker.cpp:(.text+0x3aa): undefined reference to cv::calcHist(cv::Mat const*, int, int const*, cv::_InputArray const&, cv::_OutputArray const&, int, int const*, float const**, bool, bool)'
CamShiftTracker.cpp:(.text+0x45d): undefined reference to cv::normalize(cv::_InputArray const&, cv::_InputOutputArray const&, double, double, int, int, cv::_InputArray const&)' CamShiftTracker.cpp:(.text+0x523): undefined reference to cv::calcBackProject(cv::Mat const*, int, int const*, cv::_InputArray const&, cv::_OutputArray const&, float const**, double, bool)'
CamShiftTracker.cpp:(.text+0x5a4): undefined reference to cv::CamShift(cv::_InputArray const&, cv::Rect_<int>&, cv::TermCriteria)' CamShiftTracker.cpp:(.text+0x64d): undefined reference to cv::ellipse(cv::InputOutputArray const&, cv::RotatedRect const&, cv::Scalar const&, int, int)'
CamShiftTracker.cpp:(.text+0x7ed): undefined reference to cv::arrowedLine(cv::_InputOutputArray const&, cv::Point_<int>, cv::Point_<int>, cv::Scalar_<double> const&, int, int, int, double)' CamShiftTracker.cpp:(.text+0x824): undefined reference to cv::namedWindow(cv::String const&, int)'
CamShiftTracker.cpp:(.text+0x876): undefined reference to cv::imshow(cv::String const&, cv::_InputArray const&)' build/CamShiftTracker.o: In function cv::String::String(char const*)':
CamShiftTracker.cpp:(.text._ZN2cv6StringC2EPKc[_ZN2cv6StringC5EPKc]+0x4f): undefined reference to cv::String::allocate(unsigned long)' build/CamShiftTracker.o: In function cv::Mat::clone() const':
CamShiftTracker.cpp:(.text._ZNK2cv3Mat5cloneEv[_ZNK2cv3Mat5cloneEv]+0x3f): undefined reference to cv::Mat::copyTo(cv::_OutputArray const&) const' build/main.o: In function VideoCamera::~VideoCamera()':
main.cpp:(.text._ZN11VideoCameraD2Ev[_ZN11VideoCameraD5Ev]+0x33): undefined reference to cv::VideoCapture::~VideoCapture()' build/VideoCamera.o: In function VideoCamera::VideoCamera(std::string)':
VideoCamera.cpp:(.text+0x34): undefined reference to cv::VideoCapture::VideoCapture()' VideoCamera.cpp:(.text+0x55): undefined reference to cv::VideoCapture::VideoCapture(int)'
VideoCamera.cpp:(.text+0x78): undefined reference to cv::VideoCapture::~VideoCapture()' VideoCamera.cpp:(.text+0xa0): undefined reference to cv::VideoCapture::~VideoCapture()'
VideoCamera.cpp:(.text+0xca): undefined reference to cv::VideoCapture::~VideoCapture()' build/VideoCamera.o: In function VideoCamera::captureWith(ITransformation&)':
VideoCamera.cpp:(.text+0x110): undefined reference to cv::VideoCapture::isOpened() const' VideoCamera.cpp:(.text+0x15d): undefined reference to vtable for cv::VideoCapture'
VideoCamera.cpp:(.text+0x1ea): undefined reference to cv::namedWindow(cv::String const&, int)' VideoCamera.cpp:(.text+0x245): undefined reference to cv::imshow(cv::String const&, cv::_InputArray const&)'
build/VideoCamera.o: In function VideoCamera::captureRealtimeWith(ITransformation&, std::function<void (cv::Mat)>)': VideoCamera.cpp:(.text+0x395): undefined reference to cv::waitKey(int)'
build/VideoCamera.o: In function cv::String::String(std::string const&)': VideoCamera.cpp:(.text._ZN2cv6StringC2ERKSs[_ZN2cv6StringC5ERKSs]+0x69): undefined reference to cv::String::allocate(unsigned long)'
build/MotionTracker.o: In function MotionTracker::trackMotion(cv::Mat&)': MotionTracker.cpp:(.text+0x143): undefined reference to cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)'
MotionTracker.cpp:(.text+0x20f): undefined reference to cv::GaussianBlur(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)' MotionTracker.cpp:(.text+0x26d): undefined reference to cv::split(cv::Mat const&, cv::Mat*)'
MotionTracker.cpp:(.text+0x35d): undefined reference to cv::normalize(cv::_InputArray const&, cv::_InputOutputArray const&, double, double, int, int, cv::_InputArray const&)' MotionTracker.cpp:(.text+0x3e9): undefined reference to cv::medianBlur(cv::_InputArray const&, cv::_OutputArray const&, int)'
MotionTracker.cpp:(.text+0xa28): undefined reference to cv::namedWindow(cv::String const&, int)' MotionTracker.cpp:(.text+0xa7d): undefined reference to cv::imshow(cv::String const&, cv::_InputArray const&)'
build/MotionTracker.o: In function MotionTracker::calcHistBackProjection(cv::Mat&)': MotionTracker.cpp:(.text+0x1ac3): undefined reference to cv::calcHist(cv::Mat const*, int, int const*, cv::_InputArray const&, cv::_OutputArray const&, int, int const*, float const**, bool, bool)'
MotionTracker.cpp:(.text+0x1b6d): undefined reference to cv::normalize(cv::_InputArray const&, cv::_InputOutputArray const&, double, double, int, int, cv::_InputArray const&)' MotionTracker.cpp:(.text+0x1c39): undefined reference to cv::GaussianBlur(cv::InputArray const&, cv::OutputArray const&, cv::Size, double, double, int)'
MotionTracker.cpp:(.text+0x1cce): undefined reference to cv::calcBackProject(cv::Mat const*, int, int const*, cv::_InputArray const&, cv::_OutputArray const&, float const**, double, bool)' build/MotionTracker.o: In function cv::Mat::Mat(int, int, int, cv::Scalar
const&)':
MotionTracker.cpp:(.text._ZN2cv3MatC2EiiiRKNS_7Scalar_IdEE[_ZN2cv3MatC5EiiiRKNS_7Scalar_IdEE]+0xdb): undefined reference to cv::Mat::operator=(cv::Scalar_<double> const&)' build/TrackUtils.o: In function TrackUtils::detectCorners(cv::Mat&, int)':
TrackUtils.cpp:(.text+0x57): undefined reference to cv::Mat::zeros(cv::Size_<int>, int)' TrackUtils.cpp:(.text+0x113): undefined reference to cv::cornerHarris(cv::_InputArray const&, cv::_OutputArray const&, int, int, double, int)'
build/TrackUtils.o: In function TrackUtils::detectFeaturePoints(cv::Mat&, int, int, double, double)': TrackUtils.cpp:(.text+0x2bc): undefined reference to cv::goodFeaturesToTrack(cv::_InputArray const&, cv::_OutputArray const&, int, double, double, cv::_InputArray const&, int, bool, double)'
build/Hungarian.o: In function cv::operator<<(std::ostream&, cv::Mat const&)': Hungarian.cpp:(.text+0xa1): undefined reference to cv::Formatter::get(int)'
build/Hungarian.o: In function Hungarian::optimiseMinima() const': Hungarian.cpp:(.text+0x367): undefined reference to cv::operator-(cv::Mat const&, cv::Mat const&)'
Hungarian.cpp:(.text+0x509): undefined reference to cv::operator-(cv::Mat const&, cv::Mat const&)' build/Hungarian.o: In function cv::Mat::row(int) const':
Hungarian.cpp:(.text._ZNK2cv3Mat3rowEi[_ZNK2cv3Mat3rowEi]+0x47): undefined reference to cv::Mat::Mat(cv::Mat const&, cv::Range const&, cv::Range const&)' build/Hungarian.o: In function cv::Mat::col(int) const':
Hungarian.cpp:(.text._ZNK2cv3Mat3colEi[_ZNK2cv3Mat3colEi]+0x47): undefined reference to `cv::Mat::Mat(cv::Mat const&, cv::Range const&, cv::Range const&)'
collect2: error: ld returned 1 exit status
Makefile:40: recipe for target 'bin/track' failed
make: *** [bin/track] Error 1

Any help will be important for us, thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.