The demo app and jucer both compile and link. It’s something weird about my app but I’m darned if I can find it.
I’m using Anjuta by the way.
I either get undefined references for Juce objects, or a lot of linker errors for Freetype and X libraries, which is weird:
make all-recursive
make[1]: Entering directory `/home/mike/Desktop/Development/Juce/juce22'
Making all in src
make[2]: Entering directory `/home/mike/Desktop/Development/Juce/juce22/src'
/bin/bash ../libtool --tag=CXX --mode=link g++ -I/opt/juce -g -O2 -o juce22 -L/opt/juce/bin -ljuce main.o
g++ -I/opt/juce -g -O2 -o juce22 main.o -L/opt/juce/bin -ljuce
/opt/juce/bin/libjuce.a(juce_linux_Fonts.o): In function `juce::Typeface::initialiseTypefaceCharacteristics(juce::String const&, bool, bool, bool)':
juce_linux_Fonts.cpp:(.text+0x5ba): undefined reference to `FT_Get_First_Char'
juce_linux_Fonts.cpp:(.text+0x5e6): undefined reference to `FT_Get_Next_Char'
/opt/juce/bin/libjuce.a(juce_linux_Fonts.o): In function `juce::FreeTypeInterface::addGlyph(FT_FaceRec_*, juce::Typeface&, unsigned int)':
juce_linux_Fonts.cpp:(.text._ZN4juce17FreeTypeInterface8addGlyphEP11FT_FaceRec_RNS_8TypefaceEj[juce::FreeTypeInterface::addGlyph(FT_FaceRec_*, juce::Typeface&, unsigned int)]+0x1a): undefined reference to `FT_Get_Char_Index'
juce_linux_Fonts.cpp:(.text._ZN4juce17FreeTypeInterface8addGlyphEP11FT_FaceRec_RNS_8TypefaceEj[juce::FreeTypeInterface::addGlyph(FT_FaceRec_*, juce::Typeface&, unsigned int)]+0x6e): undefined reference to `FT_Load_Glyph'
juce_linux_Fonts.cpp:(.text._ZN4juce17FreeTypeInterface8addGlyphEP11FT_FaceRec_RNS_8TypefaceEj[juce::FreeTypeInterface::addGlyph(FT_FaceRec_*, juce::Typeface&, unsigned int)]+0x218): undefined reference to `FT_Get_First_Char'
juce_linux_Fonts.cpp:(.text._ZN4juce17FreeTypeInterface8addGlyphEP11FT_FaceRec_RNS_8TypefaceEj[juce::FreeTypeInterface::addGlyph(FT_FaceRec_*, juce::Typeface&, unsigned int)]+0x22f): undefined reference to `FT_Get_Next_Char'
juce_linux_Fonts.cpp:(.text._ZN4juce17FreeTypeInterface8addGlyphEP11FT_FaceRec_RNS_8TypefaceEj[juce::FreeTypeInterface::addGlyph(FT_FaceRec_*,