Executable not running R6010

17,418

Solution 1

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!

Solution 2

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/

Share:
17,418
Poka Yoke
Author by

Poka Yoke

Updated on June 04, 2022

Comments

  • Poka Yoke
    Poka Yoke about 2 years

    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.