Problem with C++ on ubuntu 14.04 lts.

Which exact method did you use to install Panda3D? Which .deb from the download page, or which commands to compile it?

Are you on a 64-bits or 32-bits system?