可执行文件未运行 R6010

发布于 2024-12-09 23:07:06 字数 162 浏览 1 评论 0原文

我使用c++ qt在VS 2010上开发了一个项目。当我在调试或发布模式下运行该项目时,它工作得很好。但我想要的是通过双击生成的可执行文件来运行它,不幸的是,当我这样做时,我收到 R6010 错误.. 中止已被调用。

我想解决这个问题以帮助我为我的项目创建安装程序。

先感谢您。

I developed a project on VS 2010 using c++ qt. When I run the project in debug or release mode it works great. But what I want is to run it by double clicking on the generated executable, unfortunately when I do that I get a R6010 Error .. abort has been called.

I want to solve this problem to help me creating an installer for my project.

Thank you in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

⊕婉儿 2024-12-16 23:07:06

它发生在我身上完全相同,问题是可执行文件正在读取配置文件和一些与可执行文件不在同一目录中的图像文件,并且显然不存在的程序试图读取文件,因此发生了错误。我所做的是将从程序中读取的文件复制到找到可执行文件并安排所有内容的同一目录中。检查这是否是您的情况。问候!

It happened to me exactly the same, and the problem was that the executable was reading a configuration file and some image files that were not in the same directory as the executable, and obviously nonexistent program attempted to read files so the error occurred. What I did was copy the files that are read from my program to the same directory where the executable is found and everything was arranged. Check if this is your case. Greetings!

撞了怀 2024-12-16 23:07:06

今天我遇到了同样的错误,我的解决方案是调试并检查 C++ 函数的特定调用是否读取或写入数据超出范围。就我而言,我试图访问 STL 容器中不存在的元素。

http://www.cplusplus.com/forum/beginner/41485/

Today I had the same error, my solution was to debug and checking if specific call of C++ function reads or writes data out of range. In my case I was trying to access to element of STL container that didn't exist.

http://www.cplusplus.com/forum/beginner/41485/

撩起发的微风 2024-12-16 23:07:06

您很可能用完了虚拟地址空间。可能是因为您正在制作 x86 二进制文件,这限制了用户模式进程将获得的 VA 空间。尝试使用 x64 二进制文件。 Win 8.1 的内存管理比 Win 7 好得多(当占用空间达到 GB 时,Win7 会变得无响应)

Most likely you are running out of Virtual Address space. Possibly because you are making x86 binary and that is restricting the VA space that user mode process will get. Try using x64 binary. Memory management of Win 8.1 is much better than Win 7 (Win7 becomes unresponsive when footprint reaches GBs)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文