1: Configuration Properties--General->windows SDK version This version only specifies the version of the Windows SDK that exists for the current system, and an error occurs if it does not exist.
2: Configuration Properties, general-Output directory,
x86 $ (SolutionDir) $ (Configuration) \
x64 $ (SolutionDir) $ (Platform) \$ (Configuration) \
This directory can be used as an additional library directory in the add-in library directory, either as a linker, or in the header as follows:
" .. /utils/abc.h"#ifdef _debug#pragma comment (lib," ... /debug/utils.lib ")#else#pragma comment (lib,". /release/utils.lib ")#endif
In the additional library directory, you can use the following:
If you are a different project in the same solution, you can use the. /debug/and. /release/
Fill in the Lib file you need to link to in the add-in dependencies, linker-
Utils.lib
Utils2.lib
Utils3.lib
Wait a minute
3:c/c++-> code generation, runtime Release select Multi-threaded (/MT) debug Select multithreaded Debugging (/MTD) so that the generated project can be used without the VC + + runtime, but at the cost of the resulting file size will become larger.
4: Solution--Project dependencies, select the project to build, and then choose to rely on other projects in the same solution, then the dependent project will be Mr.
5:debug,release, Win32, and x64, each corresponding build method needs to set the corresponding configuration.
Visual Studio C + + build settings