Game Development Community

Compile issues.

by Jace · in Torque Game Engine · 04/24/2006 (9:24 am) · 5 replies

VS2005, Platform Core SDK. TGE 1.4

3>winRedbook.obj : error LNK2001: unresolved external symbol __imp__mixerGetNumDevs@0
3>winRedbook.obj : error LNK2001: unresolved external symbol __imp__mixerSetControlDetails@12
3>winWindow.obj : error LNK2001: unresolved external symbol _ImmAssociateContext@8
3>vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_packet_blocksize
3>vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_page_continued
3>vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_page_granulepos
3>vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_info_blocksize
3>vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_sync_reset
3>vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_sync_pageseek
3>vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_stream_reset
3>vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_stream_packetpeek
3>vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_page_eos

I get about 180 errors relating to ogg, vorbis and theora!

Any ideas?

Thanks

#1
04/24/2006 (10:35 am)
I am using these dep. files: "User32.lib" "gdi32.lib" "Advapi32.lib"

I really have no idea whats going on with it.
#2
04/24/2006 (10:38 am)
You need to include the remaining libraries.

you need theora, ogg and vorbis added to your link list.

to be anal, those arent really dep files those are Libraries.
and you need more of those .lib's to get compiling.
#3
04/24/2006 (10:47 am)
If your program file depends on a lib file to compile doesn't that make it a dependency? But besides that here are ALL the libs you need to compile TGE 1.4.

User32.lib
gdi32.lib
Advapi32.lib
theora_static.lib
theora_static_d.lib
ogg_static.lib
ogg_static_d.lib
vorbis_static.lib
vorbis_static_d.lib
vorbis_static_mt.lib
WinMM.lib
WSock32.lib
Imm32.lib
Vfw32.lib
#4
04/24/2006 (10:49 am)
Yes it is a dependant.
but a 'dep file' is something else :)

it is a mapping of the dependencies per source file.

like I said Anal..
:)

so you got it working or what ? :)
#5
04/24/2006 (10:51 am)
Yeah it is working with those libs, thanks for the heads up.