Missing entry point from dll
Hi,
running my program from within qt i am getting the error "The program has unexpectedly finished." *.exe exited with code -1073741515
Debuging the application with a debug point on the first row of main gives me a message that the application has crash during startup.
When i am running the application outside qt and coping all the dependency gives me an other error: "The procedure entry point __gxx_personality_sj0 could not be located in the dynamic link library libstdc++-6.dll"
Running the application with "C:\Qt\Qt5.1.0\\5.1.0\mingw48_32\bin;C:\Qt\Qt5.1.0 \Tools\mingw48_32\bin;" added to the path works fine.
When copying the dll to the folder I probably made an mistake. But what can be the problem when running from within Qt?
any help is appreciate,
Delphi.
Re: Missing entry point from dll
You need to include the dll's you are using into the folders of debug and release. In debug you only include the ones external to Qt, for example I use an Oracle database so I have to include the dlls of Oracle.
Re: Missing entry point from dll
This sort of error message is typically the result of mixing binaries produced by incompatible versions of GCC. Make sure the DLLs you deploy are the ones from "C:\Qt\Qt5.1.0\\5.1.0\mingw48_32\bin" and not those from "C:\Qt\Qt5.1.0 \Tools\mingw48_32\bin". Make sure that you have done a completely clean build of the entire project with the same GCC compiler.