#Visual studio Includes

29 messages · Page 1 of 1 (latest)

narrow scarab
#

so im using vs 2022 rn and for some reason all my includes just dont work? im new to cpp coding and everything even in a new console application it it doesnt get any of my headers at all can anyone help me?

leaden palm
#

Can you show the code and the errors?

narrow scarab
leaden palm
#

Resintall VS

narrow scarab
scenic oarBOT
#

@narrow scarab has reached level 1. GG!

narrow scarab
#

2026 and 2022?

leaden palm
#

Sure

narrow scarab
#

and i use a external harddrive that had vs on it previously do i unplug that also?

narrow scarab
#

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

harsh blade
#

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.

narrow scarab
#

i dont know why

#

i cant open slns without this happening

#

i have reinstalled multiple times

harsh blade
narrow scarab
#

and tried to build it

solid radish
#

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?

narrow scarab
#

it works now