libogg and libvorbis are available here: http://xiph.org/downloads/
unpack them and run the usual ./configure --prefix=/usr/local; make; make install steps.
libogg first, then libvorbis.
OpenAL is available from: http://connect.creativelabs.com/openal/ ... -1.13.tbz2
You'll need CMAKE to compile openal.
cmake -G "MSYS Makefiles", then make and make install.
I didn't set the /usr/local prefix for cmake so I had to manually copy the include, lib and dll files to my MSYS directories.
finally, you'll need to edit the premake script for te4core. Here is a diff for that:
Code: Select all
Index: build/te4core.lua
===================================================================
--- build/te4core.lua (revision 3678)
+++ build/te4core.lua (working copy)
@@ -44,7 +44,7 @@
links { "IOKit" }
configuration "windows"
- links { "mingw32", "SDLmain", "SDL", "SDL_ttf", "SDL_image", "openal", "OPENGL32", "GLU32", "wsock32" }
+ links { "mingw32", "SDLmain", "SDL", "SDL_ttf", "SDL_image", "Openal32.dll", "OPENGL32", "GLU32", "wsock32", "vorbisfile" }
defines { [[TENGINE_HOME_PATH='"T-Engine"']], 'SELFEXE_WINDOWS' }
prebuildcommands { "windres ../src/windows/icon.rc -O coff -o ../src/windows/icon.res" }
linkoptions { "../src/windows/icon.res" }