[ 
https://issues.apache.org/jira/browse/LOGCXX-510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17185495#comment-17185495
 ] 

Robert Middleton commented on LOGCXX-510:
-----------------------------------------

It looks like log4cxx.dll is found on your system:
{noformat}
15:19:09,3804448        asyncappendertestcase.exe       15232   CreateFile      
C:\Users\tschoening\Documents\Svn\Src\Libs\trunk\C++\Logging\log4cxx\0.11.0-SNAPSHOT\src\out\build\x64-Debug\src\main\cpp\log4cxx.dll
   SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open 
Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: 
n/a, OpenResult: Opened
{noformat}
As for my system, I have the APR DLLs and the expat DLL in the same directory, 
so that would account for why it works for me.

 

I'm not sure what to do with the XML parsing at this point though; APR can 
technically use expat, libxml2, or xmllite.  There is an apu-config binary that 
can be used to output information about include directories and libraries, but 
the APR CMake build doesn't build and/or install it.  Since the 
FindAPR-Util.cmake can't find the apu-config binary, it falls back to just 
looking for the DLL directly.

> Build problems using CMAKE and Visual Studio 2019 Community
> -----------------------------------------------------------
>
>                 Key: LOGCXX-510
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-510
>             Project: Log4cxx
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 0.11.0
>            Reporter: Thorsten Schöning
>            Assignee: Thorsten Schöning
>            Priority: Major
>         Attachments: CMP00079.png, CMakeSettings.json, 
> cmake_settings_using_vs_gui.zip, missing_log4cxx_rc.png, 
> set_target_properties.png
>
>
> I just tested building log4cxx using CMAKE and Visual Studio 2019 Community. 
> Things failed and I want to use this bug to document everything that I've 
> found, because for some things I'm not sure how to handle them properly. Will 
> create a new branch to maintain the fixes I came along, so that those can at 
> best be later reviewed by others. The branch of interest is currently named 
> "logcxx_510_cmake_vs2019_compat".



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to