Step 1: Install Dev-C++ 4.9.9.0
Step 2: Update! Goto tools–>check for updates/packages. Check for updates. Check Directx9 devpack, download selected and install.
Step 3: “install” Juce, preferrably to c:\juce or d:\juce (dont double your paths when extracting!)
Step 4: open “\juce\build\win32\devcpp\juce.dev”
Step 5: in juce_win32_Threads.cpp, change
include "crtdbg.h"
to
include "crtdbg.h"
step 6: same file as above. in Process:terminate() change…
_CrtDumpMemoryLeaks();
to
#ifdef PLATFORM_WIN32_MSVC
_CrtDumpMemoryLeaks();
#endif
(I suggest Jules add this, or similiar, to the lib btw for those of us who dont have access to crtcbg.h or similiar without a massive searching headache)
step 7: Compile! in 1.4 this will make libjuce.a, in 1.3 it makes juce.a. You need the file to be called libjuce.a
step 8: New project, win32 GUI, c++
step 9: Remove Main.cpp (right click, remove file).
step 10: Add file “\juce\projects\example project for Win32\main.cpp”
step 11: Alt-P (project options) -> Directories tab, and add “\juce\bin” to your library directories.
Step 12: Still inside project options (alt-p), add this to linker parameters. “-ljuce -lmsvfw32 -lwinmm -lrpcrt4” without the quotes.
step 13: Compile and link! following these steps from no install to build on a computer I havent used Juce on worked great.
step 14: Run executable to say hi to the world.
If there’s any errors you have, just let me know and Ill see if I left out a step or something.
v1.3.1 revisions: Another obvious one, run executable. Just in case someone expected compile and run automatically
v1.3 revisions: Forgot to suggest removing main.cpp, one of those “No one will forget to do that will they?” things ya know?
v1.2 revisions: Added update procedure for directX, needed for dsound.h and the various trinkets jules uses from it.
v1.1 revisions: Added steps to remove crtdbg.h for non MSVC compilers.