I have this error message when running my Windows 7 compiled application on a Windows xp platform:
"The procedure entry point _ftol2_sse cannot be found in the library msvcrt.dll"
what should the fix be?
Printable View
I have this error message when running my Windows 7 compiled application on a Windows xp platform:
"The procedure entry point _ftol2_sse cannot be found in the library msvcrt.dll"
what should the fix be?
Use the appropriate version of msvcrt.dll for your app.
No, put it in the same folder as your executable.
i did your solution but no luck.
I solved this problem by removing any system library from my installer except libgcc_s_dw2-1.dll
You should check the license before putting any dll into your installer. For example, msvcrt is a Microsoft library and they require that you distribute the "Microsoft Visual C++ Runtime Redistributable" rather than random DLLs.
what will be the harm if I ignored the license?
Worse case? You get sued.
Best case? They don't notice your app and so leave you alone.
You should read the case against Christian Ghisler, who did a shareware app called Windows Commander. It was years before he received a cease and desist order from Microsoft, as they didn't like him using the name "Windows" in his software. Rather than going to court, he just changed the name (which, for a popular program, can be a complete nightmare - it's not exactly a simple recompile)
thanks for information.
Hello,
Had a similar issue some time ago. I think you have two options :
1) install the "Microsoft Visual C++ Runtime Redistributable" on your target PC (it can be downloaded from MS the website)
2) build a fully static application
Building a fully static application requires you to rebuild Qt as a 'static' build. For MingW, there still is a dependency on some mingw DLL. For VS, you have to make changes to the qmake.conf file in your mkspecs directory ( change the MD compiler flag to MT, and add /NODEFAULTLIB:â€MSVCRT†to the linker flags).
After several rebuilds and searching a lot of forums, I now finally have a standalone .EXE that I can just copy onto another PC :cool:
Best regards,
Marc
Don't forget static applications have different licensing requirements than dynamic ones. A lot of people seem to forget this.