i’ve tweaked the StartingPoint files, so please redownload them (this chapter starts from scratch again). This probably means i’ll have to edit some of the older chapters some more too…
chapter 7 is actually different to what i’d said before. chapter 6 (file handling) is actually now in 2 parts. Before I go onto these other data types, i’m doing an ‘intermission’ discussing the debug stream, and a project on building your own ‘console’ component, how to create ‘customised’ versions of existing components, and how to make your own polymorphic components with behaviour you can override.
[quote=“Rellik”]Hi haydxn! Your tutorial is great so far! If you don’t mind, could I ask a question here in this thread?
You see, I’ve been able to compile your StartingPoint (the first one, just for the blank window), but it isn’t showing up when I run it. I’m on Linux, so I added the #define LINUX to the beginning, so now it compiles fine - I just don’t really know why it isn’t showing up (when I run it, it seems to work fine, then exits spontaneously after a few seconds). Any ideas (anyone)? Thanks![/quote]
I’m going to give it another shot on Monday, any other ideas for what I should try?
I can post the Makefile when I get there, if anyone thinks that it would be useful in figuring it out.
In case anyone has a similar problem, this is what was causing it not to show up on-screen and to subsequently silently crash:
moreThanOneInstanceAllowed() has to return true to avoid the crash (in the tutorial source, it returns false)
(obviously this is only an issue for Linux, or even maybe just the type of Linux we use here, but if you’re having a similar problem, it’s something to try)
Anyway, now it’s showing up fine, so I’ll continue with the tutorial
hey, sorry i’ve not been able to help with that but i’m glad you’ve got it sorted!
i need to have a small break from writing the tutorial, as i’ve a big load of uni work to get done :s and i’ve got to stop drawing these frogs too!
sorry to stop in the middle of a chapter! I’ve uploaded the latest version with the first part of chapter 7. it’s quite a big chapter already but it’s not finished and stops quite abruptly!
“Bonnet” and “Boot” are car references, as opposed to the new-worldy “Hood” and “Trunk”, which are apparently references to the Bronx and a tree, respectively. :twisted:
hi there, thanks for letting me know of your problem and not just giving up!
i’ve been too busy lately to do any programming whatsoever, and two versions of JUCE have been released since i last worked on my tutorial. i’ve yet to download the latest version, so i’ll have to have a look at it in the week. quite a few classes have been updated, so it’s not surprising to see that my tutorial code has been affected…
i believe i’ll have some time on wednesday to have a closer look at it all.
many thanks again for finding this out, please accept my apologies for not having this fixed already!
I’ve made a new set of starting point files to get back compatibility with the latest Juce version, but have yet to update the tutorial. Here is a zip of the files…
I’ll update the tutorial very soon; in case you hadn’t noticed, I’ve started converting the tutorial to the Juce WiKi. Hopefully that will help kick-start the WiKi’s usefulness a bit. I need to adapt the chapters (including re-do screenshots!) for the new files to be compatible with the latest Juce version. I’ll keep y’all updated.