(1) i think there is a compile guard missing in juce_amalgamated.cpp – when i comment out JUCE_USE_CDREADER in the amalgamated sources and .h :
#ifndef JUCE_USE_CDREADER
// #define JUCE_USE_CDREADER 1
#endif
then the compile breaks at line 258070 because the class is still being defined:
g++ -MMD -D “LINUX” -I “src” -I “/usr/include/freetype2” -O2 -o “obj/juce/Release/juce_amalgamated.o” -c "src/juce_amalgamated.cpp"
src/juce_amalgamated.cpp:258070: error: e$(B!Fe(BAudioCDReadere$(B!Ge(B has not been declared
src/juce_amalgamated.cpp:258070: error: ISO C++ forbids declaration of e$(B!Fe(BAudioCDReadere$(B!Ge(B with no type
it compiles if I wrap that code with this:
#if (JUCE_LINUX && JUCE_USE_CDREADER)
[…]
#endif
(2) launchInDefaultBrowser does not seem to work on file urls, eg urls that look like URL(“file:///Users/hkt/foo.html#bar”).launchInDefaultBrowser();
best,
–rick