NetHack / NetHack

Official NetHack Git Repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stdio.h not found by cstd.h

tsukYYnethack opened this issue · comments

How did you start the command prompt that you are using?

The simplest way to set things up is to use one of the shortcuts that Visual Studio provides from Start, All Apps, which sets things up for the compiler.

starting-visual-studio-command-prompt

In VS 2022, original, the x64_x86 and the Shell Bash (used nmake clean if something interfears)

@nhmall idk, but i have reinstalled my windows cuz of some bugged things in the Regestry Editor and was messed up, i did it like 1 month ago and havent messed that much with programming since cuz i got back i have more time (anyway not trying to flex, but i got like big knowage in the IT sphere, but still aint sure if i got the default stdio.h, it could go very bad in later versions of the game) So i have installed again my VS, libs, Unix Subsystem and all that. I Just wanted to ask if something i havent installed right now, couldve made the problem (why idk?, cuz i dont know how the game is coded :D but i love it) sorry for wasting your time a 2nd time. Probably you remember this #1208 . Thank you, overall!

If you're using powershell, does doing this prior to starting your build help?

& 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\Launch-VsDevShell.ps1'

and the string to the end right? i will give feedback tomorow i have to sleep right now. Thank you solution!

intresting i dont have the Microsoft Visual Studio folder in Program Files is have one in the x86 but there are different things anyway i found the pat at D:\VS\Commo7\Tools\Launch-VsDevShell.ps1 but how do i put it in the bash. Just run with powershell or add to nmake package & ...