Home > Software engineering >  Vs2017 in other computer operation of the generated exe program "has stopped running, 00000007
Vs2017 in other computer operation of the generated exe program "has stopped running, 00000007

Time:11-21

Background: wrote a use opencv, dlib, mysql program, the dependence on directory, libraries are on the same project, relese version, set in the use MFC in a static library , code generation is set to MT , the generated exe, direct point exe, in his own computer compilation runs ok
The project whole kao to another computer, click exe can result in some running, some error 0000007 b ,

What is less what things,,,, does anyone know what is missing?

CodePudding user response:

How to find the right, exe runtime opencv dlib MySQL include directory, library files, should be different and vs project?

CodePudding user response:

https://blog.csdn.net/u010205478/article/details/88682932


CodePudding user response:

refer to the second floor zgl7903 response:
https://blog.csdn.net/u010205478/article/details/88682932
exe depends analysis such as well for a long time, and then a pile of red don't understand,,, the key is some running, some can not run, tried several computers, and can not run three computers, there are two didn't load vs

CodePudding user response:

An error, it is not the problem of lack what library, see the code, and what is your target computer system? Xp is necessary in C/C + + command line setting/Zc: threadSafeInit -

CodePudding user response:

Prerequisite: first add opencv's bin directory to environment variables (also seems not too later?/exe or DLL in opencv directory, mysql bin to join environment variable, the his libmysql. DLL kao to exe with directory (it database connection)

Process: when the program running on Windows 7, said first lack ssleay32. DLL, from system system32 folder kao a,
Then said the lack of libeay32. DLL, system32 kao up again, then the program can run,

Conclusion: the same wrong before, so also kao this two files, forgot where in here , estimate is not x64, because can search a heap, so 000007 b,
Run independently, normally, should set the runtime libraries to MT, so if you quote this kind of mistake is used mostly in the form of DLL errors, try to rejoin the lack of DLL,

Although can run in the end, but the program directly stopped running, not clear, this could be due to the reason of the program itself, such as the computer didn't pack cuda, cudnn, etc

CodePudding user response:

reference 4 floor hurryboylqs response:
an error, it is not the problem of lack what library, see the code, and what is your target computer system? Xp is necessary in C/C + + command line setting/Zc: threadSafeInit -
is really lack of libraries, the first time didn't pay attention to the position of the copy of the DLL, so wrong
  • Related