可执行文件不运行R6010 [英] Executable not running R6010

查看:373
本文介绍了可执行文件不运行R6010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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.

提前感谢。

推荐答案

它发生在我完全一样,问题是,可执行文件读取一个配置文件和一些图像文件与可执行文件不在同一目录,显然不存在的程序尝试读取文件,以便发生错误。我做的是将从我的程序读取的文件复制到找到可执行文件和一切安排的同一目录。检查这是否是你的情况。问候!

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!

这篇关于可执行文件不运行R6010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆