Hello everyone,
For my project I am using an in-house written HDG-code that is built by including header files of the install directory
ngsolve-install. To date, I have been using Netgen/NGSolve 5.0.0 for this purpose.
After the User Meeting I wanted to compile the code with the latest version of NGSolve. Off course, many syntax changes have to be made in the c++-files of the HDG-code, but I cannot manage to compile the code without adapting the header files in
ngsolve-install/include (
which I want to avoid at all times).
The problem are header files such as
nginterface.h that include header files in wrong directories,
Code:
#include "../core/ngcore.hpp"
This should be:
Code:
#include "core/ngcore.hpp"
However, this would be incorrect if you consider the directory
ngsolve-src/external_dependencies/netgen/libsrc/include.
From here you indeed get access to
ngcore.hpp by first going back to
libsrc.
Moreover, I noticed that the directory
libsrc/include contains
nginterface.h,
nginterface_v2.hpp and
nginterface_v2_impl.hpp.
The directory
ngsolve-install/include contains only the first two, whereas
nginterface_v2_impl.hpp is put into the subdirectory
ngsolve-install/include/include/.
(I am not very experienced with Make in general, so my next question may be very generic/basic)
Is there a specific reason why
make install does not preserve the directory structure as in the Netgen/NGSolve source directories?
Friendly greetings,
Jeremy