E1696: cannot open source file "pandaFramework.h"

hello, I am installing panda3d in microsoft visual studio 2022 and I get the following errors,

-Error (active) E1696 cannot open source file “pandaSystem.h”

-Error (active) E0020 identifier “PandaFramework” is undefined

-Error C1083 Cannot open include file: ‘pandaFramework.h’ -Error C1083 Cannot open include file: ‘pandaFramework.h’.

I followed the panda3d installation from your panda3d.org page.

Hi,

did you set the include path in Visual Studio to the location of the header files? By default the location should be: C:\Panda3D-1.10.12-x64\include

The full instructions for configuring Visual Studio are here:

https://docs.panda3d.org/1.10/cpp/introduction/running-your-program