# Building ROOT with Mingw

**URL:** <https://root-forum.cern.ch/t/building-root-with-mingw/40865>\
**Category:** ROOT\
**Tags:** windows\
**Created:** [August 6, 2020, 11:10am UTC](https://root-forum.cern.ch/t/building-root-with-mingw/40865 "2020-08-06T11:10:49Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![nabilG](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/nabilg/32/23039_2.png) [@nabilG](https://root-forum.cern.ch/u/nabilG)\
**Post date:** [August 6, 2020, 5:50pm UTC](https://root-forum.cern.ch/t/building-root-with-mingw/40865/3 "2020-08-06T17:50:43Z")

</div>

Thanks for the clarification, I will stick then to MSBUILD/Visual.  
I can see that ROOT is built with Visual Studio 2019. Unfortunately our project uses Visual 2017.  
Did someone try to build ROOT with Visual Studio 2017 ?  
I browsed through several threads and started to compile ROOT.  
Unfortunately, I hit this error about \typetraits.hxx which seems to have already been reported

> [@Creating ROOT program with Visual Studio](https://root-forum.cern.ch/t/creating-root-program-with-visual-studio/31962/3):
>
> Version of Visual Studio: Visual Studio Community 2017 15.9.3

> Line 13707: 4\>d:\s\alamos-9.3.0\sources\root\core\foundation\inc\root\typetraits.hxx(43): fatal error C1001: Une erreur interne s’est produite dans le compilateur. [D:\S\ALAMOS-9.3.0\BUILD\root\core\BaseTROOT.vcxproj]

Thanks for your patience.

---

_[View the full topic](https://root-forum.cern.ch/t/building-root-with-mingw/40865)._
