# Help to compile ThirdParty/loguru under Windows 10 with gnu c++ 9.2

**URL:** https://discourse.vtk.org/t/help-to-compile-thirdparty-loguru-under-windows-10-with-gnu-c-9-2/4588
**Category:** Support
**Created:** [November 6, 2020, 12:55am UTC](https://discourse.vtk.org/t/help-to-compile-thirdparty-loguru-under-windows-10-with-gnu-c-9-2/4588 "2020-11-06T00:55:56Z")
**Posts on this page:** 1
**Showing post:** 18

<div class="post-metadata">

### Author: ![cean\_wang](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cean_wang/32/2570_2.png) [@cean\_wang](https://discourse.vtk.org/u/cean_wang)
#### Post date: [January 17, 2021, 11:22pm UTC](https://discourse.vtk.org/t/help-to-compile-thirdparty-loguru-under-windows-10-with-gnu-c-9-2/4588/18 "2021-01-17T23:22:37Z")

</div>

This eq-gnu compiler I am using has an x86\_64-w64-mingw32 sub folder. So it’s also a MINGW.

Running into error with mutex, I decided to give MinGW a go. I downloaded [x86\_64-posix-sjlj](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-posix/sjlj/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0.7z), also I changed to use MinGW generator. Then I finished build VTK.

Also tried to build a test project like this: [Help to Build project under WIn 10 - Support - VTK](https://discourse.vtk.org/t/help-to-build-project-under-win-10/4585/9)

After changing the setting of RenderingContextOpenGL2 from DEFAULT to YES, I got the project running. This time I changed it by editing the CMakeCache.txt file.

I think the eq-gnu compiler is the same as [x86\_64-win32-sjlj](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-win32/sjlj/x86_64-8.1.0-release-win32-sjlj-rt_v6-rev0.7z), but has a newer version c/c++.

---

_[View the full topic](https://discourse.vtk.org/t/help-to-compile-thirdparty-loguru-under-windows-10-with-gnu-c-9-2/4588)._
