Replies: 4 comments 3 replies
-
Hi! In general, I've not made any attempt to build/test this on Windows (and I don't use Windows in my day-to-day flow) so I welcome any efforts that can be spared to that end. Ideally we'd add a Windows job to the GitHub Actions build. However, the libgen.h include was spurious and I also ifdef'ed-out a use of unistd.h. Possibly this might get you to the next problem =) |
Beta Was this translation helpful? Give feedback.
-
I won, but I don't think I'd do it again. I would definitely not expect you to carry this patch. This will likely work for what I need it to do, and I hope someone with more Windows and CMake expertise can use this as a starting point in the future.
Thanks for your time and the libgen fix. |
Beta Was this translation helpful? Give feedback.
-
The issue here is twofold:
First order of business would be fixing the dependencies, so they provide proper CMake packages that can be used with If @mlin wishes not to mess with vcpkg's overlay ports to adapt those dependencies, the dependencies can still be vendored for dev workflows using find modules like so: https://github.com/friendlyanon/cmake-init-fetchcontent I'd gladly review PRs to this project and its dependencies to ensure the CMake code is proper if I'm pinged and the above example is not enough as guidance. |
Beta Was this translation helpful? Give feedback.
-
Thanks for this build. It's almost working, except right at the end
I think you need to add dependencies to readerwriterqueue, sqlitevfs; and it also looks like SQLiteCPP needs to have declspec(dllexport) (vcpkg?) defined for it's types otherwise you get a missing symbols link error. That's as far as I've got but still going through the build. |
Beta Was this translation helpful? Give feedback.
-
I got as far as
(ignore the weird path, was testing in Windows Sandbox to make cleanup easier)
However, it looks like there's a dependency on a posix header called 'libgen.h'. I'm wondering how much I'd have to change without needing to go over to MinGW.
Beta Was this translation helpful? Give feedback.
All reactions