ref: 2d8bd0e14d76d4884718c73c8a002dd61e4ab987
parent: 75aa4a93bffee44e010ebd8277752ed51752a4d9
author: Olav Sørensen <olav.sorensen@live.no>
date: Sun Jul 5 13:34:42 EDT 2020
Visual Studio: Don't statically link CRT This gets rid of false virus positives on the Windows binaries.
--- a/release/help.txt
+++ b/release/help.txt
@@ -1,3 +1,8 @@
+Windows: If the program can't start at all, you might need to install
+"Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019"
+which can be found here:
+https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
+
== Frequently Asked Questions (FAQ) ==
* Is there a way to make the window bigger?
--- /dev/null
+++ b/release/readme now.txt
@@ -1,0 +1,6 @@
+If the program can't start at all, you might need to install
+"Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019"
+which can be found here:
+https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
+
+Only install one of them. If you have 64-bit Windows, you need x64, if you have 32-bit, you need x86.
\ No newline at end of file
--- a/vs2019_project/pt2-clone/pt2-clone.vcxproj
+++ b/vs2019_project/pt2-clone/pt2-clone.vcxproj
@@ -89,7 +89,6 @@
<PreprocessorDefinitions>NDEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;_USE_MATH_DEFINES;HAVE_M_PI</PreprocessorDefinitions>
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
- <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<IntrinsicFunctions>true</IntrinsicFunctions>
<StringPooling>true</StringPooling>
<MinimalRebuild>false</MinimalRebuild>
@@ -111,8 +110,6 @@
<IgnoreAllDefaultLibraries>
</IgnoreAllDefaultLibraries>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
- <AdditionalOptions>/NODEFAULTLIB:MSVCRT "notelemetry.obj" %(AdditionalOptions)</AdditionalOptions>
- <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
<MinimumRequiredVersion>5.1</MinimumRequiredVersion>
<OptimizeReferences>true</OptimizeReferences>
@@ -138,7 +135,6 @@
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>NDEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;_USE_MATH_DEFINES;HAVE_M_PI</PreprocessorDefinitions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
- <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<IntrinsicFunctions>true</IntrinsicFunctions>
<StringPooling>true</StringPooling>
<MinimalRebuild>false</MinimalRebuild>
@@ -159,8 +155,6 @@
<IgnoreAllDefaultLibraries>
</IgnoreAllDefaultLibraries>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
- <AdditionalOptions>/NODEFAULTLIB:MSVCRT "notelemetry.obj" %(AdditionalOptions)</AdditionalOptions>
- <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
@@ -193,7 +187,6 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
- <LanguageStandard>stdcpplatest</LanguageStandard>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<Optimization>Disabled</Optimization>
</ClCompile>
@@ -204,7 +197,6 @@
</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>
</IgnoreSpecificDefaultLibraries>
- <AdditionalOptions>/NODEFAULTLIB:MSVCRT "notelemetry.obj" %(AdditionalOptions)</AdditionalOptions>
<MinimumRequiredVersion>5.1</MinimumRequiredVersion>
<GenerateDebugInformation>true</GenerateDebugInformation>
<DataExecutionPrevention>false</DataExecutionPrevention>
@@ -235,7 +227,6 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
- <LanguageStandard>stdcpplatest</LanguageStandard>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<Optimization>Disabled</Optimization>
<OmitFramePointers>false</OmitFramePointers>
@@ -247,7 +238,6 @@
</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>
</IgnoreSpecificDefaultLibraries>
- <AdditionalOptions>/NODEFAULTLIB:MSVCRT "notelemetry.obj" %(AdditionalOptions)</AdditionalOptions>
<GenerateDebugInformation>true</GenerateDebugInformation>
<DataExecutionPrevention>false</DataExecutionPrevention>
<LargeAddressAware>true</LargeAddressAware>