Game Development Community

adding libraries

by Tyler Turner · in Torque Game Engine · 09/07/2002 (7:12 pm) · 2 replies

Hey, i was following the tutorial to add streaming ogg files into missions (http://garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2556) but i can't figure out how to add the library to my project and get it to compile right. any help would be appreciated.

this is the error i get
Linking...
LINK : fatal error LNK1104: cannot open file "ogg.lib"
Error executing link.exe.

#1
09/08/2002 (4:01 am)
Ok, I assume you've copied the files/folders to their right places (include files/libs into "lib" and the dll's into "example")...
then follow these screens and it should work...
You probably want to do this for the RELEASE and DEBUG build...

www.ancient-arena.com/pics/ogg_lib1.gif
www.ancient-arena.com/pics/ogg_lib2.gif
www.ancient-arena.com/pics/ogg_lib3.gif

I've also added the path you see in the first pic to the "Torque Lib" project (C/C++/Preprocessor/Additional include dirs), don't knwo if that is really necessary...

Greetinx,
beffy
#2
05/12/2003 (8:44 am)
Wow, Stefan! I can't believe nobody's responded sooner, but thanks for the screenshots! I haven't touched VS 6 in a long time and I forgot how to add libraries etc. but this helped and now I have ogg/vorbis music in the background :-D

- Jake