Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win10+VS2019 运行时报错 #9

Open
AkerIII opened this issue Jul 6, 2021 · 0 comments
Open

Win10+VS2019 运行时报错 #9

AkerIII opened this issue Jul 6, 2021 · 0 comments

Comments

@AkerIII
Copy link

AkerIII commented Jul 6, 2021

使用VS2019的Cmake工程,能成功编译,但是在运行的时候会在main.cpp 2171行报错


Microsoft Visual C++ Runtime Library

Debug Assertion Failed!

Program: D:\Projects\BCDPlan\out\build\x64-Debug\BCD_Planner.exe
File: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\vector
Line: 116

Expression: cannot seek vector iterator after end

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)


中止(A) 重试(R) 忽略(I)

Expression: cannot seek vector iterator after end,似乎是vector插入超出了结尾范围

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant