Open ziotom78 opened 2 years ago
Thanks @ziotom78, I'll have a look at it
My project also fails to build because of this bug. It's present in the AUR build.
Actually, that file (a configuration header) should not be visible in an public interface header. It's correct that the configuration header does not get installed. I'll patch this, thanks for the report.
I've updated that header. I've tried to compile your program locally @ziotom78 and it's working. Would you folks be willing. to test it before I merge it into master
? Here's the candidate release tarball.
fswatch-1.17.1.tar.gz
Hi @emcrisostomo , thanks, I can confirm that the problem is solved in version 1.17.1.
Thanks a lot!
Thanks for trying it out so quickly. I'm closing this and will merge to master.
Hi. I think I might be getting the same error for C++ binding of libfswatch of version 1.17.1
.
In file included from main.cpp:1:
<PREFIX>/lib/include/libfswatch/c++/monitor.hpp:33:12: fatal error: libfswatch/libfswatch_config.h: No such file or directory
33 | # include "libfswatch/libfswatch_config.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Yes, it's correct, thanks for pointing that out @meator
Hi, I am trying to compile the following program using libfswatch 1.17:
I downloaded and installed the tarball for version 1.17 using the instructions found in the
INSTALL
file:but the compiler complains about a missing
libfswatch/libfswatch_config.h
:However, the very same program compiles correctly if I install the tarball for version 1.16 and use it instead of 1.17:
It seems that the file
libfswatch_types.h
needs to includelibfswatch_config.h
because of this commit, but the file does not get installed by default.