In file included from /usr/include/panda3d/config_linmath.h:20, from /usr/include/panda3d/lvecBase2.h:18, from /usr/include/panda3d/lpoint2.h:19, from /usr/include/panda3d/windowProperties.h:21, from /usr/include/panda3d/config_framework.h:19, from /usr/include/panda3d/pandaFramework.h:18, from main.cxx:1: /usr/include/panda3d/lsimpleMatrix.h:20:10: fatal error: Eigen/Dense: No such file or directory #include <Eigen/Dense> ^~~~~~~~~~~~~ compilation terminated.
Please advice
(Sorry about the mixup with posting this on the github error page, rdb)
You should find the location where libp3dtool.so et al are and then add that as an -L setting. They might not be in /usr/lib/panda3d but perhaps in something like /usr/lib/x86_64-linux-gnu/panda3d on your system.
I realize this page is old, but I stumbled across the same issue. It happens when trying to compile your first C++ program following the steps here (note I loaded the page for the current future version 1.11) Running your Program — Panda3D Manual
The solution here worked (adding I/usr/include/eigen3), but maybe that info could be added to the linked docs page? I tried for a while to include the directories inside panda’s built directory (built/include/parser-inc/) because there’s an Eigen/Dense there as well which I thought was missing.