After setting it up and replacing what needed to be replaced Panda still can’t find the header files.
In my system headers files are in /usr/include/panda3d but running: g++ -c main.cxx -o main.o -std=gnu++11 -O2 -I{/usr/include/panda3d/} just gives me:
fatal error: pandaFramework.h: No such file or directory even though the header file is physically there. I ran the ls command on /usr/include/panda3d:
I had it in my system. I had to create symlinks. The command now runs and compiles ! Thank you for your assistance H3llboy ! I now have main.o file in my directory. When I run it it gives me permission error. So close to actually make it work.