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

Thorsten Schöning edited comment on LOGCXX-510 at 1/4/21, 8:12 PM:
-------------------------------------------------------------------

An additional problem: Even though I still have the old "CMakeSettings.json" 
from former attempts to build and its contained paths etc. are OK, that file is 
NOT used by Visual Studio anymore for some reason. Instead, when looking at the 
CMAKE settings editor and opening the associated JSON file, a file like the 
following is opened:
{quote}..\..\..\..\..\..\..\..\..\..\..\AppData\Local\Microsoft\VisualStudio\16.0_bb5bf1c3\OpenFolder\CMakeSettings_schema.json
{quote}
 

Was able to fix that: For some reason, VS created an additional JSON file in 
"src\src", which has been maintained in "src" only before. After copying the 
old over the new file, the build seems to work now. What a mess... :-/


was (Author: tschoening):
An additional problem: Even though I still have the old "CMakeSettings.json" 
from former attempts to build and its contained paths etc. are OK, that file is 
NOT used by Visual Studio anymore for some reason. Instead, when looking at the 
CMAKE settings editor and opening the associated JSON file, a file like the 
following is opened:
{quote}..\..\..\..\..\..\..\..\..\..\..\AppData\Local\Microsoft\VisualStudio\16.0_bb5bf1c3\OpenFolder\CMakeSettings_schema.json
{quote}
 

> 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
>             Fix For: 0.12.0
>
>         Attachments: CMP00079.png, CMakeSettings.json, 
> cmake_settings_using_vs_gui 02.png, 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