WalnutAppTemplate icon indicating copy to clipboard operation
WalnutAppTemplate copied to clipboard

Error on closing the app

Open TerraCraftere3 opened this issue 2 years ago • 3 comments

TerraCraftere3 avatar May 21 '23 15:05 TerraCraftere3

Hey, i get an error when i close the app(not the cmd) and Visual Studio says "Debug Assertion Failed!

Program: ...RayTracing.exe File: D:\Programs\Microsoft Visual Studio\2022...\include\vector Line: 1949 Expression: vector subscript out of range

For information on how your program can cause an assertion failure see the Visual C++ docs on asserts.

TerraCraftere3 avatar May 21 '23 15:05 TerraCraftere3

also when i close the error, Visual Studio doesnt close the thread(it shows the stop and debug button etc) when i click on ignore

TerraCraftere3 avatar May 21 '23 15:05 TerraCraftere3

I have the same problem. It fixed by changing the Walnut/Build-Walnut.lua file.

targetdir ("../bin/" .. outputdir .. "/%{prj.name}")
objdir ("../bin-int/" .. outputdir .. "/%{prj.name}")

just delete the ../ in the beginning.

mdaneshyab avatar Oct 18 '23 11:10 mdaneshyab