Help Please. :/
by Thomas Oliver · in General Discussion · 11/02/2002 (3:10 pm) · 5 replies
When ever I try to compile the latest release of RW I get the following error. It compiles fine in debug mode but in release it gives the following.
I checked my links in the options and I have the ogg include directory as one of them and I also have the ogg lib as one of them.
Compiler
WC6 SP5
--------------------Configuration: Torque Demo - Win32 Release--------------------
Linking...
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_sync_wrote
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_sync_buffer
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_sync_reset
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_sync_pageseek
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_page_serialno
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_stream_clear
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_comment_clear
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_info_clear
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_synthesis_headerin
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_stream_packetout
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_stream_pagein
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_comment_init
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_info_init
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_stream_init
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_page_granulepos
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_block_init
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_synthesis_init
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_block_clear
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_dsp_clear
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_synthesis_blockin
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_synthesis_pcmout
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_stream_reset
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_synthesis
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_sync_init
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_sync_clear
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_page_eos
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_packet_blocksize
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_page_continued
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_stream_packetpeek
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_synthesis_read
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_info_blocksize
../example/torqueDemo.exe : fatal error LNK1120: 31 unresolved externals
Error executing link.exe.
torqueDemo.exe - 32 error(s), 0 warning(s)
I checked my links in the options and I have the ogg include directory as one of them and I also have the ogg lib as one of them.
Compiler
WC6 SP5
--------------------Configuration: Torque Demo - Win32 Release--------------------
Linking...
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_sync_wrote
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_sync_buffer
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_sync_reset
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_sync_pageseek
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_page_serialno
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_stream_clear
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_comment_clear
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_info_clear
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_synthesis_headerin
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_stream_packetout
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_stream_pagein
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_comment_init
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_info_init
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_stream_init
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_page_granulepos
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_block_init
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_synthesis_init
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_block_clear
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_dsp_clear
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_synthesis_blockin
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_synthesis_pcmout
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_stream_reset
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_synthesis
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_sync_init
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_sync_clear
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_page_eos
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_packet_blocksize
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_page_continued
vorbisStream.obj : error LNK2001: unresolved external symbol _ogg_stream_packetpeek
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_synthesis_read
vorbisStream.obj : error LNK2001: unresolved external symbol _vorbis_info_blocksize
../example/torqueDemo.exe : fatal error LNK1120: 31 unresolved externals
Error executing link.exe.
torqueDemo.exe - 32 error(s), 0 warning(s)
#2
Still doesnt work. Its finding all teh files and compileing everything it just seems for some reasion its not linking them.
Ive tried adding the Ogg include directory in the includes for VC6. Still no luck. Tried removeing and doing the above. Still no luck.
Could someone post what there VC6 Lib and Include Options look like. I think I may have something wrong there. :(
11/08/2002 (12:48 am)
Humm.. :(Still doesnt work. Its finding all teh files and compileing everything it just seems for some reasion its not linking them.
Ive tried adding the Ogg include directory in the includes for VC6. Still no luck. Tried removeing and doing the above. Still no luck.
Could someone post what there VC6 Lib and Include Options look like. I think I may have something wrong there. :(
#3
maybe that helps...
www.ancient-arena.com/pics/ogg_lib1.gif
www.ancient-arena.com/pics/ogg_lib2.gif
www.ancient-arena.com/pics/ogg_lib3.gif
This should really be fixed in the RW CVS, though... :(
11/08/2002 (1:08 am)
Hm, here are my include settings for VC6...maybe that helps...
www.ancient-arena.com/pics/ogg_lib1.gif
www.ancient-arena.com/pics/ogg_lib2.gif
www.ancient-arena.com/pics/ogg_lib3.gif
This should really be fixed in the RW CVS, though... :(
#4
I had to clean up a few ogg calls but besides that it works ok except I have no sound now since all the new files are generaly in ogg format :(
They really need to fix this or remove it.
Whats the point of haveing a head release that only 50% works?
I noticed there is a bunch of stuff in the head release thats not even half done. I mean Im all for adding stuff in to test stuff but cant we atleast finish it before we add it? I know the ogg stuff is probly something on my end. But I noticed that the CTF level the details it called wasnt on the cvs server. This just brings up my point. Why have that level then if we are not going to have all teh files for it? I know we need to test it but then use files we have or finish uploading what you have for it..
Im all for testing stuff. Heck if I knew how I would upload my changes to the networking and addition of a account control system (uses mySQL to verify player account username and passwords).
11/08/2002 (3:14 am)
Thats for the help guys. I ended up just replaceing all the new audio files (ogg) with the old audio files from the Torque Head release. I had to clean up a few ogg calls but besides that it works ok except I have no sound now since all the new files are generaly in ogg format :(
They really need to fix this or remove it.
Whats the point of haveing a head release that only 50% works?
I noticed there is a bunch of stuff in the head release thats not even half done. I mean Im all for adding stuff in to test stuff but cant we atleast finish it before we add it? I know the ogg stuff is probly something on my end. But I noticed that the CTF level the details it called wasnt on the cvs server. This just brings up my point. Why have that level then if we are not going to have all teh files for it? I know we need to test it but then use files we have or finish uploading what you have for it..
Im all for testing stuff. Heck if I knew how I would upload my changes to the networking and addition of a account control system (uses mySQL to verify player account username and passwords).
#5
Thats just human error on my part.
The build manager and/or automated build procedure when we get that in place will help catch those things.
If you have a problem in future, just drop me a mail and I'll do my best to sort it asap.
As far as I could tell btw, the Ogg stuff was placed in the correct directories, did you checkout with the "create missing directories" checked?
It needed some twiddling in your path for VC6 to point to the ogg libs, which was something I couldnt fix for the build.
Phil.
11/19/2002 (10:37 am)
Part of this is missing some files from CVS, Ive noticed a few times Ive done a checkin and have actually missed some files (either because Ive not seen em, or because I forgot to add them for commiting).Thats just human error on my part.
The build manager and/or automated build procedure when we get that in place will help catch those things.
If you have a problem in future, just drop me a mail and I'll do my best to sort it asap.
As far as I could tell btw, the Ogg stuff was placed in the correct directories, did you checkout with the "create missing directories" checked?
It needed some twiddling in your path for VC6 to point to the ogg libs, which was something I couldnt fix for the build.
Phil.
Torque Owner Bryan Robertson
engine\vorbis
engine\ogg
Then add the follwoing files
Engine\vorbis
codec.h
Engine\ogg
ogg.h
0s_types.h