# Trying to get an IntroJucer project to build

**URL:** <https://forum.juce.com/t/trying-to-get-an-introjucer-project-to-build/11209>\
**Category:** General JUCE discussion\
**Created:** [December 8, 2012, 4:57pm UTC](https://forum.juce.com/t/trying-to-get-an-introjucer-project-to-build/11209 "2012-12-08T16:57:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![laserbeak](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/laserbeak/32/1765_2.png) [@laserbeak](https://forum.juce.com/u/laserbeak)\
**Post date:** [December 8, 2012, 4:57pm UTC](https://forum.juce.com/t/trying-to-get-an-introjucer-project-to-build/11209/1 "2012-12-08T16:57:45Z")

</div>

Hi again,  
So i’m trying to build a VS2010 project i’ve exported from Introjucer. Everything looks find and intellisense doesn’t complain until i build the project(if that means much).  
My project is a VST plugin (sorry if this belongs in the audio plugins folder) and i’ve added the paths of the juce and vst directories in the project’s “additional Include directories” field.

Still i get tons of errors. Here are the first 6:

> [@](#):
>
> Error 1 error C2871: ‘juce’ : a namespace with this name does not exist j:\projects\juce\testing\jucelibrarycode\juceheader.h 21 1 Testing  
> Error 2 error C2871: ‘juce’ : a namespace with this name does not exist j:\projects\juce\testing\jucelibrarycode\juceheader.h 21 1 Testing  
> Error 3 error C2504: ‘AudioProcessor’ : base class undefined j:\projects\juce\testing\source\pluginprocessor.h 21 1 Testing  
> Error 4 error C2061: syntax error : identifier ‘AudioSampleBuffer’ j:\projects\juce\testing\source\pluginprocessor.h 31 1 Testing  
> Error 5 error C2143: syntax error : missing ‘;’ before ‘\*’ j:\projects\juce\testing\source\pluginprocessor.h 34 1 Testing  
> Error 6 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int j:\projects\juce\testing\source\pluginprocessor.h 34 1 Testing

I’ve added a screenshot of my Introjucer setup if anyone wants to look.  
I’d appreciate any help. I can’t seem to figure this one out.

Thanks

P.S.  
The example hello world project builds and runs fine, but the example audio plugin project does not:

> [@](#):
>
> Error 1 error C2259: ‘JuceDemoPluginAudioProcessor’ : cannot instantiate abstract class F:\source\juce\extras\audio plugin demo\Source\PluginProcessor.cpp 378 1 JuceDemoPlugin  
> Error 2 error C2664: ‘juce::Slider::setValue’ : cannot convert parameter 2 from ‘bool’ to ‘juce::NotificationType’ F:\source\juce\extras\audio plugin demo\Source\PluginEditor.cpp 97 1 JuceDemoPlugin  
> Error 3 error C2664: ‘juce::Slider::setValue’ : cannot convert parameter 2 from ‘bool’ to ‘juce::NotificationType’ F:\source\juce\extras\audio plugin demo\Source\PluginEditor.cpp 98 1 JuceDemoPlugin  
> 4 IntelliSense: argument of type “bool” is incompatible with parameter of type “juce::NotificationType” f:\source\juce\extras\audio plugin demo\source\plugineditor.cpp 97 46 JuceDemoPlugin  
> 5 IntelliSense: argument of type “bool” is incompatible with parameter of type “juce::NotificationType” f:\source\juce\extras\audio plugin demo\source\plugineditor.cpp 98 48 JuceDemoPlugin

---

<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:** [December 8, 2012, 9:40pm UTC](https://forum.juce.com/t/trying-to-get-an-introjucer-project-to-build/11209/2 "2012-12-08T21:40:30Z")

</div>

> [@](#):
>
> Error 2 error C2664: ‘juce::Slider::setValue’ : cannot convert parameter 2 from ‘bool’ to ‘juce::NotificationType’ F:\source\juce\extras\audio plugin demo\Source\PluginEditor.cpp 97 1 JuceDemoPlugin

No… that’s not the latest code that you’re trying to build.

Looks like you’ve got some mis-matched versions lying around that are getting confused.

---

<div class="post-metadata">

**Author:** ![laserbeak](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/laserbeak/32/1765_2.png) [@laserbeak](https://forum.juce.com/u/laserbeak)\
**Post date:** [December 8, 2012, 9:49pm UTC](https://forum.juce.com/t/trying-to-get-an-introjucer-project-to-build/11209/3 "2012-12-08T21:49:16Z")

</div>

maybe it’s because I downloaded the .zip from sourcefoge and then updated the modules in introjucer?

latest git download matched the modules i updated to. everything works now. Thanks

---

<div class="post-metadata">

**Author:** ![digiology](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@digiology](https://forum.juce.com/u/digiology)\
**Post date:** [April 19, 2013, 11:51pm UTC](https://forum.juce.com/t/trying-to-get-an-introjucer-project-to-build/11209/4 "2013-04-19T23:51:55Z")

</div>

I also ran into this problem. Downloading juce through source forge or from git gave me a version of juce\_Label.cpp where Label::settext( ) expected a NotificationType as its second argument.

I was able to solve this by downloading the modules through Introducer. Now Label::settext( ) will accept a boolean argument.

---

<div class="post-metadata">

**Author:** ![digiology](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@digiology](https://forum.juce.com/u/digiology)\
**Post date:** [April 20, 2013, 10:03pm UTC](https://forum.juce.com/t/trying-to-get-an-introjucer-project-to-build/11209/5 "2013-04-20T22:03:37Z")

</div>

Sorry, I misunderstood and thought the version where Label::settext gets a boolean was the latest version. Downloading the latest version from git seems to work for me.
