MaybeShewill-CV / MNN-LaneNet

Lane detection model for mobile device via MNN project
75 stars 20 forks source link

cmake c++11 issue #3

Closed kaishijeng closed 4 years ago

kaishijeng commented 4 years ago

When I make build, I got the following issue:

lanenet_model.cpp:427:10: error: ‘iota’ is not a member of ‘std’ std::iota(indexes.begin(), indexes.end(), 0); ^~~~

My g++ version: g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

CMakefile has set CPP_11 flag on

Do you know how to fix this?

Thanks

MaybeShewill-CV commented 4 years ago

@kaishijeng Maybe you can google how to fix this. Besides my gcc version 5.4.0.:)

kaishijeng commented 4 years ago

OK, I fixed it. Do you know where I can find config.ini to run?

Thanks,

MaybeShewill-CV commented 4 years ago

@kaishijeng https://github.com/MaybeShewill-CV/MNN-LaneNet/blob/master/build/config.ini You may find it here:)

kaishijeng commented 4 years ago

It works and thanks for the helps.

MaybeShewill-CV commented 4 years ago

@kaishijeng Welcome:)

JunjieLiuSWU commented 4 years ago

OK, I fixed it. Do you know where I can find config.ini to run?

Thanks,

Hello, I have the same problem, how did you solve it?