willSapgreen / stereo-vision

A multiple computer vision and machine learning algorithms development/integration
GNU General Public License v3.0
133 stars 63 forks source link

How to build this project? #2

Closed YiChenCityU closed 3 years ago

willSapgreen commented 5 years ago

@YiChenCityU , can you specify

  1. error
  2. the system you are using Thank you.
buaa1989 commented 5 years ago

HI, I met some errors when I built the project.

1 errors: /home/ry/3D/stereo-vision/stereomapperbak/framecapturethread.cpp:102: error: ‘class CalibIOKITTI’ has no member named ‘height’ Mx = cvCreateMat(calib->height(),calib->width(),CV_32F); ^ /home/ry/3D/stereo-vision/stereomapperbak/framecapturethread.cpp:102: error: ‘class CalibIOKITTI’ has no member named ‘width’ Mx = cvCreateMat(calib->height(),calib->width(),CV_32F); ^ /home/ry/3D/stereo-vision/stereomapperbak/framecapturethread.cpp:109: error: ‘class CalibIOKITTI’ has no member named ‘K1’ cv::Mat tmpK1 = cv::cvarrToMat( calib->K1 ); ^ ....

2 ubuntu 16.4 QT4.8

Thanks

willSapgreen commented 3 years ago

Hello @buaa1989 cvCreateMat and cvarrToMat are the functions in OpenCV. Please make sure you have OpenCV installed and link it properly.