Problems with the old .sln project Created 2 weeks ago2024-05-11 13:23:37 UTC by sggs sggs

Created 2 weeks ago2024-05-11 13:23:37 UTC by sggs sggs

Posted 2 weeks ago2024-05-11 13:23:37 UTC Post #348788
Year ago i was worked on my mod and put it aside and a year later i can't build cuz i have seeing this error:

2>C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.39.33519\include\cctype(11,10): error C1083: Cannot open include file: 'ctype.h': No such file or directory
2>(compiling source file '../../dlls/crowbar.cpp')
2>C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.39.33519\include\cctype(11,10): error C1083: Cannot open include file: 'ctype.h': No such file or directory
2>(compiling source file '../../dlls/gauss.cpp')
2>C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.39.33519\include\cctype(11,10): error C1083: Cannot open include file: 'ctype.h': No such file or directory
2>(compiling source file '../../dlls/egon.cpp')
2>D:\.HLSDK\ad\halflife-updated-master\public\interface.cpp(1,10): error C1083: Cannot open include file: 'string.h': No such file or directory
2>C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.39.33519\include\cctype(11,10): error C1083: Cannot open include file: 'ctype.h': No such file or directory

also don't know why but my visual studio was uninstalled and when I installed it again and opened the .sln project, visual studio didn't ask me to upgrade to v143.I checked for ctype.h and it doesn't exist. What i should to do?
Posted 2 weeks ago2024-05-11 14:40:36 UTC Post #348789
im not even a programmer, but your sln file is trying to open files that don't exist.

2>C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.39.33519\include\cctype(11,10): error C1083: Cannot open include file: 'ctype.h': No such file or directory

Go manually browse to that folder and verify that the file exists. (ctype.h) i dont know where it's supposed to live, but your sln wants it and it cant find it. You may have to reconfigure some paths in your sln file
awkook awkookaka vhetutor
Posted 2 weeks ago2024-05-12 15:00:38 UTC Post #348793
Okay i just installed MSVC 143 - build tools C++ VS 2022 for x64/x86 (version 14.36-17.6) and the problem is gone.🥳
You must be logged in to post a response.