Hi,
I am a Juce newbie. I compiled the demo application and read haydnx’s tutorials. Now I want to write a pitch detector program.
My test project compiles well but the linker gives these error:
C:\juce\bin\codeblocks\libjuce.a(juce_win32_FileChooser.o):juce_win32_FileChooser.cpp:(.text+0x1229)||undefined reference to `_GetSaveFileNameA@4'|
C:\juce\bin\codeblocks\libjuce.a(juce_win32_FileChooser.o):juce_win32_FileChooser.cpp:(.text+0x125e)||undefined reference to `_GetOpenFileNameA@4'|
||=== Build finished: 2 errors, 0 warnings ===|
I get these errors when I add these lines to my program, into MainComponent’s constructor:
addAndMakeVisible (fileChooser = new FilenameComponent (T("audiofile"),
File::nonexistent,
true, false, false,
formatManager.getWildcardForAllFormats(),
String::empty,
T("(choose a WAV or AIFF file to play)")));

There is an option in the Project>Properties>Selected Build Target Options>Type: