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.
jules wrote:?
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;
}Return to General JUCE discussion
Users browsing this forum: Google [Bot] and 1 guest