2008/11/11 Daniel Cavalcanti <[EMAIL PROTECTED]>: > Yeah I've had this problem before. Try running depends.exe on your bad > executable, that should tell you which are the missing DLLs. > > If they are msvc**** then you have 2 choices: > Either change the linking settings from all projects from MD to MT (dynamic > to static) or find those DLLs in your system and paste them in the directory > of the application. >
I agree with you: this is a compilation or distribution problem, not a Wt problem. But I'm still confused where the error comes from. - If you compile everything on the system where you run on, you cannot have this error. All crts are properly installed during compiler installation. - Distribution of debug executables will always cause this problem, as you are not allowed to redistribute debug crts. - If you copy non-debug msvc2005/msvc2008 binaries to a freshly installed windows, I you will also have this error, unless you used the static versions of the runtime DLLs (MT), because the C runtime libraries are not available on a fresh windows installation. Use an installer and use the appropriate merge modules in the installer. Alternatively, put the three DLLs *and* a manifest file in the same directory as the executable. - If you use a precompiled boost (or other dependency library) which was compiled with a different version of the CRT than what your compiler uses, I can imagine that you would also get this error. However, I have never been in that situation (I used precompiled boost with MSVC2005 EE and MSVC2008 EE). Depends.exe should be able to point this out. This is a compilation problem that you must fix by recompiling your dependency libraries (or get a proper binary distribution). Regards, Wim. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
