github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/src/third_party/gflags/README_windows.txt (about) 1 You can compile this under Windows, if you want. The solution file 2 (for VC 7.1 and later) is in this directory. 3 4 I've been told the following steps work to compile this under win64: 5 1) Open the provided solution file 6 2) Click on the Win32 target (on the right of Debug/Release) 7 3) Choose Configuration Manager 8 4) In Active Solution Platforms, choose New... 9 5) In "Type of select the new platform", choose x64. 10 In "Copy settings from:" choose Win32. 11 6) Ok and then Close 12 13 I don't know very much about how to install DLLs on Windows, so you'll 14 have to figure out that part for yourself. If you choose to just 15 re-use the existing .sln, make sure you set the IncludeDir's 16 appropriately! Look at the properties for libgflags.dll. 17 18 You can also create a static library of gflags. To do this, add 19 /D GFLAGS_DLL_DECL= /D GFLAGS_DLL_DECLARE_FLAG= /D GFLAGS_DLL_DEFINE_FLAG= 20 to the compile line of every gflags .cc file. 21 22 If you create a static library that *uses* flags (that is, DEFINEs or 23 DECLAREs flags), you will need to add the following to every .cc file 24 that defines or declares a flag (it's safe to add them to every .cc 25 file in your project): 26 /D GFLAGS_DLL_DECLARE_FLAG= /D GFLAGS_DLL_DEFINE_FLAG=