Game Development Community

Using the TBE, linking with Vorbis

by Jesse Butler · in Torque Game Engine · 04/28/2005 (3:26 pm) · 2 replies

I have just started working with the Torque Engine, and have downloaded the Torque Build Environment to try it out. I like that Eclipse has built in CVS connection, so I would like to get it working with that. However, it seems something about my install isn't working right. I get a number of compile errors that all trace back to the #include "vorbis/codec.h" line of vorbisStream.h. Eclipse says it can't find the file, and so anything that depends on any of the vorbis stuff also breaks. If I move the headers from lib/vorbis/include/* to the eclipse include ditectory, and change the "s to <>, it compiles, but fails to link. Anyone experienced with Eclipse know how to properly link in the Vorbis library? I think that's all I need to get started.

Thanks,
Jesse

About the author

Recent Threads

  • Cvs Info?

  • #1
    04/28/2005 (4:18 pm)
    If you moved the files you need to update their location in your targets.torque.mk
    #2
    04/28/2005 (4:43 pm)
    That's just it, I don't want to move the files. But sitting where they are, the name isn't getting resolved. The vorbis code isn't being compiled anyway, it is a .lib file that needs to get linked. in targets.torque.mk I see a line:

    INCLUDES_BASE = -I../lib/zlib -I../lib/lungif -I../lib/lpng -I../lib/ljpeg -I../lib/directx8 -I../lib/vorbis/include

    That should allow the #include "vorbis/codec.h" to resolve correctly, but it doesn't seem to be working for me. I don't see any reference to ogg_static.lib in the makefile though, that worries me as well...

    Jesse