# Introjucer not automaticaly creating BinaryData.cpp file

**URL:** <https://forum.juce.com/t/introjucer-not-automaticaly-creating-binarydata-cpp-file/14920>\
**Category:** The Projucer\
**Created:** [June 5, 2015, 10:55am UTC](https://forum.juce.com/t/introjucer-not-automaticaly-creating-binarydata-cpp-file/14920 "2015-06-05T10:55:55Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![xrousaios](https://avatars.discourse-cdn.com/v4/letter/x/e47c2d/32.png) [@xrousaios](https://forum.juce.com/u/xrousaios)\
**Post date:** [June 5, 2015, 10:55am UTC](https://forum.juce.com/t/introjucer-not-automaticaly-creating-binarydata-cpp-file/14920/1 "2015-06-05T10:55:55Z")

</div>

Hi all.

When I am adding a resource&nbsp;file to my project (i.e. .png, .txt ...), the&nbsp;Introjucer not automaticaly creates&nbsp;the BinaryData.cpp file into JuceLibraryCode or anywhere else.  
I just check the &nbsp;"Add to Binary Resources" but nothing happens.

I am using now&nbsp;the BinaryBuildel.exe for a temporary solution.

My OS : Windows 8.1 64-bit  
Juce modules version : &nbsp;3.1.1

&nbsp;

Any suggestion please?

&nbsp;

George

&nbsp;&nbsp;&nbsp;

---

<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:** [June 5, 2015, 11:00am UTC](https://forum.juce.com/t/introjucer-not-automaticaly-creating-binarydata-cpp-file/14920/2 "2015-06-05T11:00:34Z")

</div>

First time I've ever heard of&nbsp;that happening.. Perhaps step through ProjectSaver::writeBinaryDataFiles() and see what happens.

---

<div class="post-metadata">

**Author:** ![xrousaios](https://avatars.discourse-cdn.com/v4/letter/x/e47c2d/32.png) [@xrousaios](https://forum.juce.com/u/xrousaios)\
**Post date:** [June 6, 2015, 5:17am UTC](https://forum.juce.com/t/introjucer-not-automaticaly-creating-binarydata-cpp-file/14920/3 "2015-06-06T05:17:27Z")

</div>

The Juce version I had, &nbsp;was downloaded from "GitHub/Download Juce for Windows".  
Now I downloaded only the source code from "GitHub/Download Juce source code from GitHub"&nbsp;and I natively built a release version of&nbsp;introjucer.

After that, everything goes ok !

George&nbsp;

&nbsp;

&nbsp;&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![xrousaios](https://avatars.discourse-cdn.com/v4/letter/x/e47c2d/32.png) [@xrousaios](https://forum.juce.com/u/xrousaios)\
**Post date:** [June 6, 2015, 8:03am UTC](https://forum.juce.com/t/introjucer-not-automaticaly-creating-binarydata-cpp-file/14920/4 "2015-06-06T08:03:00Z")

</div>

An other problem&nbsp;suddenly&nbsp;emerged in the Introjucer.&nbsp;

The "Available version" in the "Config/Modules"&nbsp; remains blank (-).  
Also when I press the button "Download and Add a module" I get the message "Couldn't contact the website".

As I saw, the loadFromWebsite function returns a nullptr input stream, while the target URL seems ok.

I tried with other URLs&nbsp;but the result was the same.

Any idea?

&nbsp;

George

&nbsp;

Edit : &nbsp;...and&nbsp;ultimately trivial but annoying as a mosquito: the splashscreen, does not show its title. It shows only the image.

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [June 9, 2015, 9:42am UTC](https://forum.juce.com/t/introjucer-not-automaticaly-creating-binarydata-cpp-file/14920/5 "2015-06-09T09:42:35Z")

</div>

1. I've just tested adding a binary resource to the Introjucer and it works for me (on Windows 8.1). Remember that you need to do "Save all" and "Save Project" for the changes to take effect. Also, make sure to close the Visual Studio project and open it again. My usual workflow is to always close the visual studio project when working in the introjucer, then saving all changes and clicking on "Save Project and Open in Visual Studio". This way Visual Studio will always be up-to-date.

2. I've had the same issue with the could not connect when my windows firewall is blocking the introjucer. Normally, Windows will warn you if this happens but for some reason the Introjucer did bring up a warning for me on Windows 8.1. I needed to specifically unblock the Introjucer from the firewall. Try briefly turning off your firewall and check if it works.

&nbsp;

---

<div class="post-metadata">

**Author:** ![xrousaios](https://avatars.discourse-cdn.com/v4/letter/x/e47c2d/32.png) [@xrousaios](https://forum.juce.com/u/xrousaios)\
**Post date:** [June 9, 2015, 11:52am UTC](https://forum.juce.com/t/introjucer-not-automaticaly-creating-binarydata-cpp-file/14920/6 "2015-06-09T11:52:17Z")

</div>

1. &nbsp;The point was "need to do "Save all" and "Save Project" for the changes to take effect", at the first time, in order to see the BinaryData.h and .cpp in the Files tree. &nbsp;Ok,&nbsp;I never have open the Introjucer and my IDE at the same time.

2. In my case I had to adjust both the Windows 8.1 and the Norton Internet security parameters. &nbsp;So, the Introjucer works properly now.

BTW :&nbsp;Norton Internet Security, deletes the Introjucer.exe&nbsp;every time is&nbsp;executed, until I&nbsp;add&nbsp;Introjucer.exe to its&nbsp;exception&nbsp;list.&nbsp;Probably because the introjucer scans keyboard typing.

---

<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:** [June 9, 2015, 3:25pm UTC](https://forum.juce.com/t/introjucer-not-automaticaly-creating-binarydata-cpp-file/14920/7 "2015-06-09T15:25:47Z")

</div>

> Edit : &nbsp;...and&nbsp;ultimately trivial but annoying as a mosquito: the splashscreen, does not show its title. It shows only the image.

Which splashscreen? I wasn't aware that the introjucer had a splashscreen..?

---

<div class="post-metadata">

**Author:** ![xrousaios](https://avatars.discourse-cdn.com/v4/letter/x/e47c2d/32.png) [@xrousaios](https://forum.juce.com/u/xrousaios)\
**Post date:** [June 9, 2015, 5:39pm UTC](https://forum.juce.com/t/introjucer-not-automaticaly-creating-binarydata-cpp-file/14920/8 "2015-06-09T17:39:21Z")

</div>

My project's splashscreen.&nbsp;

> &nbsp; &nbsp; &nbsp; &nbsp; Splash = new SplashScreen("Welcome to the Metronome kit",  
> &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ImageFileFormat::loadFrom(BinaryData::GrannysAudioTradeMark\_png, BinaryData::GrannysAudioTradeMark\_pngSize),  
> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; true);&nbsp;

When it appears, the title does not appear.&nbsp;

---

<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:** [June 9, 2015, 5:47pm UTC](https://forum.juce.com/t/introjucer-not-automaticaly-creating-binarydata-cpp-file/14920/9 "2015-06-09T17:47:40Z")

</div>

Why/where&nbsp;would you expect the title to appear? It's not a DocumentWindow, it's just a plain rectangle that displays your content. Most people will have their title as a logo or large graphic element rather than wanting it at the top, but you can draw it there yourself if you like.

---

<div class="post-metadata">

**Author:** ![xrousaios](https://avatars.discourse-cdn.com/v4/letter/x/e47c2d/32.png) [@xrousaios](https://forum.juce.com/u/xrousaios)\
**Post date:** [June 9, 2015, 5:58pm UTC](https://forum.juce.com/t/introjucer-not-automaticaly-creating-binarydata-cpp-file/14920/10 "2015-06-09T17:58:20Z")

</div>

Ok Jules. It is my misunderstanding.  
Carried away by the splashscreen constructor, which&nbsp;has a "string& title" as the first&nbsp;parameter.  
Sorry for the time you spent for it..  
&nbsp;
