# Still got the same issue while building ROOT6 on VS 2019

**URL:** <https://root-forum.cern.ch/t/still-got-the-same-issue-while-building-root6-on-vs-2019/42481>\
**Category:** ROOT\
**Created:** [November 27, 2020, 3:24am UTC](https://root-forum.cern.ch/t/still-got-the-same-issue-while-building-root6-on-vs-2019/42481 "2020-11-27T03:24:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![motein](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/d6d6ee/32.png) [@motein](https://root-forum.cern.ch/u/motein)\
**Post date:** [November 27, 2020, 3:24am UTC](https://root-forum.cern.ch/t/still-got-the-same-issue-while-building-root6-on-vs-2019/42481/1 "2020-11-27T03:24:49Z")

</div>

Actually, I am using the same environment as [Building and Executing ROOT6 on Windows with VS2019](https://root-forum.cern.ch/t/building-and-executing-root6-on-windows-with-vs2019/39864). However, still get the same issue as described in this ticket.  
It looks like it is still not fixed on [root\_v6.20.02.win32.vc16.exe](https://root.cern/download/root_v6.20.02.win32.vc16.exe) and [root\_v6.22.02.win32.vc16.debug.exe](https://root.cern/download/root_v6.22.02.win32.vc16.debug.exe).

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [November 27, 2020, 7:09am UTC](https://root-forum.cern.ch/t/still-got-the-same-issue-while-building-root6-on-vs-2019/42481/2 "2020-11-27T07:09:45Z")

</div>

Welcome to the ROOT forum!  
This is really weird. Which exact version of Visual Studio are you using? How did you configure your project?

---

<div class="post-metadata">

**Author:** ![motein](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/d6d6ee/32.png) [@motein](https://root-forum.cern.ch/u/motein)\
**Post date:** [November 27, 2020, 7:27am UTC](https://root-forum.cern.ch/t/still-got-the-same-issue-while-building-root6-on-vs-2019/42481/3 "2020-11-27T07:27:30Z")

</div>

My Visual Studio is Professional 2019 (16.8.2)  
Here is my project organization and I have add root’s include and lib path, and also libs.  
 ![image](https://root-forum.cern.ch/uploads/default/original/3X/f/f/ffb28c5cfb5f52c21c07239a6e48a3a54c6c196c.png)  
In fact, I followed the idea in [Building and Executing ROOT6 on Windows with VS2019](https://root-forum.cern.ch/t/building-and-executing-root6-on-windows-with-vs2019/39864) and have solved the problem. Here, I just want to tell you guys that the issue still exists.

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [November 27, 2020, 7:31am UTC](https://root-forum.cern.ch/t/still-got-the-same-issue-while-building-root6-on-vs-2019/42481/4 "2020-11-27T07:31:59Z")

</div>

Well, I never managed to reproduce the issue described in this report. And note that there is an incompatibility issue between the latest Visual Studio (since v16.8.0) and LLVM, and one cannot build ROOT or generate dictionaries with it

---

<div class="post-metadata">

**Author:** ![motein](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/d6d6ee/32.png) [@motein](https://root-forum.cern.ch/u/motein)\
**Post date:** [November 27, 2020, 9:12am UTC](https://root-forum.cern.ch/t/still-got-the-same-issue-while-building-root6-on-vs-2019/42481/5 "2020-11-27T09:12:37Z")

</div>

Hmm, if I understand you correctly, you mean that your building is on the version before v16.8.0 with LLVM, and there is no problem, but equal to or after v16.8.0, the incompatibility happens, right?

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [November 27, 2020, 9:17am UTC](https://root-forum.cern.ch/t/still-got-the-same-issue-while-building-root6-on-vs-2019/42481/6 "2020-11-27T09:17:23Z")

</div>

Yes, but the issue is for dictionaries generation only (LLVM is used internally by the interpreter). Regarding the issue with `RWrap_libcpp_string_view.h`, it’s probably due to an incompatible configuration (e.g. wrong compiler flag)

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [December 11, 2020, 9:31am UTC](https://root-forum.cern.ch/t/still-got-the-same-issue-while-building-root6-on-vs-2019/42481/7 "2020-12-11T09:31:11Z")

</div>

Closed on December 11, 2020, 9:31am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
