#Visual studio Includes
29 messages · Page 1 of 1 (latest)
Can you show the code and the errors?
Resintall VS
do i delete both versions?
@narrow scarab has reached level 1. GG!
2026 and 2022?
Sure
and i use a external harddrive that had vs on it previously do i unplug that also?
okay i reinstalled
tried to build
and got the same error
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\cfloat(10,10): error C1083: Cannot open include file: 'float.h': No such file or directory
this is the build error
How are you running the program? Did you type a command in the terminal or did you click on the button? It is abnormal for the button to produce these errors, but there are many possible wrong commands in the terminal that could cause this.
i just clicked the build button
i dont know why
i cant open slns without this happening
i have reinstalled multiple times
Did you start a proper Visual Studio project or did you just open a cpp file and tried to run it? Creating a project should not have this problem.
i created a console application project
and tried to build it
maybe download vcpkg, set it up, and then put all your includes and libs inside the according include and lib paths inside vcpkg
usually you need to specify where your includes and libs are in the vc++ options page, but vcpkg doesn't require you to do that, it just automatically downloads libs and adds the paths for youo
oh oops it's internal lool
can you show me the project config's first page?
what does it show as the compiler?
i recently reinstalled windows
it works now