I got stuck with compiling my app under Ubuntu. I followed many instructions I found on the forum, I got jucer and juce demo built without any problems, but I just can’t do the same with my own app.
I don’t use Eclipse, only pure Makefile generated by premake using the premake.lua from the juce demo (I deleted the unnecessary source paths, and renamed the project).
When I type
it starts to compile the cpp-s like
==== Building App ==== ApplicationStartup.cpp Linking App build/intermediate/Debug/MainAppWindow.o: In function `MainAppWindow':
then breaks (at Linking) printing a lot of errors such as:
/src/MainAppWindow.cpp:43: undefined reference to `juce::String::String(wchar_t const*)' /src/MainAppWindow.cpp:43: undefined reference to `juce::DocumentWindow::DocumentWindow(juce::String const&, juce::Colour const&, int, bool)' ...
So it returns with undefined reference errors about every little components I used from juce.
I don’t really get it, because theoretically the juce demo used the same paths, same lua, and worked fine.
What am I missing?