2011/3/28 Julia Jacobson <[email protected]>: > Dear FLTK community, > In order to run applications compiled with Visual C++ (2008 Express) on other > Windows computers without distributing any DLLs, I think one has to use the > "Multithreaded /MT" option under Project -> Properties -> Code Genereation -> > Runtime. > When compiling a minimal Hello World C++ console program, everything works > fine. > When compiling the Hello World C++ application (works fine when using the > "Multithreaded-DLL /MD" option), Visual C++ complains about already defined > symbols in MSVCRT.lib. > However, when I tell Visual C++ to ignore MSVCRT.lib, it complains about > unresolved external references. > So my question is how you compile FLTK applications with Visual C++ without > having to install Microsoft DLLs on other computers to run it there. > Thanks in advance, > Julia
You need to choose Multithreaded, static link libray or in other words /MT option or also libcmt.lib In this link you will find the list of option for every kind of runtime you need: http://msdn.microsoft.com/en-us/library/abx4dbyh%28v=VS.90%29.aspx Oscar _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

