Juce Quake Introjucer (ready to use?)

Discussion and support for general JUCE issues

Juce Quake Introjucer (ready to use?)

Postby chkn » Fri Sep 02, 2011 4:18 pm

I just compiled the new Introjucer from the modules branch, the module-tab is empty and if a generate a project, it seems there is no connection to any juce files (Did i forget something?)
chkn
JUCE UberWeenie
 
Posts: 861
Joined: Thu Mar 08, 2007 6:17 pm

Re: Juce Quake Introjucer (ready to use?)

Postby jules » Fri Sep 02, 2011 4:38 pm

It just sounds like it doesn't know the location of your juce folder. If you set that up correctly in your project exporter settings, it should work. I'm going to add some stuff to make that process easier next..
User avatar
jules
Fearless Leader
 
Posts: 17192
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Re: Juce Quake Introjucer (ready to use?)

Postby chkn » Wed Sep 14, 2011 10:08 am

i run the introjucer (latest tip) with VS-Debugger.
When i first created a project, it seems it ignores the juce-path, after i changed it manually in on exporter tab, saved the project, and than created a new project it used the right folder from the beginning.

1.png
1.png (18.28 KiB) Viewed 3319 times

2.png
2.png (17.28 KiB) Viewed 3319 times

3.png
3.png (96.02 KiB) Viewed 3319 times
chkn
JUCE UberWeenie
 
Posts: 861
Joined: Thu Mar 08, 2007 6:17 pm

Re: Juce Quake Introjucer (ready to use?)

Postby jules » Wed Sep 14, 2011 10:17 am

This is work-in-progress. I'm in the middle of rewriting all the juce/modules folder stuff. Will be checking in very soon..
User avatar
jules
Fearless Leader
 
Posts: 17192
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Re: Juce Quake Introjucer (ready to use?)

Postby chkn » Thu Sep 15, 2011 7:57 am

nice to hear.
I'm currently working on a script, which automatically downloads the latest modules branch, compiles the introjucer, and resave all my static-library projects (I see you implemented nice command-line options in the introjucer :) , if you plan something like this for the introjucer, please tell me, so i don't have to do this twice.
chkn
JUCE UberWeenie
 
Posts: 861
Joined: Thu Mar 08, 2007 6:17 pm

Re: Juce Quake Introjucer (ready to use?)

Postby jules » Thu Sep 15, 2011 10:29 am

Yes - it'll do all that. There'll be a gui to download the latest modules individually, and also some command-line options to do the same thing.
User avatar
jules
Fearless Leader
 
Posts: 17192
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Re: Juce Quake Introjucer (ready to use?)

Postby chkn » Sat Sep 17, 2011 5:54 pm

i just checked the latest tip again "Sat, 17 Sep 2011 15:15:38 ", and its the same as described above. The juce location seems to be ignored first time.
chkn
JUCE UberWeenie
 
Posts: 861
Joined: Thu Mar 08, 2007 6:17 pm

Re: Juce Quake Introjucer (ready to use?)

Postby jules » Sat Sep 17, 2011 6:06 pm

Still working on it. Haven't looked at the new project wizard yet.
User avatar
jules
Fearless Leader
 
Posts: 17192
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Re: Juce Quake Introjucer (ready to use?)

Postby jules » Sat Sep 17, 2011 6:13 pm

..but I just tried it and it works fine (?)

Maybe clear out your settings files and try again, or if I'm misunderstanding the problem, perhaps talk me through what's not working?
User avatar
jules
Fearless Leader
 
Posts: 17192
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Re: Juce Quake Introjucer (ready to use?)

Postby ckk » Sat Sep 17, 2011 6:51 pm

The problem seems to be that the Introjucer is looking for a file called juce_module_info file which isn't in the directory. The file also doesn't exist in the juce/modules directory.

Edit: Removed previous nonsense edit.

Chris
Last edited by ckk on Sat Sep 17, 2011 7:23 pm, edited 2 times in total.
ckk
JUCE UberWeenie
 
Posts: 218
Joined: Thu May 20, 2010 7:43 pm

Re: Juce Quake Introjucer (ready to use?)

Postby jules » Sat Sep 17, 2011 7:14 pm

ckk wrote:The problem seems to be that the Introjucer is looking for a file called juce_module_info file which isn't in the directory. The file also doesn't exist in the juce/modules directory.


?

Well yes. There's one of those in each module folder. That's how it recognises a module.
User avatar
jules
Fearless Leader
 
Posts: 17192
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Re: Juce Quake Introjucer (ready to use?)

Postby ckk » Sat Sep 17, 2011 7:18 pm

jules wrote:?

Me too. :)

It works now. I changed the juce path to jucequake/juce/, but I am quite certain I tried that before.


Chris
ckk
JUCE UberWeenie
 
Posts: 218
Joined: Thu May 20, 2010 7:43 pm

Re: Juce Quake Introjucer (ready to use?)

Postby chkn » Sat Sep 17, 2011 7:47 pm

i had a quick look at the the introjucer source, maybe i'm just blind but the return value of juceFolderSelector.getCurrentFile() will be checked but not used ?!


Code: Select all
Project* NewProjectWizard::runNewProjectWizard (Component* ownerWindow)
{
    ScopedPointer <NewProjectWizard> wizard;

    {
        AlertWindow aw ("New Juce Project",
                        "Select the type of project to create, and the location of your Juce folder",
                        AlertWindow::NoIcon,
                        ownerWindow);

        aw.addComboBox ("type", getWizards(), "Project Type");

        FilenameComponent juceFolderSelector ("Juce Library Location", ModuleList::getLocalModulesFolder (nullptr),
                                              true, true, false, "*", String::empty, "(Please select the folder containing Juce!)");
        juceFolderSelector.setSize (350, 22);

        aw.addCustomComponent (&juceFolderSelector);

        aw.addButton ("Next", 1, KeyPress (KeyPress::returnKey));
        aw.addButton ("Cancel", 0, KeyPress (KeyPress::escapeKey));

        for (;;)
        {
            if (aw.runModalLoop() == 0)
                return 0;

            if (FileHelpers::isJuceFolder (juceFolderSelector.getCurrentFile()))
            {
                wizard = createWizard (aw.getComboBoxComponent ("type")->getSelectedItemIndex());
                break;
            }

            aw.setColour (AlertWindow::textColourId, Colours::red);
            aw.setMessage ("Please select a valid Juce folder for the project to use!");
        }
    }

    return wizard != nullptr ? wizard->runWizard (ownerWindow) : 0;
}
chkn
JUCE UberWeenie
 
Posts: 861
Joined: Thu Mar 08, 2007 6:17 pm

Re: Juce Quake Introjucer (ready to use?)

Postby jules » Sat Sep 17, 2011 8:08 pm

You're probably right, I need to take a proper look at the wizard code.
User avatar
jules
Fearless Leader
 
Posts: 17192
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Re: Juce Quake Introjucer (ready to use?)

Postby chkn » Mon Sep 19, 2011 7:39 pm

Will there be also a wizard for static library projects?
And i guess using a static library with a plugin-projects is now a not possible, because the wrapper code is linked directly to the library source code, or will be there an option to generate plugin-projects for static libraries ?
In the moment the introjucer generates wrong paths in the VC-Project like:

5.png
5.png (86.82 KiB) Viewed 3170 times
chkn
JUCE UberWeenie
 
Posts: 861
Joined: Thu Mar 08, 2007 6:17 pm

Next

Return to General JUCE discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest