Hi, Here's a sample project that works for me on linux, it should work on Windows as well(or at least be easy to modify): https://github.com/rm5248/log4cxx-vcpkg
If you want to build manually, you'll need to build APR, APR-util, and expat. This issue has some notes on it: https://issues.apache.org/jira/browse/LOGCXX-510 It is complicated to do manually, so I do not recommend it. I'll see about updating the version in vcpkg. -Robert Middleton On Wed, Apr 12, 2023 at 12:15 AM Alwyn Mok <c23bl...@gmail.com> wrote: > > Hi Robert, > > Thanks for the advice. However, even with the custom port directory for > vcpkg, we can't seem to compile log4cxx-1.0.0 into a .DLL file > > Are you able to advise us on the easiest way to be able to compile > log4cxx-1.0.0 into a .DLL file on a Windows machine? > > A step-by-step guild would be greatly appreciated. > > Thanks in advance, > Alwyn Mok > > On Thu, 6 Apr 2023, 12:19 am Robert Middleton, <osfan6...@gmail.com> wrote: >> >> You will need to make a custom vcpkg ports directory in order to >> override what is in vcpkg by default. Check the documentation for >> vcpkg on how to create an overlay ports directory. >> >> -Robert Middleton >> >> On Wed, Apr 5, 2023 at 4:23 AM Alwyn Mok <c23bl...@gmail.com> wrote: >> > >> > Hi Sir/Mdm, >> > >> > >> > >> > Following the instruction in build-vcpkg.md (Building with vcpkg >> > {#build-vcpkg}) >> > >> > The default version of log4cxx used is apache-log4cxx-0.13.0 instead of >> > apache-log4cxx-1.0.0 >> > >> > >> > >> > How may I obtain apache-log4cxx-1.0.0 via vcpkg, in order to build into a >> > .dll file? >> > >> > >> > >> > Thanks in advance, >> > >> > Alwyn Mok