When I include mapmap into my project, it report internal compiler error: Segmentation fault.
The detail error information:
"
In file included from /usr/local/include/opencv2/core.hpp:3281:0,
from /usr/local/include/opencv2/opencv.hpp:52,
from /mnt/dev/myproject/src/test_mapmap.h:11,
from /mnt/dev/myproject/src/test_mapmap.cc:13:
/usr/local/include/opencv2/core/utility.hpp: In instantiation of 'class cv::TLSData':
/usr/local/include/opencv2/core/utility.hpp:1247:26: required from here
/usr/local/include/opencv2/core/utility.hpp:764:17: internal compiler error: Segmentation fault
inline void gather(std::vector<T*> &data) const
^
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-5/README.Bugs for instructions.
"
While the error missing when I comment the reference to mapmap.
I try to change the opencv version to 4.1, unfortunately it report the same error!
The gcc version:
gcc (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010
opencv: 3.4.0
When I include mapmap into my project, it report internal compiler error: Segmentation fault. The detail error information: " In file included from /usr/local/include/opencv2/core.hpp:3281:0, from /usr/local/include/opencv2/opencv.hpp:52, from /mnt/dev/myproject/src/test_mapmap.h:11, from /mnt/dev/myproject/src/test_mapmap.cc:13: /usr/local/include/opencv2/core/utility.hpp: In instantiation of 'class cv::TLSData':
/usr/local/include/opencv2/core/utility.hpp:1247:26: required from here
/usr/local/include/opencv2/core/utility.hpp:764:17: internal compiler error: Segmentation fault
Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-5/README.Bugs for instructions. " While the error missing when I comment the reference to mapmap. I try to change the opencv version to 4.1, unfortunately it report the same error!
The gcc version: gcc (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010 opencv: 3.4.0
Looking forward to your reply!