weird clang bug where it doesn't generate append func for call in main.cpp. I copied the dll to get past the build error

This commit is contained in:
2025-08-19 19:40:29 -05:00
parent a7011eee89
commit 7bf24beb45
2 changed files with 56 additions and 42 deletions

View File

@@ -116,7 +116,7 @@
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>pthreadVC3d.lib;glfw3.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>ext\pthreads4w-code\build\Debug\pthreadVC3d.lib;glfw3.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@@ -145,4 +145,10 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
<ItemGroup>
<PthreadDLL Include="ext\pthreads4w-code\build\Debug\pthreadVC3d.dll" />
</ItemGroup>
<Target Name="CopyFiles">
<Copy SourceFiles="@(PthreadDLL)" DestinationFolder="$(TargetDir)" />
</Target>
</Project>