I think the executable instruction for Chapter5 should be, "./Chapter5 ../data/test.pgm" when inside the build dir. That's how I got it to work.