i got a juce app to build but:
#include <wspiapi.h>
is needed in the juce_Socket.cpp (you need to get that file off the internet, it’s not in the MINGW distro)
also
#include <imm.h>
is needed in juce_win32_NativeIncludes.h
list of libraries needed for linking:
libshell32.a
libole32.a
libvfw32.a
libwinmm.a
libwininet.a
libws2_32.a
libdsound.a
libwsock32.a
libwldap32.a
libkernel32
libopengl32.a
libglu32.a
libuuid.a
librpcrt4.a
libgdi32.a
libcomdlg32.a
libversion.a
libdsound.a
libimm32
libshlwapi
I do get a SIGSEGV everytime i try to open a new window with images in it, VS/Linux/OSX do not report any problems when doing the same operations it only appears when using MINGW
0 0x00833d30 zlibNamespace::inflate_table C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/io/streams/zlib/inftrees.c 107
1 0x0085fdfe z_inflate C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/io/streams/zlib/inflate.c 851
2 0x008eb1bd pnglibNamespace::png_read_row C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/gui/graphics/imaging/image_file_formats/pnglib/pngread.c 720
3 0x008ec117 png_read_image C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/gui/graphics/imaging/image_file_formats/pnglib/pngread.c 902
4 0x008ec117 juce::PNGImageFormat::decodeImage C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/gui/graphics/imaging/image_file_formats/juce_PNGLoader.cpp 228
5 0x00959877 juce::ImageFileFormat::loadFrom C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/gui/graphics/imaging/juce_ImageFileFormat.cpp 70
6 0x00959877 juce::ImageFileFormat::loadFrom C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/gui/graphics/imaging/juce_ImageFileFormat.cpp 93
7 0x009d3d65 juce::ImageCache::getFromMemory C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/gui/graphics/imaging/juce_ImageCache.cpp 166
8 0x00600799 CtrlrAbout C:/devel/ctrlr/Source/UIComponents/CtrlrAbout.cpp 113
9 0x0062f522 CtrlrMenu::buttonClicked C:/devel/ctrlr/Source/UIComponents/CtrlrMenu.cpp 479
10 0x00a6aa0d callChecked<juce::Component::BailOutChecker, juce::Button*> C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/gui/components/../../events/juce_ListenerList.h 181
11 0x00a6aa0d juce::Button::sendClickMessage C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/gui/components/buttons/juce_Button.cpp 384
12 0x00a73c4f juce::Component::internalMouseUp C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/gui/components/juce_Component.cpp 2481
13 0x00c184e7 juce::MouseInputSourceInternal::sendMouseUp C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/gui/components/mouse/juce_MouseInputSource.cpp 134
14 0x00c184e7 juce::MouseInputSourceInternal::setButtons C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/gui/components/mouse/juce_MouseInputSource.cpp 166
15 0x00a8a71b juce::MouseInputSourceInternal::handleEvent C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/gui/components/mouse/juce_MouseInputSource.cpp 279
16 0x00a8a71b juce::MouseInputSource::handleEvent C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/gui/components/mouse/juce_MouseInputSource.cpp 528
17 0x00ba4349 juce::Win32ComponentPeer::doMouseEvent C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp 1396
18 0x00ba4349 juce::Win32ComponentPeer::doMouseUp C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp 1495
19 0x00ba06a3 juce::Win32ComponentPeer::peerWindowProc C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp 2051
20 0x00b9e6d9 juce::Win32ComponentPeer::windowProc C:/devel/ctrlr/JuceLibraryCode/../../juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp 1969
21 0x76fb86ef USER32!IsWindowVisible
22 0x000f059c ??
23 0x00000202 ?? c:/mingw-4.4.1/bin/../lib/gcc/mingw32/4.4.1/include/c++/bits/stl_uninitialized.h 73
24 0x00000000 ??