Over 10 years of Java. Now back to C++. Boy, … this … is … complicated!
Okay, I read code from sample projects. Fine. Now on to my very own setup of my project. From ‘HelloWorld’-project (sources grabbed via GIT) I learned that I have two classes: a window class and an application class.
Hence I did:
[code]class MyAppWindow : public DocumentWindow
MyAppWindow() : DocumentWindow(T(“JUCE Hello World!”), Colours::lightgrey, DocumentWindow::allButtons, true)
and in the same file I appended the “application class”:
[code]class MyApplication : public JUCEApplication
MyApplication () : myAppWindow(0)
This is just pattern matching from the project ‘HelloWorld’. To make the project aware of the JUCE lib I did again as that prototype:
is heading the snippets above. I created a folder called ‘lib’ at the same level as my cpp file and put the according JUCE files in place:
This is basically the same way ‘HelpWorld’ does. But I get 3615 unresolved LINK errors.
Apart from this tutorial http://code.google.com/p/juced/
I cannot find any basic introduction. Guess, this is too basic but at least it should be mentioned somewhere.
Using Visual C++ 2008 Express Edition (which is also a stranger).
I’d appreciate any hints!