JUCE tutorial (Getting started with the Projucer) & visual studio 2013 compile error!

projucer
#1

Hi,

I follow the juce tutorial (Getting started with the Projucer) and create a GUI application type project. After exporting it to visual studio 2013 IDE and compiling, There are some errors! All code was auto-generated. Nothing was modified.
1>------ Build started: Project: Digital Mixer_App, Configuration: Debug x64 ------
1> MainComponent.cpp
1> Main.cpp
1> include_juce_audio_basics.cpp
1> include_juce_audio_devices.cpp
1>d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(389): error C2955: ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’ : use of alias template requires template argument list (…\Source\Main.cpp)
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(382) : see declaration of ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(594) : see reference to class template instantiation ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>’ being compiled
1>d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(389): error C2955: ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’ : use of alias template requires template argument list (…\JuceLibraryCode\include_juce_audio_basics.cpp)
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(382) : see declaration of ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(594) : see reference to class template instantiation ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>’ being compiled
1>d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(389): error C2955: ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’ : use of alias template requires template argument list (…\Source\MainComponent.cpp)
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(382) : see declaration of ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(594) : see reference to class template instantiation ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>’ being compiled
1>d:\juce\juce\modules\juce_core\threads/juce_Thread.h(387): fatal error C1903: unable to recover from previous error(s); stopping compilation (…\Source\Main.cpp)
1>d:\juce\juce\modules\juce_core\threads/juce_Thread.h(387): fatal error C1903: unable to recover from previous error(s); stopping compilation (…\JuceLibraryCode\include_juce_audio_basics.cpp)
1> include_juce_audio_formats.cpp
1> include_juce_audio_processors.cpp
1>d:\juce\juce\modules\juce_core\threads/juce_Thread.h(387): fatal error C1903: unable to recover from previous error(s); stopping compilation (…\Source\MainComponent.cpp)
1> include_juce_core.cpp
1>d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(389): error C2955: ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’ : use of alias template requires template argument list (…\JuceLibraryCode\include_juce_audio_devices.cpp)
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(382) : see declaration of ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(594) : see reference to class template instantiation ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>’ being compiled
1>d:\juce\juce\modules\juce_core\threads/juce_Thread.h(387): fatal error C1903: unable to recover from previous error(s); stopping compilation (…\JuceLibraryCode\include_juce_audio_devices.cpp)
1> include_juce_cryptography.cpp
1>d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(389): error C2955: ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’ : use of alias template requires template argument list (…\JuceLibraryCode\include_juce_audio_formats.cpp)
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(382) : see declaration of ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(594) : see reference to class template instantiation ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>’ being compiled
1>d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(389): error C2955: ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’ : use of alias template requires template argument list (…\JuceLibraryCode\include_juce_cryptography.cpp)
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(382) : see declaration of ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(594) : see reference to class template instantiation ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>’ being compiled
1>d:\juce\juce\modules\juce_core\threads/juce_Thread.h(387): fatal error C1903: unable to recover from previous error(s); stopping compilation (…\JuceLibraryCode\include_juce_audio_formats.cpp)
1> include_juce_data_structures.cpp
1>d:\juce\juce\modules\juce_core\threads/juce_Thread.h(387): fatal error C1903: unable to recover from previous error(s); stopping compilation (…\JuceLibraryCode\include_juce_cryptography.cpp)
1> include_juce_events.cpp
1>d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(389): error C2955: ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’ : use of alias template requires template argument list (…\JuceLibraryCode\include_juce_audio_processors.cpp)
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(382) : see declaration of ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(594) : see reference to class template instantiation ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>’ being compiled
1>d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(389): error C2955: ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’ : use of alias template requires template argument list (…\JuceLibraryCode\include_juce_core.cpp)
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(382) : see declaration of ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(594) : see reference to class template instantiation ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>’ being compiled
1>d:\juce\juce\modules\juce_core\threads/juce_Thread.h(387): fatal error C1903: unable to recover from previous error(s); stopping compilation (…\JuceLibraryCode\include_juce_audio_processors.cpp)
1> include_juce_graphics.cpp
1>d:\juce\juce\modules\juce_core\threads/juce_Thread.h(387): fatal error C1903: unable to recover from previous error(s); stopping compilation (…\JuceLibraryCode\include_juce_core.cpp)
1> include_juce_gui_basics.cpp
1>d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(389): error C2955: ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’ : use of alias template requires template argument list (…\JuceLibraryCode\include_juce_data_structures.cpp)
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(382) : see declaration of ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(594) : see reference to class template instantiation ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>’ being compiled
1>d:\juce\juce\modules\juce_core\threads/juce_Thread.h(387): fatal error C1903: unable to recover from previous error(s); stopping compilation (…\JuceLibraryCode\include_juce_data_structures.cpp)
1> include_juce_gui_extra.cpp
1>d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(389): error C2955: ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’ : use of alias template requires template argument list (…\JuceLibraryCode\include_juce_events.cpp)
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(382) : see declaration of ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(594) : see reference to class template instantiation ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>’ being compiled
1>d:\juce\juce\modules\juce_core\threads/juce_Thread.h(387): fatal error C1903: unable to recover from previous error(s); stopping compilation (…\JuceLibraryCode\include_juce_events.cpp)
1> include_juce_opengl.cpp
1>d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(389): error C2955: ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’ : use of alias template requires template argument list (…\JuceLibraryCode\include_juce_graphics.cpp)
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(382) : see declaration of ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(594) : see reference to class template instantiation ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>’ being compiled
1>d:\juce\juce\modules\juce_core\threads/juce_Thread.h(387): fatal error C1903: unable to recover from previous error(s); stopping compilation (…\JuceLibraryCode\include_juce_graphics.cpp)
1>d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(389): error C2955: ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’ : use of alias template requires template argument list (…\JuceLibraryCode\include_juce_gui_basics.cpp)
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(382) : see declaration of ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(594) : see reference to class template instantiation ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>’ being compiled
1>d:\juce\juce\modules\juce_core\threads/juce_Thread.h(387): fatal error C1903: unable to recover from previous error(s); stopping compilation (…\JuceLibraryCode\include_juce_gui_basics.cpp)
1>d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(389): error C2955: ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’ : use of alias template requires template argument list (…\JuceLibraryCode\include_juce_gui_extra.cpp)
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(382) : see declaration of ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(594) : see reference to class template instantiation ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>’ being compiled
1>d:\juce\juce\modules\juce_core\threads/juce_Thread.h(387): fatal error C1903: unable to recover from previous error(s); stopping compilation (…\JuceLibraryCode\include_juce_gui_extra.cpp)
1>d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(389): error C2955: ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’ : use of alias template requires template argument list (…\JuceLibraryCode\include_juce_opengl.cpp)
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(382) : see declaration of ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>::TriviallyCopyableVoid’
1> d:\juce\juce\modules\juce_core\containers/juce_ArrayBase.h(594) : see reference to class template instantiation ‘juce::ArrayBase<ElementType,TypeOfCriticalSectionToUse>’ being compiled
1>d:\juce\juce\modules\juce_core\threads/juce_Thread.h(387): fatal error C1903: unable to recover from previous error(s); stopping compilation (…\JuceLibraryCode\include_juce_opengl.cpp)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

0 Likes

#2

Which version of JUCE are you using? I can’t reproduce with 5.4.3, 5.4.2, 5.4.1, nor 5.4.0.

0 Likes

#3

My JUCE version is 5.4.3.

0 Likes

#4

Personal Version.

0 Likes

#5

Is your Visual Studio 2013 up-to-date?

For reference, this is what I see when I navigate to HELP > About Microsoft Visual Studio :

0 Likes

#6

maybe follow along with this to get up and running?

0 Likes

#7

After updating visual studio to update 5, build is successful!
Thank you very much!

1 Like