undeclared identifier 'File
I have got this error Use of undeclared identifier 'File'. How do i fix it ? thanks
1 2 3 4 5 6 7 8 9
|
void DeckGUI::filesDropped(const juce::StringArray &files, int x, int y)
{
std::cout << "DeckGUI::filesDropped" << std::endl;
if(files.size() == 1)
{
//convert url to string array file name
player->loadURL(juce::URL{File{files[0]}});
}
}
|
Did you mean juce::File?
yes thanks@heios. now, Build Succeeded but I cant dragged the file into Deck and I have got this message JUCE Message Thread (1): breakpoint 2.1 (1)
Topic archived. No new replies allowed.