trying to compile an example out of the manual and it get me those error
it looks like you have two version conflicting. Remove all previous version of panda3d from your system, delete the build folder and try again.
Either that, or you failed to add the Panda lib’s to your project.
David