-
Notifications
You must be signed in to change notification settings - Fork 339
Get compile err with fswatch-1.18.3, please have a watch of this #344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Unfortunately, even if you manage to build the binary using MSYS2, it will not work. I have tried. The resulting binary hangs when you press You don't need to build the binary yourself, please look at: #346 |
You know what, I want the lib .so or .a for programming and compile with my proj, a cli bin is not good to play with coding. And, from the err result of compilation I post above, its put a fs:path pass to a std::string, that sure err in gcc/mingw... so, the idea of this lib is pretty good, but ... |
Ok, sorry, I didn't know that you were trying to build only a library, because you are running If you want to build only
By the way, you can just use C# FileSystemWatcher or Python |
Are we use the same things? I tried the very first way of mine(run ./configure), and your ways(cmake ..), and other several ways , they all not reach the lib compile output...I am tired again as the first time I write the issue.. for your way: running in cmd:
the source code not have this
I ignore it and run
—————————————————————————————— Try use cmake-gui to run the |
Ok, apparently the Run To be honest, I think you are just wasting your time. What problem do you try to solve by using |
The reason I use libfswatch is that need to integrate it into my program, and more flexible by using its APIs, to watch the filesystem changings. And I think this is also the wide way that people using this project, its not like a 'cp' or 'top' the basic cli tool, its more like a basic program lib for programing. And, I am looking for one lib that cross platforms that watch filesystem, not only for win, but win and linux both. |
https://packages.msys2.org/base/mingw-w64-fswatch And guess what? I found that MSYS2's fswatch packages though not provide sort of 'pkg-config' package, but installed the lib bin file
and in program include the head file(C APIs):
And everything of this lib can worked... Why not provide the libfswatch.pc or libfswatchConfig.cmake files for us to use pkg_check_modules or find_package to link lib into our projects. There are many unusual things here, from compilation to link lib.. |
Uh oh!
There was an error while loading. Please reload this page.
MSYS2 ucrt env, win10, use gcc/g++, run in cmd:
get this:
And I am tired, why not just put lib package into msys2 or something, I beleve most of people don't like compile everything by self...we use it, not play the compile process
The text was updated successfully, but these errors were encountered: