# Latest tip build fails with mingw

**URL:** <https://forum.juce.com/t/latest-tip-build-fails-with-mingw/9777>\
**Category:** Windows\
**Created:** [January 6, 2013, 12:41pm UTC](https://forum.juce.com/t/latest-tip-build-fails-with-mingw/9777 "2013-01-06T12:41:35Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![kjetil](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@kjetil](https://forum.juce.com/u/kjetil)\
**Post date:** [February 17, 2015, 6:08pm UTC](https://forum.juce.com/t/latest-tip-build-fails-with-mingw/9777/21 "2015-02-17T18:08:00Z")

</div>

Correct. I had the same problem as "jpo" described earlier in the thread, where the linker couldn't find the various "\_\_mingw\_uuidof\<...\>" functions. However, jpo's solution didn't work for me.

&nbsp;

I don't understand the implications of "stomp all over the compile'rs implementation when running on MSVC" though. Is this only an issue if I wanted to compile on MSVC? (I don't see any reason to do that as long as it compiles in mingw)

&nbsp;

Also note that I didn't suggest that this patch should go upstream, it was only meant as a help for others who may struggle with the same problem.

---

<div class="post-metadata">

**Author:** ![kjetil](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@kjetil](https://forum.juce.com/u/kjetil)\
**Post date:** [February 17, 2015, 6:45pm UTC](https://forum.juce.com/t/latest-tip-build-fails-with-mingw/9777/22 "2015-02-17T18:45:00Z")

</div>

By the way, I use Juce to host VST plugins (http://users.notam02.no/~kjetism/radium/). Can there be problems if I load vst juce plugins compiled with MSVC in Radium? (Sorry, I don't know what the uuid code does)

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [February 17, 2015, 9:47pm UTC](https://forum.juce.com/t/latest-tip-build-fails-with-mingw/9777/23 "2015-02-17T21:47:50Z")

</div>

You realise that your change isn't a fix, it'll&nbsp;actually disable&nbsp;support for all the COM uuids, so any of the JUCE functionality that relies on it&nbsp;would&nbsp;just stop working..?

---

<div class="post-metadata">

**Author:** ![kjetil](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@kjetil](https://forum.juce.com/u/kjetil)\
**Post date:** [February 19, 2015, 7:51pm UTC](https://forum.juce.com/t/latest-tip-build-fails-with-mingw/9777/24 "2015-02-19T19:51:56Z")

</div>

Heh, no, I didn't look that closely at the source. ![laugh](http://www.juce.com/sites/all/libraries/ckeditor/plugins/smiley/images/teeth_smile.gif "laugh")

(I basically now nothing)

&nbsp;

But I guess that as long as everything appear to work, it's okay? I guess the chance of getting any surprises are slim? I'm only using Juce to host VST plugins (and soon AU plugins). Nothing else. The rest of the program uses Qt and various other libraries.

https://github.com/kmatheussen/radium/blob/master/audio/Juce\_plugins.cpp

&nbsp;

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [February 20, 2015, 8:50am UTC](https://forum.juce.com/t/latest-tip-build-fails-with-mingw/9777/25 "2015-02-20T08:50:24Z")

</div>

You'll certainly get&nbsp;a nasty surprise if you try to use anything that relies on loading&nbsp;COM objects&nbsp;- it just won't work!

---

<div class="post-metadata">

**Author:** ![petah](https://avatars.discourse-cdn.com/v4/letter/p/e95f7d/32.png) [@petah](https://forum.juce.com/u/petah)\
**Post date:** [June 26, 2015, 6:12am UTC](https://forum.juce.com/t/latest-tip-build-fails-with-mingw/9777/26 "2015-06-26T06:12:08Z")

</div>

I patched juce to build with gcc 4.9.2/mingw TDM including windows media format SDK; it reads mp3s, wma and such without the built-in juce mp3 decoder nor quicktime. Mostly a lot of namespace-hoop-jumping so mingw's uuid macros don't create symbols under juce:: which is a tad invasive.

Some workaround structs that juce defines for mingw aren't actually needed, others had to be re-re-hacked, needs some cleaning up by someone who enjoys the c preprocessor (not me!).

I had also started fixing WASAPI but really only cared about the codecs.

-- p

[Previous page](https://forum.juce.com/t/latest-tip-build-fails-with-mingw/9777.md?page=1)
