Demo does not work with CodeBlocks and MinGW


#1

Hello,

From Introjucer I have made a CodeBloks exporter for Demo project.

When try to compile it, I had lot of errors:


||=== JuceDemo, Debug ===|
c:\mingw48\lib\gcc\mingw32\4.8.1\include\emmintrin.h|31|error: #error "SSE2 instruction set not enabled"|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp||In function 'float juce::FloatVectorHelpers::findMinimumOrMaximum(const float*, int, bool)':|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|54|error: '__m128' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|54|error: expected ';' before 'val'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|57|error: 'val' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|68|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|57|error: '_mm_load_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|68|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|61|error: '__m128' does not name a type|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|68|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|62|error: 's' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|68|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|62|error: '_mm_min_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|68|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|57|error: 'val' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|69|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|57|error: '_mm_loadu_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|69|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|61|error: '__m128' does not name a type|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|69|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|62|error: 's' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|69|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|62|error: '_mm_min_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|69|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|57|error: 'val' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|73|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|57|error: '_mm_load_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|73|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|61|error: '__m128' does not name a type|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|73|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|62|error: 's' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|73|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|62|error: '_mm_max_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|73|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|57|error: 'val' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|74|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|57|error: '_mm_loadu_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|74|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|61|error: '__m128' does not name a type|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|74|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|62|error: 's' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|74|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|62|error: '_mm_max_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|74|note: in expansion of macro 'JUCE_MINIMUMMAXIMUM_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|81|error: 'val' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|81|error: '_mm_storeu_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|251|error: '__m128' does not name a type|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|126|note: in definition of macro 'JUCE_PERFORM_SSE_OP_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|250|error: 'val' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|note: in definition of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|250|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|error: '_mm_store_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|127|note: in expansion of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|250|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|250|error: 'val' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|note: in definition of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|250|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|error: '_mm_storeu_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|128|note: in expansion of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|250|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|269|error: '__m128' does not name a type|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|133|note: in definition of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|121|error: '__m128' does not name a type|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|114|note: in expansion of macro 'JUCE_LOAD_SRC'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|136|note: in expansion of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|error: 'mult' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|note: in definition of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|error: 's' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|note: in definition of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|error: '_mm_mul_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|note: in definition of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|error: '_mm_store_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|136|note: in expansion of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|121|error: '__m128' does not name a type|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|114|note: in expansion of macro 'JUCE_LOAD_SRC'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|137|note: in expansion of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|error: 'mult' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|note: in definition of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|error: 's' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|note: in definition of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|error: '_mm_mul_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|note: in definition of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|error: '_mm_store_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|137|note: in expansion of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|121|error: '__m128' does not name a type|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|114|note: in expansion of macro 'JUCE_LOAD_SRC'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|141|note: in expansion of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|error: 'mult' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|note: in definition of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|error: 's' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|note: in definition of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|error: '_mm_mul_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|note: in definition of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|error: '_mm_storeu_ps' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|141|note: in expansion of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|121|error: '__m128' does not name a type|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|114|note: in expansion of macro 'JUCE_LOAD_SRC'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|142|note: in expansion of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|error: 'mult' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|note: in definition of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|error: 's' was not declared in this scope|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|115|note: in definition of macro 'JUCE_SSE_LOOP'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|note: in expansion of macro 'JUCE_PERFORM_SSE_OP_SRC_DEST'|
C:\JUCE-master\modules\juce_audio_basics\buffers\juce_FloatVectorOperations.cpp|267|error: '_mm_mul_ps' was not declared in this scope|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings (0 minutes, 21 seconds) ===|

After that, I wrote my own Makefile and use MSYS to compile it.

... And this is what I have:

 
$ make
Compiling Main.cpp
Compiling MainWindow.cpp
Compiling IntroScreen.cpp
Compiling AnimationDemo.cpp
Compiling AudioLatencyDemo.cpp
Compiling AudioPlaybackDemo.cpp
Compiling AudioRecordingDemo.cpp
Compiling AudioSettingsDemo.cpp
Compiling AudioSynthesiserDemo.cpp
Compiling Box2DDemo.cpp
Compiling CameraDemo.cpp
Compiling ChildProcessDemo.cpp
Compiling CodeEditorDemo.cpp
Compiling ComponentTransformsDemo.cpp
Compiling CryptographyDemo.cpp
Compiling DialogsDemo.cpp
Compiling FontsDemo.cpp
Compiling GraphicsDemo.cpp
Compiling ImagesDemo.cpp
Compiling JavaScript.cpp
Compiling KeyMappingsDemo.cpp
Compiling LiveConstantDemo.cpp
Compiling MDIDemo.cpp
Compiling MidiDemo.cpp
Compiling MultithreadingDemo.cpp
Compiling MultiTouch.cpp
Compiling NetworkingDemo.cpp
Compiling OpenGLDemo.cpp
Compiling OpenGLDemo2D.cpp
Compiling PropertiesDemo.cpp
Compiling SystemInfoDemo.cpp
Compiling TimersAndEventsDemo.cpp
Compiling UnitTestsDemo.cpp
Compiling ValueTreesDemo.cpp
Compiling VideoDemo.cpp
Compiling WebBrowserDemo.cpp
Compiling WidgetsDemo.cpp
Compiling WindowsDemo.cpp
Compiling XMLandJSONDemo.cpp
Compiling BinaryData.cpp
Compiling juce_audio_basics.cpp
Compiling juce_audio_devices.cpp
Compiling juce_audio_formats.cpp
In file included from ../../../../modules/juce_audio_formats/juce_audio_formats.
cpp:110:0:
../../../../modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:64:0: war
ning: "__STDC_LIMIT_MACROS" redefined [enabled by default]
  #define __STDC_LIMIT_MACROS 1
 ^
In file included from c:\mingw48\include\wchar.h:479:0,
                 from c:\mingw48\include\tchar.h:54,
                 from ../../../../modules/juce_audio_formats/../juce_core/native
/juce_BasicNativeHeaders.h:102,
                 from ../../../../modules/juce_audio_formats/juce_audio_formats.
cpp:38:
c:\mingw48\lib\gcc\mingw32\4.8.1\include\stdint.h:5:0: note: this is the locatio
n of the previous definition
 #  define __STDC_LIMIT_MACROS
 ^
Compiling juce_audio_processors.cpp
Compiling juce_audio_utils.cpp
Compiling juce_box2d.cpp
Compiling juce_core.cpp
Compiling juce_cryptography.cpp
Compiling juce_data_structures.cpp
Compiling juce_events.cpp
Compiling juce_graphics.cpp
../../../../modules/juce_graphics/juce_graphics.cpp:47:4: warning: #warning "Dir
ectWrite not currently implemented with mingw..." [-Wcpp]
   #warning "DirectWrite not currently implemented with mingw..."
    ^
Compiling juce_gui_basics.cpp
In file included from ../../../../modules/juce_gui_basics/../juce_opengl/opengl/
juce_Quaternion.h:29:0,
                 from ../../../../modules/juce_gui_basics/../juce_opengl/juce_op
engl.h:108,
                 from ../../../../modules/juce_gui_basics/juce_gui_basics.cpp:44
:
../../../../modules/juce_gui_basics/../juce_opengl/opengl/juce_Matrix3D.h: In st
atic member function 'static juce::Matrix3D<Type> juce::Matrix3D<Type>::fromFrus
tum(Type, Type, Type, Type, Type, Type)':
../../../../modules/juce_gui_basics/../juce_opengl/opengl/juce_Matrix3D.h:99:25:
 error: expected primary-expression before '(' token
         return Matrix3D ((2.0f * near) / (right - left), 0.0f, 0.0f, 0.0f,
                         ^
../../../../modules/juce_gui_basics/../juce_opengl/opengl/juce_Matrix3D.h:99:38:
 error: expected primary-expression before ')' token
         return Matrix3D ((2.0f * near) / (right - left), 0.0f, 0.0f, 0.0f,
                                      ^
../../../../modules/juce_gui_basics/../juce_opengl/opengl/juce_Matrix3D.h:100:44
: error: expected primary-expression before ')' token
                          0.0f, (2.0f * near) / (top - bottom), 0.0f, 0.0f,
                                            ^
../../../../modules/juce_gui_basics/../juce_opengl/opengl/juce_Matrix3D.h:101:10
4: error: expected primary-expression before ')' token
                          (right + left) / (right - left), (top + bottom) / (top
 - bottom), -(far + near) / (far - near), -1.0f,
                        ^
../../../../modules/juce_gui_basics/../juce_opengl/opengl/juce_Matrix3D.h:101:11
9: error: expected primary-expression before ')' token
                          (right + left) / (right - left), (top + bottom) / (top
 - bottom), -(far + near) / (far - near), -1.0f,
                                       ^
In file included from ../../../../modules/juce_gui_basics/../juce_opengl/opengl/
juce_Quaternion.h:29:0,
                 from ../../../../modules/juce_gui_basics/../juce_opengl/juce_op
engl.h:108,
                 from ../../../../modules/juce_gui_basics/juce_gui_basics.cpp:44
:
../../../../modules/juce_gui_basics/../juce_opengl/opengl/juce_Matrix3D.h:102:57
: error: expected primary-expression before ')' token
                          0.0f, 0.0f, -(2.0f * far * near) / (far - near), 0.0f)
;
                                                         ^
../../../../modules/juce_gui_basics/../juce_opengl/opengl/juce_Matrix3D.h:102:72
: error: expected primary-expression before ')' token
                          0.0f, 0.0f, -(2.0f * far * near) / (far - near), 0.0f)
;
                                                                        ^
make: *** [build/intermediate/Debug/juce_gui_basics_90929794.o] Error 1

This is my MinGW Makefile:


# Automatically generated makefile, created by the Introjucer
# Don't edit this file! Your changes will be overwritten when you re-save the Introjucer project!
# (this disables dependency generation if multiple architectures are set)
DEPFLAGS := $(if $(word 2, $(TARGET_ARCH)), , -MMD)
ifndef CONFIG
  CONFIG=Debug
endif
ifeq ($(CONFIG),Debug)
  BINDIR := build
  LIBDIR := build
  OBJDIR := build/intermediate/Debug
  OUTDIR := build
  ifeq ($(TARGET_ARCH),)
    TARGET_ARCH := -march=native
  endif
  CPPFLAGS := $(DEPFLAGS) -D "__MINGW_EXTENSION" -D "__MINGW__=1" -D "JUCER_CODEBLOCKS_20734A5D=1" -D "JUCE_APP_VERSION=3.0.0" -D "JUCE_APP_VERSION_HEX=0x30000" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCE_UNIT_TESTS=1" -D "JUCER_MINGW_MAKE_7354EBF8=1" -I ../../JuceLibraryCode -I ../../../../modules
  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0 -std=gnu++0x -mstackrealign
  CXXFLAGS += $(CFLAGS)
  LDFLAGS += $(TARGET_ARCH) -L$(BINDIR) -L$(LIBDIR) -lcomdlg32 -limm32 -lole32 -loleaut32 -lrpcrt4 -lshlwapi -luuid -lversion -lwininet -lwinmm -lws2_32 -lwsock32 -lgdi32 -luser32 -lkernel32 -lcomctl32 -mwindows 
  LDDEPS :=
  RESFLAGS :=  -D "__MINGW_EXTENSION" -D "__MINGW__=1" -D "JUCER_CODEBLOCKS_20734A5D=1" -D "JUCE_APP_VERSION=3.0.0" -D "JUCE_APP_VERSION_HEX=0x30000" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCE_UNIT_TESTS=1" -D "JUCER_MINGW_MAKE_7354EBF8=1" -I ../../JuceLibraryCode -I ../../../../modules
  TARGET := JuceDemo
  BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
  CLEANCMD = rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
endif
ifeq ($(CONFIG),Release)
  BINDIR := build
  LIBDIR := build
  OBJDIR := build/intermediate/Release
  OUTDIR := build
  ifeq ($(TARGET_ARCH),)
    TARGET_ARCH := -march=native
  endif
  CPPFLAGS := $(DEPFLAGS) -D "__MINGW_EXTENSION" -D "__MINGW__=1" -D "JUCER_CODEBLOCKS_20734A5D=1" -D "JUCE_APP_VERSION=3.0.0" -D "JUCE_APP_VERSION_HEX=0x30000" -D "NDEBUG=1" -D "JUCE_UNIT_TESTS=1" -D "JUCER_MINGW_MAKE_7354EBF8=1" -I ../../JuceLibraryCode -I ../../../../modules
  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -Os -std=gnu++0x -mstackrealign
  CXXFLAGS += $(CFLAGS)
  LDFLAGS += $(TARGET_ARCH) -L$(BINDIR) -L$(LIBDIR) -fvisibility=hidden -lcomdlg32 -limm32 -lole32 -loleaut32 -lrpcrt4 -lshlwapi -luuid -lversion -lwininet -lwinmm -lws2_32 -lwsock32 -lgdi32 -luser32 -lkernel32 -lcomctl32 -mwindows 
  LDDEPS :=
  RESFLAGS :=  -D "__MINGW_EXTENSION" -D "__MINGW__=1" -D "JUCER_CODEBLOCKS_20734A5D=1" -D "JUCE_APP_VERSION=3.0.0" -D "JUCE_APP_VERSION_HEX=0x30000" -D "NDEBUG=1" -D "JUCE_UNIT_TESTS=1" -D "JUCER_MINGW_MAKE_7354EBF8=1" -I ../../JuceLibraryCode -I ../../../../modules
  TARGET := JuceDemo
  BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
  CLEANCMD = rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
endif
OBJECTS := \
  $(OBJDIR)/Main_90ebc5c2.o \
  $(OBJDIR)/MainWindow_499ac812.o \
  $(OBJDIR)/IntroScreen_73347059.o \
  $(OBJDIR)/AnimationDemo_9fc7e4e9.o \
  $(OBJDIR)/AudioLatencyDemo_78d49233.o \
  $(OBJDIR)/AudioPlaybackDemo_ea12adf6.o \
  $(OBJDIR)/AudioRecordingDemo_435914e6.o \
  $(OBJDIR)/AudioSettingsDemo_6d710bfe.o \
  $(OBJDIR)/AudioSynthesiserDemo_1b3666f6.o \
  $(OBJDIR)/Box2DDemo_51053c42.o \
  $(OBJDIR)/CameraDemo_a10f7e50.o \
  $(OBJDIR)/ChildProcessDemo_2c2b949e.o \
  $(OBJDIR)/CodeEditorDemo_d5c17a65.o \
  $(OBJDIR)/ComponentTransformsDemo_377f7889.o \
  $(OBJDIR)/CryptographyDemo_232d46d7.o \
  $(OBJDIR)/DialogsDemo_19d585d0.o \
  $(OBJDIR)/FontsDemo_6da1e5e9.o \
  $(OBJDIR)/GraphicsDemo_85142ef6.o \
  $(OBJDIR)/ImagesDemo_ecf13aa3.o \
  $(OBJDIR)/JavaScript_d6e42eb5.o \
  $(OBJDIR)/KeyMappingsDemo_cf05c709.o \
  $(OBJDIR)/LiveConstantDemo_e3b18a9b.o \
  $(OBJDIR)/MDIDemo_c476c2d7.o \
  $(OBJDIR)/MidiDemo_75ebc30c.o \
  $(OBJDIR)/MultithreadingDemo_ff566eaa.o \
  $(OBJDIR)/MultiTouch_595f3a2e.o \
  $(OBJDIR)/NetworkingDemo_fbd1b19f.o \
  $(OBJDIR)/OpenGLDemo_fdac55da.o \
  $(OBJDIR)/OpenGLDemo2D_48eeadec.o \
  $(OBJDIR)/PropertiesDemo_8ff1a8de.o \
  $(OBJDIR)/SystemInfoDemo_984acd28.o \
  $(OBJDIR)/TimersAndEventsDemo_f2656547.o \
  $(OBJDIR)/UnitTestsDemo_5c21762.o \
  $(OBJDIR)/ValueTreesDemo_9657d84f.o \
  $(OBJDIR)/VideoDemo_b55a1560.o \
  $(OBJDIR)/WebBrowserDemo_3df2dbdf.o \
  $(OBJDIR)/WidgetsDemo_fb0454.o \
  $(OBJDIR)/WindowsDemo_e8cfa428.o \
  $(OBJDIR)/XMLandJSONDemo_5bc88df3.o \
  $(OBJDIR)/BinaryData_ce4232d4.o \
  $(OBJDIR)/juce_audio_basics_399a455e.o \
  $(OBJDIR)/juce_audio_devices_c1c9ba9c.o \
  $(OBJDIR)/juce_audio_formats_f04b043c.o \
  $(OBJDIR)/juce_audio_processors_eb9ae116.o \
  $(OBJDIR)/juce_audio_utils_cf18005c.o \
  $(OBJDIR)/juce_box2d_7c8de7fc.o \
  $(OBJDIR)/juce_core_1ee54a40.o \
  $(OBJDIR)/juce_cryptography_3b1f489a.o \
  $(OBJDIR)/juce_data_structures_84790dfc.o \
  $(OBJDIR)/juce_events_584896b4.o \
  $(OBJDIR)/juce_graphics_f9afc18.o \
  $(OBJDIR)/juce_gui_basics_90929794.o \
  $(OBJDIR)/juce_gui_extra_b81d9e1c.o \
  $(OBJDIR)/juce_opengl_1890bee0.o \
  $(OBJDIR)/juce_video_86a19d3c.o \
.PHONY: clean
$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
    @echo Linking JuceDemo
    -@mkdir -p $(BINDIR)
    -@mkdir -p $(LIBDIR)
    -@mkdir -p $(OUTDIR)
    @$(BLDCMD)
clean:
    @echo Cleaning JuceDemo
    @$(CLEANCMD)
strip:
    @echo Stripping JuceDemo
    -@strip --strip-unneeded $(OUTDIR)/$(TARGET)
$(OBJDIR)/Main_90ebc5c2.o: ../../Source/Main.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling Main.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/MainWindow_499ac812.o: ../../Source/MainWindow.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling MainWindow.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/IntroScreen_73347059.o: ../../Source/IntroScreen.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling IntroScreen.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/AnimationDemo_9fc7e4e9.o: ../../Source/Demos/AnimationDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling AnimationDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/AudioLatencyDemo_78d49233.o: ../../Source/Demos/AudioLatencyDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling AudioLatencyDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/AudioPlaybackDemo_ea12adf6.o: ../../Source/Demos/AudioPlaybackDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling AudioPlaybackDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/AudioRecordingDemo_435914e6.o: ../../Source/Demos/AudioRecordingDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling AudioRecordingDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/AudioSettingsDemo_6d710bfe.o: ../../Source/Demos/AudioSettingsDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling AudioSettingsDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/AudioSynthesiserDemo_1b3666f6.o: ../../Source/Demos/AudioSynthesiserDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling AudioSynthesiserDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/Box2DDemo_51053c42.o: ../../Source/Demos/Box2DDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling Box2DDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/CameraDemo_a10f7e50.o: ../../Source/Demos/CameraDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling CameraDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/ChildProcessDemo_2c2b949e.o: ../../Source/Demos/ChildProcessDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling ChildProcessDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/CodeEditorDemo_d5c17a65.o: ../../Source/Demos/CodeEditorDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling CodeEditorDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/ComponentTransformsDemo_377f7889.o: ../../Source/Demos/ComponentTransformsDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling ComponentTransformsDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/CryptographyDemo_232d46d7.o: ../../Source/Demos/CryptographyDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling CryptographyDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/DialogsDemo_19d585d0.o: ../../Source/Demos/DialogsDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling DialogsDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/FontsDemo_6da1e5e9.o: ../../Source/Demos/FontsDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling FontsDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/GraphicsDemo_85142ef6.o: ../../Source/Demos/GraphicsDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling GraphicsDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/ImagesDemo_ecf13aa3.o: ../../Source/Demos/ImagesDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling ImagesDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/JavaScript_d6e42eb5.o: ../../Source/Demos/JavaScript.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling JavaScript.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/KeyMappingsDemo_cf05c709.o: ../../Source/Demos/KeyMappingsDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling KeyMappingsDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/LiveConstantDemo_e3b18a9b.o: ../../Source/Demos/LiveConstantDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling LiveConstantDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/MDIDemo_c476c2d7.o: ../../Source/Demos/MDIDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling MDIDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/MidiDemo_75ebc30c.o: ../../Source/Demos/MidiDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling MidiDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/MultithreadingDemo_ff566eaa.o: ../../Source/Demos/MultithreadingDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling MultithreadingDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/MultiTouch_595f3a2e.o: ../../Source/Demos/MultiTouch.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling MultiTouch.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/NetworkingDemo_fbd1b19f.o: ../../Source/Demos/NetworkingDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling NetworkingDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/OpenGLDemo_fdac55da.o: ../../Source/Demos/OpenGLDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling OpenGLDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/OpenGLDemo2D_48eeadec.o: ../../Source/Demos/OpenGLDemo2D.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling OpenGLDemo2D.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/PropertiesDemo_8ff1a8de.o: ../../Source/Demos/PropertiesDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling PropertiesDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/SystemInfoDemo_984acd28.o: ../../Source/Demos/SystemInfoDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling SystemInfoDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/TimersAndEventsDemo_f2656547.o: ../../Source/Demos/TimersAndEventsDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling TimersAndEventsDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/UnitTestsDemo_5c21762.o: ../../Source/Demos/UnitTestsDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling UnitTestsDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/ValueTreesDemo_9657d84f.o: ../../Source/Demos/ValueTreesDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling ValueTreesDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/VideoDemo_b55a1560.o: ../../Source/Demos/VideoDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling VideoDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/WebBrowserDemo_3df2dbdf.o: ../../Source/Demos/WebBrowserDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling WebBrowserDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/WidgetsDemo_fb0454.o: ../../Source/Demos/WidgetsDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling WidgetsDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/WindowsDemo_e8cfa428.o: ../../Source/Demos/WindowsDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling WindowsDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/XMLandJSONDemo_5bc88df3.o: ../../Source/Demos/XMLandJSONDemo.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling XMLandJSONDemo.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/BinaryData_ce4232d4.o: ../../JuceLibraryCode/BinaryData.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling BinaryData.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/juce_audio_basics_399a455e.o: ../../../../modules/juce_audio_basics/juce_audio_basics.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling juce_audio_basics.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/juce_audio_devices_c1c9ba9c.o: ../../../../modules/juce_audio_devices/juce_audio_devices.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling juce_audio_devices.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/juce_audio_formats_f04b043c.o: ../../../../modules/juce_audio_formats/juce_audio_formats.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling juce_audio_formats.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/juce_audio_processors_eb9ae116.o: ../../../../modules/juce_audio_processors/juce_audio_processors.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling juce_audio_processors.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/juce_audio_utils_cf18005c.o: ../../../../modules/juce_audio_utils/juce_audio_utils.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling juce_audio_utils.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/juce_box2d_7c8de7fc.o: ../../../../modules/juce_box2d/juce_box2d.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling juce_box2d.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/juce_core_1ee54a40.o: ../../../../modules/juce_core/juce_core.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling juce_core.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/juce_cryptography_3b1f489a.o: ../../../../modules/juce_cryptography/juce_cryptography.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling juce_cryptography.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/juce_data_structures_84790dfc.o: ../../../../modules/juce_data_structures/juce_data_structures.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling juce_data_structures.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/juce_events_584896b4.o: ../../../../modules/juce_events/juce_events.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling juce_events.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/juce_graphics_f9afc18.o: ../../../../modules/juce_graphics/juce_graphics.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling juce_graphics.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/juce_gui_basics_90929794.o: ../../../../modules/juce_gui_basics/juce_gui_basics.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling juce_gui_basics.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/juce_gui_extra_b81d9e1c.o: ../../../../modules/juce_gui_extra/juce_gui_extra.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling juce_gui_extra.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/juce_opengl_1890bee0.o: ../../../../modules/juce_opengl/juce_opengl.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling juce_opengl.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
$(OBJDIR)/juce_video_86a19d3c.o: ../../../../modules/juce_video/juce_video.cpp
    -@mkdir -p $(OBJDIR)
    @echo "Compiling juce_video.cpp"
    @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
-include $(OBJECTS:%.o=%.d)

I am able to compile and run Introjucer and HelloWorld from my Makefiles and CodeBlocks projects.

What I am doing wrong with Demo?

 

Thanks

 

Thanks

 


#2

Gah... I hate mingw.. It's been a while since I've tested building with it, but have fixed a few problems now if you want to try again.

Can't seem an obvious way of actually making it enable the SSE2 instructions though, so the intrinsics don't work. If anyone's keen on getting decent performance out of it and wants to investigate that, please let me know.. Probably a compiler switch somewhere.


#3

Thanks Jules,

Now it works :)


#4

Great! Now it works fine with Mingw! Thanks!