Friday, 15 June 2012

c++ - The procedure entry point __gxx_personality_sj0 could not be located in... -



c++ - The procedure entry point __gxx_personality_sj0 could not be located in... -

i have managed (somehow) cross-compile qt5 mingw-w64 project's compiler 32-bit windows. of libraries have been installed ~/i686-w64-mingw32.

i have cmake-based qt project trying cross-compile. next these instructions, have been able project compile. far good.

unfortunately, when executing resulting binary on windows, end getting error:

"the procedure entry point __gxx_personality_sj0 not located in dynamic link library [application_name].exe"

* [application_name] total path main executable

i've heard type of problem can caused mixing libraries compiled different versions of mingw. on machine (all of libraries , executable) have been compiled same compiler (the i686-w64-mingw32 toolchain).

also, find odd error complains entry point beingness missing application executable instead of 1 of .dll files.

what cause error , can done remedy it?

in end, turned out problem caused wayward libstdc++-6.dll somewhere in $path. after ensuring re-create built mingw-w64 in application's directory, worked.

c++ windows cross-compiling mingw-w64

No comments:

Post a Comment