Sometimes (especially after an update), the xpp submodule would contain
outdated header files which could interfere with the compilation. These
header files then needed to be manually deleted. Now the header files
are in the build folder and so clearing the build folder will also clear
the header files.
The proto header files are now located at:
build/lib/xpp/generated-sources/include/xpp/proto
Because the proto files are now no longer in the same place as the other
header files, all #include directives for including proto headers no
longer work and need to be adjusted.
@Lomadriel I have tried a long time to get the old include directives to work but I failed. I first thought the line
somehow added an include flag only when processing the xpp header files, but it turns out that isn't the case, the whole thing also works without that line. It seems the only reason things like
Sometimes (especially after an update), the xpp submodule would contain outdated header files which could interfere with the compilation. These header files then needed to be manually deleted. Now the header files are in the build folder and so clearing the build folder will also clear the header files.
The proto header files are now located at:
Because the proto files are now no longer in the same place as the other header files, all
#include
directives for including proto headers no longer work and need to be adjusted.@Lomadriel I have tried a long time to get the old include directives to work but I failed. I first thought the line
somehow added an include flag only when processing the xpp header files, but it turns out that isn't the case, the whole thing also works without that line. It seems the only reason things like
worked was because those are paths relative to the header file.
Do you have any idea whether we can get the old include directives to work without having to prefix all of them with
xpp/
?