From f99263526f0620d8c921498aba386f67132c551b Mon Sep 17 00:00:00 2001 From: James Turk Date: Tue, 9 Aug 2005 06:38:24 +0000 Subject: [PATCH] OpenAL from Dev-C++ --- devcpp/AudioTest.dev | 2 +- devcpp/no-openal.txt | 3 +++ devcpp/photon.dev | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 devcpp/no-openal.txt diff --git a/devcpp/AudioTest.dev b/devcpp/AudioTest.dev index b09e4b5..9e45e8d 100644 --- a/devcpp/AudioTest.dev +++ b/devcpp/AudioTest.dev @@ -11,7 +11,7 @@ PrivateResource= ResourceIncludes= MakeIncludes= Compiler= -CppCompiler=-Wall --pedantic +CppCompiler=-DPHOTON_USE_OPENAL -Wall --pedantic Linker=-lphoton -lglfw -lfreetype -lopengl32 -lglu32 -lopenal32 -lalut -lphysfs -lcorona IsCpp=1 Icon= diff --git a/devcpp/no-openal.txt b/devcpp/no-openal.txt new file mode 100644 index 0000000..b2c400b --- /dev/null +++ b/devcpp/no-openal.txt @@ -0,0 +1,3 @@ +If you are attempting to compile via Dev-C++ without OpenAL you must open both +photon.dev and AudioTest.dev and within the Parameters tab of the Project +Options dialog (Alt+P) remove -DPHOTON_USE_OPENAL from the C++ compiler box. diff --git a/devcpp/photon.dev b/devcpp/photon.dev index 3f676de..1249d03 100644 --- a/devcpp/photon.dev +++ b/devcpp/photon.dev @@ -11,7 +11,7 @@ PrivateResource= ResourceIncludes= MakeIncludes= Compiler= -CppCompiler= +CppCompiler=-DPHOTON_USE_OPENAL -Wall --pedantic Linker= IsCpp=1 Icon=