From 66db7e8a00d2e7f1524e31b21575766c38917c11 Mon Sep 17 00:00:00 2001
From: jules
Date: Thu, 27 Sep 2007 17:25:14 +0000
Subject: [PATCH]
---
build/win32/codeblocks/juce.cbp | 7 ++++
docs/JUCE readme.html | 35 ++++++++++---------
.../build/win32_codeblocks/JuceDemo.cbp | 22 ++++++++++++
3 files changed, 47 insertions(+), 17 deletions(-)
diff --git a/build/win32/codeblocks/juce.cbp b/build/win32/codeblocks/juce.cbp
index 063ccef07b..9689ee40bc 100644
--- a/build/win32/codeblocks/juce.cbp
+++ b/build/win32/codeblocks/juce.cbp
@@ -2431,6 +2431,13 @@
+
+
+
+
+
+
+
diff --git a/docs/JUCE readme.html b/docs/JUCE readme.html
index b84851f78c..40d7f56ed6 100644
--- a/docs/JUCE readme.html
+++ b/docs/JUCE readme.html
@@ -27,7 +27,7 @@
Building with VC6 -
Building with VC7 -
Building with XCode -
-Building with Dev-Cpp -
+Building with Code::Blocks -
Building on Linux -
@@ -206,31 +206,32 @@ In future there may be other frameworks that you'll need to link with to support
-
Creating a JUCE application with Dev-C++
+
Creating a JUCE application with Code::Blocks and MinGW
-
open \juce\build\win32\devcpp\juce.dev
-
You may need to install the Platform SDK from Microsoft, and add
C:\Program Files\Microsoft Platform SDK\Include
-at the end of your include path to get some of the more recent header files.
-
Compile! It should produce a library file called juce/bin/libjuce.a
+
open the Juce project: juce/build/win32/codeblocks/juce.cbp
+
open the demo app project: juce/extras/juce demo/build/win32_codeblocks/JuceDemo.cbp
+
Build first the "Juce Library" project, and then the "Juce Demo App" project. If your
+build environment is set up correctly, these should just work and the demo app should run.
-
Then, to create and build an application:
+
To create your own application:
Create a new project, as a "win32 GUI".
-
Remove main.cpp
-
Either copy the example main.cpp from the MSVC juce example project, or write your own based
+
Either copy the example main.cpp from the Juce example project, or write your own based
around the JUCEApplication class
-
In your project settings (alt-P), you'll need to adjust the linker's options so that it links the following libraries:
-
libjuce.a (this will be in your juce/bin/ directory)
-libwininet.a
-libdsound.a
+
In your project's build settings, you'll need to make sure the linker uses the following libraries:
+
libjuce.a or libjucedebug.a (these should be created in the juce/bin/codeblocks directory)
+libshell32.a
libole32.a
+libvfw32.a
libwinmm.a
-libgdi32.a
+libwininet.a
+libdsound.a
+libwsock32.a
+libopengl32.a
+libglu32.a
libuuid.a
-libshell32.a
-libvfw32.a
-librpcrt4.a (these are all in the Dev-C++ libraries folder)
+librpcrt4.a (these are all in the MinGW libraries folder)