<div dir="ltr">Dear all,<div>            I found some minor issues in the code of this publication.           </div><div>As with many other publications, the code has compilation problems in new versions of gcc, because of the ordering of the linker flags (see below).</div>
<div>In addition there are two minor mistakes in the README.txt. First it mentions two example files that are not present and the example usage seems wrong:</div><div><br></div><div><div>"The software comes with two test images and the inpainting can be done as follows:</div>
<div>        fstv resting.png resting.png resting_inpainted.png"</div></div><div><br></div><div>I think the second resting.png is wrong, should be something like mask.png</div><div><br></div><div><br></div><div>With respect to the Makefile, these lines</div>
<div>$(FBIN): $(FSRC:.c=.o)</div><div><span class="" style="white-space:pre">       </span>$(CC) $(FSRC:.c=.o) $(LDFLAGS) -o $(FBIN)</div><div><br></div><div>$(RBIN): $(RSRC:.c=.o)</div><div><span class="" style="white-space:pre">    </span>$(CC) $(RSRC:.c=.o) $(LDFLAGS) -o $(RBIN)</div>
<div><br></div><div>Should be:<br></div><div><br></div><div><div>$(FBIN): $(FSRC:.c=.o)</div><div><span class="" style="white-space:pre">       </span>$(CC) $(FSRC:.c=.o) $(LDFLAGS) -o $(FBIN)</div><div><br></div><div>$(RBIN): $(RSRC:.c=.o)</div>
<div><span class="" style="white-space:pre">    </span>$(CC) $(RSRC:.c=.o) $(LDFLAGS) -o $(RBIN)</div></div><div><br></div><div>Finally, in newer ubuntu systems libpng is not located in /usr/lib so we need to change the following</div>
<div>LDFLAGS= -L/usr/lib/x86_64-linux-gnu -lpng -lfftw3 -lgomp -lm</div><div><br></div><div>Best,</div><div>      Juan</div></div>