Game Development Community

Streaming OGG not compiling

by Nick "Dig" Koirala · in Torque Game Engine · 07/06/2003 (4:18 pm) · 5 replies

I added the code from the streaming WAV and Ogg resource, but none of the audio file will compile now,
I'm using MingW and Msys, it gets a lot of syntax and parse errors on any of those additional files and then exits with Error 2 when writing the obj file for ANY of the audio source code.

I'm using the HEAD revision but this shouldn't be relevant because the errors are in compiling the source files unchanged from that resource.

ANyone else had this problem, or know whats going or know another way to support OGG in Torque?

Cheers,
Nick

#1
07/06/2003 (4:41 pm)
Maybe you applied the patches incorrectly?
#2
07/06/2003 (5:47 pm)
The resource I used wasn't a patch, it was just source code files to replace and add to the ones there...
I put them all where they're supposed to go...
#3
07/07/2003 (5:17 am)
Double check everything again, make sure you got the platform.h stuff, I missed that the first time thru.

But, I am using visual studio, so... Maybe someone else using minigw can give it a shot?
#4
07/12/2003 (4:04 am)
Got it all to compile now I have linking problems...

--> Linking out.GCC3.RELEASE/torqueDemo.exe
c:\mingw\bin\..\lib\gcc-lib\mingw32.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -logg
make[1]: *** [out.GCC3.RELEASE/torqueDemo.exe] Error 1
make: *** [default] Error 2

hmmm
#5
07/12/2003 (4:20 am)
Got it all working ...thanks,