Is there a forum thread I missed for troubleshooting compile issues with the VanillaDIY solution? If not could someone provide some guidance for a relative noob to c++ / .vcxproj compilation. I've cloned the vanilla gitlabs repo locally followed the steps in the README but am unable to successfully compile.
Windows SDK Version: 10 (latest version)
Visual Studio 2019: v16.4.2
C++ Toolset: v142
Errors I'm receiving:
Error LNK1104 cannot open file 'MQ2Main.lib' MQ2AutoClaim C:\Source\VeryVanilla\MQ2AutoClaim\LINK 1
Error LNK1104 cannot open file 'MQ2Main.lib' MQ2TSTrophy C:\Source\VeryVanilla\MQ2TSTrophy\LINK 1
Error C2338 Windows headers require the default packing option. Changing this can lead to memory corruption. This diagnostic can be disabled by building with WINDOWS_IGNORE_PACKING_MISMATCH defined. (compiling source file TelnetServer.cpp) MQ2Telnet C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h 2482
Error C2338 Windows headers require the default packing option. Changing this can lead to memory corruption. This diagnostic can be disabled by building with WINDOWS_IGNORE_PACKING_MISMATCH defined. (compiling source file WinTelnet.cpp) MQ2Telnet C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h 2482
Error C1189 #error: The <experimental/filesystem> header providing std::experimental::filesystem is deprecated by Microsoft and will be REMOVED. It is superseded by the C++17 <filesystem> header providing std::filesystem. You can define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING to acknowledge that you have received this warning. MQ2SQLite C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\experimental\filesystem 30
Not sure if it is safe to disable these using the mentioned DEFINEs.
Notes: Some of the .vcxproj are still targetting the deprecated v141_xp toolset even in the RELEASE configuration. Since I don't have these installed (they don't include the deprecated v141 toolset with the VS 2019 C++ package's default includes) I've changed these to target the v142 toolset. Not sure if this is an acceptable workaround or if I need to manually install the deprecated v141_xp toolset.
Windows SDK Version: 10 (latest version)
Visual Studio 2019: v16.4.2
C++ Toolset: v142
Errors I'm receiving:
Error LNK1104 cannot open file 'MQ2Main.lib' MQ2AutoClaim C:\Source\VeryVanilla\MQ2AutoClaim\LINK 1
Error LNK1104 cannot open file 'MQ2Main.lib' MQ2TSTrophy C:\Source\VeryVanilla\MQ2TSTrophy\LINK 1
Error C2338 Windows headers require the default packing option. Changing this can lead to memory corruption. This diagnostic can be disabled by building with WINDOWS_IGNORE_PACKING_MISMATCH defined. (compiling source file TelnetServer.cpp) MQ2Telnet C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h 2482
Error C2338 Windows headers require the default packing option. Changing this can lead to memory corruption. This diagnostic can be disabled by building with WINDOWS_IGNORE_PACKING_MISMATCH defined. (compiling source file WinTelnet.cpp) MQ2Telnet C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h 2482
Error C1189 #error: The <experimental/filesystem> header providing std::experimental::filesystem is deprecated by Microsoft and will be REMOVED. It is superseded by the C++17 <filesystem> header providing std::filesystem. You can define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING to acknowledge that you have received this warning. MQ2SQLite C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\experimental\filesystem 30
Not sure if it is safe to disable these using the mentioned DEFINEs.
Notes: Some of the .vcxproj are still targetting the deprecated v141_xp toolset even in the RELEASE configuration. Since I don't have these installed (they don't include the deprecated v141 toolset with the VS 2019 C++ package's default includes) I've changed these to target the v142 toolset. Not sure if this is an acceptable workaround or if I need to manually install the deprecated v141_xp toolset.




