Repository: opencv
Issue: opencv Compilation fails
Labels: wontfix,category: build/install,category: 3rdparty

I ran into an unsolvable problem

erro as follows
```
home/zhongsy/cotek_smart_ws/src/cotek_embedded/include/cotek_embedded/hardware_driver/controlcan.h:48:13: error: expected identifier before ‘int’
 #define INT int
             ^
/home/zhongsy/cotek_smart_ws/src/cotek_embedded/include/cotek_embedded/hardware_driver/controlcan.h:48:13: error: expected ‘}’ before ‘int’
In file included from /usr/include/opencv2/opencv.hpp:47:0,
                 from /home/zhongsy/cotek_smart_ws/src/cotek_embedded/include/cotek_embedded/device_driver/d435_driver.h:5,
                 from /home/zhongsy/cotek_smart_ws/src/cotek_embedded/include/cotek_embedded/model_entity/model/hardware_interface.h:51,
                 from /home/zhongsy/cotek_smart_ws/src/cotek_embedded/include/cotek_embedded/model_entity/jack_up_hardware.h:8,
                 from /home/zhongsy/cotek_smart_ws/src/cotek_embedded/src/jack_up_hardware.cc:4:
/usr/include/opencv2/core/core.hpp:4129:12: error: expected unqualified-id before ‘=’ token
         INT=1, //!< an integer
            ^
/usr/include/opencv2/core/core.hpp:4144:22: error: expected unqualified-id before ‘)’ token
     CV_WRAP FileNode();
                      ^
/usr/include/opencv2/core/core.hpp:4146:14: error: expected unqualified-id before ‘const’
     FileNode(const CvFileStorage* fs, const CvFileNode* node);
              ^
/usr/include/opencv2/core/core.hpp:4146:14: error: expected ‘)’ before ‘const’
/usr/include/opencv2/core/core.hpp:4148:14: error: expected unqualified-id before ‘const’
     FileNode(const FileNode& node);
              ^
/usr/include/opencv2/core/core.hpp:4148:14: error: expected ‘)’ before ‘const’
/usr/include/opencv2/core/core.hpp:4150:49: error: non-member function ‘cv::FileNode cv::operator[](const string&)’ cannot have cv-qualifier
     FileNode operator[](const string& nodename) const;
                                                 ^
/usr/include/opencv2/core/core.hpp:4150:49: error: ‘cv::FileNode cv::operator[](const string&)’ must be a nonstatic member function
/usr/include/opencv2/core/core.hpp:4152:55: error: non-member function ‘cv::FileNode cv::operator[](const char*)’ cannot have cv-qualifier
     CV_WRAP FileNode operator[](const char* nodename) const;
                                                       ^
/usr/include/opencv2/core/core.hpp:4152:55: error: ‘cv::FileNode cv::operator[](const char*)’ must be a nonstatic member function
/usr/include/opencv2/core/core.hpp:4154:40: error: non-member function ‘cv::FileNode cv::operator[](int)’ cannot have cv-qualifier
     CV_WRAP FileNode operator[](int i) const;
                                        ^
/usr/include/opencv2/core/core.hpp:4154:40: error: ‘cv::FileNode cv::operator[](int)’ must be a nonstatic member function
/usr/include/opencv2/core/core.hpp:4156:24: error: non-member function ‘int cv::type()’ cannot have cv-qualifier
     CV_WRAP int type() const;

```

my cmakelist as folow
`
include_directories(
  /usr/local/opencv4.4.0/include
)

link_directories(
  /usr/local/opencv4.4.0/lib
)
`


I hope everyone can see what went wrong