I still get more or less the same error:
Scanning dependencies of target NNTest
[ 50%] Building CXX object CMakeFiles/NNTest.dir/itkNeuralNetworkIOTest.cxx.o
In file included from /usr/include/ITK-5.0/itkNeuralNetworkFileReader.h:21:0,
from /home/melrobin/projects/NN/itkNeuralNetworkIOTest.cxx:19:
/usr/include/ITK-5.0/itkMetaImageIO.h:25:10: fatal error: metaObject.h: No such file or directory
#include “metaObject.h”
^~~~~~~~~~~~~~
compilation terminated.
Where should metaObject.h be located? It appears that the MetaIO module is installed on my filesystem.