Cant Build my project

I tried to build the one of the projects “MainComponentTutorial”

but the “build now” option is deactivated.

You’ll need to enable the live-build engine first to use it by clicking on the “Enable Compilation” menu item

I think I can not enable Live-build engine because I am using 32 bit windows.

Yes, the live-build engine requires 64-bit Windows 8 or higher

so , how do I build it ?? Any thoughts??
Is there any other method ??

Sure, you can open your project in an IDE like Visual Studio and build it there. Perhaps read up on the JUCE tutorials https://www.juce.com/tutorials

I tried to build the example project with Visual Studio 2008 and I have got these errors. Ain’t these a little less in number??

juce_gui_basics.cpp
f:\juce\examples\helloworld\jucelibrarycode\juce_gui_basics.cpp : error C2471: cannot update program database 'f:\juce\examples\helloworld\builds\visualstudio2008\debug\vc90.pdb’
f:\juce\modules\juce_gui_basics\native\juce_win32_windowing.cpp(792) : error C2143: syntax error : missing ‘)’ before '&&'
f:\juce\modules\juce_gui_basics\native\juce_win32_windowing.cpp(792) : error C2143: syntax error : missing ‘;’ before '&&'
f:\juce\modules\juce_gui_basics\native\juce_win32_windowing.cpp(792) : error C2652: ‘juce::UWPUIViewSettings::ComBaseModule’ : illegal copy constructor: first parameter must not be a 'juce::UWPUIViewSettings::ComBaseModule’
f:\juce\modules\juce_gui_basics\native\juce_win32_windowing.cpp(787) : see declaration of 'juce::UWPUIViewSettings::ComBaseModule’
f:\juce\modules\juce_gui_basics\native\juce_win32_windowing.cpp(792) : error C2059: syntax error : ')'
f:\juce\modules\juce_gui_basics\native\juce_win32_windowing.cpp(792) : error C2334: unexpected token(s) preceding ‘:’; skipping apparent function body
f:\juce\modules\juce_gui_basics\native\juce_win32_windowing.cpp(795) : error C2143: syntax error : missing ‘)’ before '&&'
f:\juce\modules\juce_gui_basics\native\juce_win32_windowing.cpp(795) : error C2143: syntax error : missing ‘;’ before '&&'
f:\juce\modules\juce_gui_basics\native\juce_win32_windowing.cpp(795) : error C2059: syntax error : ')'
f:\juce\modules\juce_gui_basics\native\juce_win32_windowing.cpp(795) : error C2334: unexpected token(s) preceding ‘{’; skipping apparent function body
f:\juce\modules\juce_gui_basics\native\juce_win32_windowing.cpp(698) : error C2059: syntax error : '&&'
f:\juce\examples\helloworld\jucelibrarycode\juce_gui_basics.cpp(10) : fatal error C1903: unable to recover from previous error(s); stopping compilation
juce_graphics.cpp
f:\juce\examples\helloworld\jucelibrarycode\juce_graphics.cpp : error C2471: cannot update program database 'f:\juce\examples\helloworld\builds\visualstudio2008\debug\vc90.pdb’
f:\juce\modules\juce_graphics\juce_graphics.cpp(63) : fatal error C1083: Cannot open include file: ‘d2d1.h’: No such file or directory
juce_events.cpp
f:\juce\examples\helloworld\jucelibrarycode\juce_events.cpp : error C2471: cannot update program database 'f:\juce\examples\helloworld\builds\visualstudio2008\debug\vc90.pdb’
f:\juce\examples\helloworld\jucelibrarycode\juce_events.cpp(10) : fatal error C1903: unable to recover from previous error(s); stopping compilation
juce_data_structures.cpp
f:\juce\examples\helloworld\jucelibrarycode\juce_data_structures.cpp : error C2471: cannot update program database 'f:\juce\examples\helloworld\builds\visualstudio2008\debug\vc90.pdb’
f:\juce\examples\helloworld\jucelibrarycode\juce_data_structures.cpp(10) : fatal error C1903: unable to recover from previous error(s); stopping compilation
juce_core.cpp
f:\juce\examples\helloworld\jucelibrarycode\juce_core.cpp : error C2471: cannot update program database 'f:\juce\examples\helloworld\builds\visualstudio2008\debug\vc90.pdb’
f:\juce\modules\juce_core\network\juce_webinputstream.cpp(32) : warning C4355: ‘this’ : used in base member initializer list
f:\juce\examples\helloworld\jucelibrarycode\juce_core.cpp(10) : fatal error C1903: unable to recover from previous error(s); stopping compilation
MainComponent.cpp
f:\juce\examples\helloworld\source\maincomponent.cpp : error C2471: cannot update program database 'f:\juce\examples\helloworld\builds\visualstudio2008\debug\vc90.pdb’
f:\juce\examples\helloworld\source\maincomponent.cpp(168) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Main.cpp
f:\juce\examples\helloworld\source\main.cpp : error C2471: cannot update program database 'f:\juce\examples\helloworld\builds\visualstudio2008\debug\vc90.pdb’
f:\juce\examples\helloworld\source\main.cpp(117) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Generating Code…
Results

Build log was saved at "file://f:\JUCE\examples\HelloWorld\Builds\VisualStudio2008\Debug\BuildLog.htm"
HelloWorld - 24 error(s), 1 warning(s)

Which version of JUCE and Projucer are you using?
JUCE 5 only supports Visual Studio 2013, 2015 and 2017. Visual Studio 2008 is too old.

I m using Projucer 4.3.1

If at all possible you should use the latest versions of juce and visual studio.
This will save you a ton of headaches and it is also easier to get help if something goes wrong.

1 Like

ok, Thank you for replying :slight_smile: :slight_smile: