qdot 调试错误

error: 'there.GPS::place' does not have class type

Serial.println(there.place.latitude());

--->place is the name of a function. To invoke that function, you need () after it.

类中不能用类内成员初始化数组

        int m_CameraNum;

        pthread_t m_CameraThreadsId[m_CameraNum];
        CCameraThread*  m_pCameraThreads[m_CameraNum];


.h文件用static定义函数,.cpp中不用

 调试cvCaptureFromFile(): [avi @ 0x10b1a70] sample size (2) != block align (4)

  虽然出现了这个错误,但图像不能显示的原因不在这,最后在Blob和qdot中都发现有这个错误,所以是显示模块的错。

浪费一晚上,居然没想到这方面。可见现象力是多么重要。




你可能感兴趣的:(qdot 调试错误)