Skip to content

Compile error: internal compiler error: Segmentation fault #35

@zjuzly

Description

@zjuzly

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::TLSDatacv::instr::NodeDataTls':
/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

Looking forward to your reply!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions