Errors on the new head
by Michael Heining · in Torque Game Engine · 11/15/2003 (9:46 pm) · 5 replies
Ive been going nutz (more nutz) trying to get the new version of head working...
The first cut at a compile resulted in 92 errors all talking about a missing vorbis codec. I went out and got the ogg vorbis sdk, added the include dir to the includes and bin to the configuration. The new compile resulted in 18 linking errors. im stumped...(help) here are the errors:
Linking...
worldEditor.obj : error LNK2001: unresolved external symbol "public: float __thiscall CameraSpline::advanceDist(float,float)" (?advanceDist@CameraSpline@@QAEMMM@Z)
worldEditor.obj : error LNK2001: unresolved external symbol "public: void __thiscall CameraSpline::value(float,struct CameraSpline::Knot *,bool)" (?value@CameraSpline@@QAEXMPAUKnot@1@_N@Z)
worldEditor.obj : error LNK2001: unresolved external symbol "public: __thiscall CameraSpline::Knot::Knot(struct Knot::Knot const &)" (??0Knot@CameraSpline@@QAE@ABU01@@Z)
worldEditor.obj : error LNK2001: unresolved external symbol "public: __thiscall CameraSpline::~CameraSpline(void)" (??1CameraSpline@@QAE@XZ)
worldEditor.obj : error LNK2001: unresolved external symbol "public: void __thiscall CameraSpline::push_back(struct CameraSpline::Knot *)" (?push_back@CameraSpline@@QAEXPAUKnot@1@@Z)
worldEditor.obj : error LNK2001: unresolved external symbol "public: __thiscall CameraSpline::Knot::Knot(class Point3F const &,class QuatF const &,float,enum Knot::Knot::Type,enum Knot::Knot::Path)" (??0Knot@CameraSpline@@QAE@ABVPoint3F@@ABVQuatF@@M
W4Type@01@W4Path@01@@Z)
worldEditor.obj : error LNK2001: unresolved external symbol "public: __thiscall CameraSpline::CameraSpline(void)" (??0CameraSpline@@QAE@XZ)
guiCanvas.obj : error LNK2001: unresolved external symbol "public: static void __cdecl GuiBitmapButtonCtrl::initPersistFields(void)" (?initPersistFields@GuiBitmapButtonCtrl@@SAXXZ)
guiCanvas.obj : error LNK2001: unresolved external symbol "public: __thiscall GuiBitmapButtonCtrl::GuiBitmapButtonCtrl(void)" (??0GuiBitmapButtonCtrl@@QAE@XZ)
interiorInstance.obj : error LNK2001: unresolved external symbol "public: __thiscall PathedInterior::PathedInterior(void)" (??0PathedInterior@@QAE@XZ)
audio.obj : error LNK2001: unresolved external symbol "public: static class AudioStreamSource * __cdecl AudioStreamSourceFactory::getNewInstance(char const *)" (?getNewInstance@AudioStreamSourceFactory@@SAPAVAudioStreamSource@@PBD@Z)
audioBuffer.obj : error LNK2001: unresolved external symbol "public: int __thiscall OggVorbisFile::ov_clear(void)" (?ov_clear@OggVorbisFile@@QAEHXZ)
audioBuffer.obj : error LNK2001: unresolved external symbol "public: __int64 __thiscall OggVorbisFile::ov_pcm_total(int)" (?ov_pcm_total@OggVorbisFile@@QAE_JH@Z)
audioBuffer.obj : error LNK2001: unresolved external symbol "public: struct vorbis_info * __thiscall OggVorbisFile::ov_info(int)" (?ov_info@OggVorbisFile@@QAEPAUvorbis_info@@H@Z)
audioBuffer.obj : error LNK2001: unresolved external symbol "public: int __thiscall OggVorbisFile::ov_open(class Stream *,char *,long)" (?ov_open@OggVorbisFile@@QAEHPAVStream@@PADJ@Z)
audioBuffer.obj : error LNK2001: unresolved external symbol "public: __thiscall OggVorbisFile::~OggVorbisFile(void)" (??1OggVorbisFile@@QAE@XZ)
audioBuffer.obj : error LNK2001: unresolved external symbol "public: __thiscall OggVorbisFile::OggVorbisFile(void)" (??0OggVorbisFile@@QAE@XZ)
audioBuffer.obj : error LNK2001: unresolved external symbol "public: long __thiscall OggVorbisFile::ov_read(char *,int,int,int *)" (?ov_read@OggVorbisFile@@QAEJPADHHPAH@Z)
../example/torqueDemo_DEBUG.exe : fatal error LNK1120: 18 unresolved externals
Error executing link.exe.
torqueDemo_DEBUG.exe - 19 error(s), 0 warning(s)
The first cut at a compile resulted in 92 errors all talking about a missing vorbis codec. I went out and got the ogg vorbis sdk, added the include dir to the includes and bin to the configuration. The new compile resulted in 18 linking errors. im stumped...(help) here are the errors:
Linking...
worldEditor.obj : error LNK2001: unresolved external symbol "public: float __thiscall CameraSpline::advanceDist(float,float)" (?advanceDist@CameraSpline@@QAEMMM@Z)
worldEditor.obj : error LNK2001: unresolved external symbol "public: void __thiscall CameraSpline::value(float,struct CameraSpline::Knot *,bool)" (?value@CameraSpline@@QAEXMPAUKnot@1@_N@Z)
worldEditor.obj : error LNK2001: unresolved external symbol "public: __thiscall CameraSpline::Knot::Knot(struct Knot::Knot const &)" (??0Knot@CameraSpline@@QAE@ABU01@@Z)
worldEditor.obj : error LNK2001: unresolved external symbol "public: __thiscall CameraSpline::~CameraSpline(void)" (??1CameraSpline@@QAE@XZ)
worldEditor.obj : error LNK2001: unresolved external symbol "public: void __thiscall CameraSpline::push_back(struct CameraSpline::Knot *)" (?push_back@CameraSpline@@QAEXPAUKnot@1@@Z)
worldEditor.obj : error LNK2001: unresolved external symbol "public: __thiscall CameraSpline::Knot::Knot(class Point3F const &,class QuatF const &,float,enum Knot::Knot::Type,enum Knot::Knot::Path)" (??0Knot@CameraSpline@@QAE@ABVPoint3F@@ABVQuatF@@M
W4Type@01@W4Path@01@@Z)
worldEditor.obj : error LNK2001: unresolved external symbol "public: __thiscall CameraSpline::CameraSpline(void)" (??0CameraSpline@@QAE@XZ)
guiCanvas.obj : error LNK2001: unresolved external symbol "public: static void __cdecl GuiBitmapButtonCtrl::initPersistFields(void)" (?initPersistFields@GuiBitmapButtonCtrl@@SAXXZ)
guiCanvas.obj : error LNK2001: unresolved external symbol "public: __thiscall GuiBitmapButtonCtrl::GuiBitmapButtonCtrl(void)" (??0GuiBitmapButtonCtrl@@QAE@XZ)
interiorInstance.obj : error LNK2001: unresolved external symbol "public: __thiscall PathedInterior::PathedInterior(void)" (??0PathedInterior@@QAE@XZ)
audio.obj : error LNK2001: unresolved external symbol "public: static class AudioStreamSource * __cdecl AudioStreamSourceFactory::getNewInstance(char const *)" (?getNewInstance@AudioStreamSourceFactory@@SAPAVAudioStreamSource@@PBD@Z)
audioBuffer.obj : error LNK2001: unresolved external symbol "public: int __thiscall OggVorbisFile::ov_clear(void)" (?ov_clear@OggVorbisFile@@QAEHXZ)
audioBuffer.obj : error LNK2001: unresolved external symbol "public: __int64 __thiscall OggVorbisFile::ov_pcm_total(int)" (?ov_pcm_total@OggVorbisFile@@QAE_JH@Z)
audioBuffer.obj : error LNK2001: unresolved external symbol "public: struct vorbis_info * __thiscall OggVorbisFile::ov_info(int)" (?ov_info@OggVorbisFile@@QAEPAUvorbis_info@@H@Z)
audioBuffer.obj : error LNK2001: unresolved external symbol "public: int __thiscall OggVorbisFile::ov_open(class Stream *,char *,long)" (?ov_open@OggVorbisFile@@QAEHPAVStream@@PADJ@Z)
audioBuffer.obj : error LNK2001: unresolved external symbol "public: __thiscall OggVorbisFile::~OggVorbisFile(void)" (??1OggVorbisFile@@QAE@XZ)
audioBuffer.obj : error LNK2001: unresolved external symbol "public: __thiscall OggVorbisFile::OggVorbisFile(void)" (??0OggVorbisFile@@QAE@XZ)
audioBuffer.obj : error LNK2001: unresolved external symbol "public: long __thiscall OggVorbisFile::ov_read(char *,int,int,int *)" (?ov_read@OggVorbisFile@@QAEJPADHHPAH@Z)
../example/torqueDemo_DEBUG.exe : fatal error LNK1120: 18 unresolved externals
Error executing link.exe.
torqueDemo_DEBUG.exe - 19 error(s), 0 warning(s)
About the author
#2
Ive yet to see anything that tells me to add any links or libraries. (frustrated!)
but thanks for the try, Ben. any other ideas?
11/16/2003 (2:49 pm)
I did a build all (VC++) and it still came up with 19 errors... however it added 9 warnings too.Ive yet to see anything that tells me to add any links or libraries. (frustrated!)
but thanks for the try, Ben. any other ideas?
#3
11/16/2003 (5:11 pm)
No, I mean, have you made sure that every source file is included in your project? For instance, you might be missing audio/vorbisFile.cc from your project, which would result in the link errors for audioBuffer.obj
#4
The errors started out as 92 errors. most of them saying that the vorbis codec was unfound. I trued to solve the problem by installing the ogg vorbis sdk. adding the libraries and the includes to the resources VC6 uses. That is where this post starts.
Thanks to all those who helped me on line (IRC) and Ben Garney, who posted here.
The credit for solving this problem goes to Xavier "eXoDuS" Amado, who told me to delete the VC6 directory and re load from the cvs. This resulted in a complete reload of the workspace and project files (as well as all the others in the directory) and when it compiled, everything was there, and ran on the first try.
Thanks again.
Michael "MadWizard" Heining
11/17/2003 (12:37 pm)
This is a completion of the thread...The errors started out as 92 errors. most of them saying that the vorbis codec was unfound. I trued to solve the problem by installing the ogg vorbis sdk. adding the libraries and the includes to the resources VC6 uses. That is where this post starts.
Thanks to all those who helped me on line (IRC) and Ben Garney, who posted here.
The credit for solving this problem goes to Xavier "eXoDuS" Amado, who told me to delete the VC6 directory and re load from the cvs. This resulted in a complete reload of the workspace and project files (as well as all the others in the directory) and when it compiled, everything was there, and ran on the first try.
Thanks again.
Michael "MadWizard" Heining
#5
11/17/2003 (3:09 pm)
Cool :)
Associate Kyle Carter