Hello everyone,
I am currently working with Allpix2, and I can run simulations without any issues. However, when I try to use certain tools, particularly the Mesh Converter, I encounter difficulties.
Firstly, I’m trying to obtain the executable for the MeshConverter.cpp file using the command g++ -o MeshConverter MeshConverter.cpp , but I’m getting an error indicating that it cannot find the file in the inclusion directory.
In file included from /usr/local/include/ROOT/RConfig.hxx:23,
from /usr/local/include/RtypesCore.h:23,
from /usr/local/include/Compression.h:15,
from /usr/local/include/TTree.h:29,
from MeshConverter.cpp:24:
/usr/local/include/RConfigure.h:30:4: warning: #warning “The C++ standard in this build does not match ROOT configuration (201703L); this might cause unexpected issues” [-Wcpp]
30 | # warning “The C++ standard in this build does not match ROOT configuration (201703L); this might cause unexpected issues”
| ^~~~~~~
MeshConverter.cpp:26:10: fatal error: Eigen/Eigen: No such file or directory
26 | #include <Eigen/Eigen>
| ^~~~~~~~~~~~~
compilation terminated.
I have tried replacing the path with the complete access path:
#include <Math/Vector3D.h>
#include <TTree.h>
#include </usr/include/eigen3/Eigen/Eigen>
#include “/allpix-squared/include/core/config/ConfigReader.hpp”
#include “/allpix-squared/include/core/config/Configuration.hpp”
#include “/allpix-squared/include/core/config/exceptions.h”
#include “/allpix-squared/include/core/module/ThreadPool.hpp”
#include “/allpix-squared/include/core/utils/log.h”
#include “/allpix-squared/include/tools/units.h”
But I still face the same problem:
In file included from /usr/local/include/ROOT/RConfig.hxx:23,
from /usr/local/include/RtypesCore.h:23,
from /usr/local/include/Compression.h:15,
from /usr/local/include/TTree.h:29,
from MeshConverter.cpp:24:
/usr/local/include/RConfigure.h:30:4: warning: #warning “The C++ standard in this build does not match ROOT configuration (201703L); this might cause unexpected issues” [-Wcpp]
30 | # warning “The C++ standard in this build does not match ROOT configuration (201703L); this might cause unexpected issues”
| ^~~~~~~
In file included from /allpix-squared/include/core/config/ConfigReader.hpp:22,
from MeshConverter.cpp:28:
/allpix-squared/include/core/config/Configuration.hpp:24:10: fatal error: core/config/exceptions.h: No such file or directory
24 | #include “core/config/exceptions.h”
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Could you please assist me with this issue?
Thank you in advance for your help!