Re: [hlcoders] Linker error on fresh mod
Well, the game_sdk.sln compiles fine, it's in the everything.sdk the studiomdl project doesn't compile. and no worries, you're not bashing, trying to help is always appriciated, thank you. /Emil On Wed, 16 Feb 2005, Robert Kosten wrote: It's my first post here, so don't bash me if it's stupid or rehashes something said before, ok? :-P When I followed the SDK tutorial I encountered the same error: The instruction is to load the game_sdk project and compile it, which didn't work. I suspected that Everything_SDK was there for a reason, too. Compiled it, and everything worked from there on. Felt like a typical forgot to mention the first step that needs to be done only once :-) Hope this helps, Robert On Wed, 16 Feb 2005 11:12:55 +0100, [EMAIL PROTECTED] wrote: In reply to http://www.mail-archive.com/hlcoders@list.valvesoftware.com/msg10543.html I simply did a delete local game content, on the SDK, and manually deleted the games then loaded the SDK back up. I continued to get the error.. and no, game_shared/studio_shared.cpp was not included in project so i added it. compile error: c:\games\all41\src\game_shared\studio_shared.cpp(7): fatal error C1083: Cannot open include file: 'cbase.h': No such file or directory the other places it's used, cbase.h is included through precompiled headers (client and hl) but this apparantly doesn't work for the studiomdl.pch. including the dlls/cbase.h or the cl_dll/cbase.h merely has the effect of producing a lot of compile-time errors ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Linker error on fresh mod
It's my first post here, so don't bash me if it's stupid or rehashes something said before, ok? :-P When I followed the SDK tutorial I encountered the same error: The instruction is to load the game_sdk project and compile it, which didn't work. I suspected that Everything_SDK was there for a reason, too. Compiled it, and everything worked from there on. Felt like a typical forgot to mention the first step that needs to be done only once :-) Hope this helps, Robert On Wed, 16 Feb 2005 11:12:55 +0100, [EMAIL PROTECTED] wrote: In reply to http://www.mail-archive.com/hlcoders@list.valvesoftware.com/msg10543.html I simply did a delete local game content, on the SDK, and manually deleted the games then loaded the SDK back up. I continued to get the error.. and no, game_shared/studio_shared.cpp was not included in project so i added it. compile error: c:\games\all41\src\game_shared\studio_shared.cpp(7): fatal error C1083: Cannot open include file: 'cbase.h': No such file or directory the other places it's used, cbase.h is included through precompiled headers (client and hl) but this apparantly doesn't work for the studiomdl.pch. including the dlls/cbase.h or the cl_dll/cbase.h merely has the effect of producing a lot of compile-time errors ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Linker error on fresh mod ?
Maybe Yahn or someone at Valve can give me a better fix but for now... I changed // bone_setup.cpp around line 3089 - 3104 // Changed unsigned short *pList = NULL; int count = pStudioHdr-GetAutoplayList( pList ); for (i = 0; i count; i++) { int sequenceIndex = pList[i]; mstudioseqdesc_t seqdesc = pStudioHdr-pSeqdesc( sequenceIndex ); if (seqdesc.flags STUDIO_AUTOPLAY) { float cycle = 0; float cps = Studio_CPS( pStudioHdr, sequenceIndex, poseParameters ); cycle = realTime * cps; cycle = cycle - (int)cycle; AccumulatePose( pStudioHdr, NULL, pos, q, sequenceIndex, cycle, poseParameters, boneMask, 1.0, realTime ); } } // TO //unsigned short *pList = NULL; //int count = pStudioHdr-GetAutoplayList( pList ); -- Is causing the linker error for some reason? for (i = 0; i pStudioHdr-GetNumSeq(); i++) { mstudioseqdesc_t seqdesc = pStudioHdr-pSeqdesc( i ); if (seqdesc.flags STUDIO_AUTOPLAY) { float cycle = 0; float cps = Studio_CPS( pStudioHdr, i, poseParameters ); cycle = realTime * cps; cycle = cycle - (int)cycle; AccumulatePose( pStudioHdr, NULL, pos, q, i, cycle, poseParameters, boneMask, 1.0, realTime ); } } r00t 3:16 CQC Gaming www.cqc-gaming.com - Original Message - From: r00t 3:16 [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Wednesday, February 02, 2005 2:52 AM Subject: Re: [hlcoders] Linker error on fresh mod ? int count = pStudioHdr-GetAutoplayList( pList ); Around line 3090 in bone_setup.cpp That line is causing the linker error. I comment out line 3090 to 3105 and everything compiles. r00t 3:16 CQC Gaming www.cqc-gaming.com - Original Message - From: r00t 3:16 [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Wednesday, February 02, 2005 2:44 AM Subject: Re: [hlcoders] Linker error on fresh mod ? Ok after doing a diff between the older sdk and the newer sdk they have added some things ... int studiohdr_t::GetAutoplayList( unsigned short **pOut ) const { return modelinfo-GetAutoplayList( this, pOut ); } That is not in the older sdk Which is part of the link error... studiomdl error LNK2019: unresolved external symbol public: int __thiscall studiohdr_t::GetAutoplayList(unsigned short * *)const ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function void __cdecl CalcAutoplaySequences(struct studiohdr_t const *,class CIKContext *,class Vector * const,class Quaternion * const,float const * const,int,float) (?CalcAutoplaySequences@@YAXPBUstudiohdr_t@@PAVCIKContext@@QAVVector@@QAVQuaternion@@[EMAIL PROTECTED]) Maybe my SDK didn't fully update and im missing some includes ? Kind of weird to have this happen on a fresh MOD install... r00t 3:16 CQC Gaming www.cqc-gaming.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
[hlcoders] Linker error on fresh mod ?
studiomdl error LNK2019: unresolved external symbol public: int __thiscall studiohdr_t::GetAutoplayList(unsigned short * *)const ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function void __cdecl CalcAutoplaySequences(struct studiohdr_t const *,class CIKContext *,class Vector * const,class Quaternion * const,float const * const,int,float) (?CalcAutoplaySequences@@YAXPBUstudiohdr_t@@PAVCIKContext@@QAVVector@@QAVQuaternion@@[EMAIL PROTECTED]) Nothing changed just compliled ? r00t 3:16 CQC Gaming www.cqc-gaming.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Linker error on fresh mod ?
.net 2005? head over to the erc, forums, it has a topic, and fixes Adam --- r00t 3:16 [EMAIL PROTECTED] wrote: studiomdl error LNK2019: unresolved external symbol public: int __thiscall studiohdr_t::GetAutoplayList(unsigned short * *)const ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function void __cdecl CalcAutoplaySequences(struct studiohdr_t const *,class CIKContext *,class Vector * const,class Quaternion * const,float const * const,int,float) (?CalcAutoplaySequences@@YAXPBUstudiohdr_t@@PAVCIKContext@@QAVVector@@QAVQuaternion@@[EMAIL PROTECTED]) Nothing changed just compliled ? r00t 3:16 CQC Gaming www.cqc-gaming.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders = http://ammahls.com __ Do you Yahoo!? All your favorites on one personal page Try My Yahoo! http://my.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
RE: [hlcoders] Linker error on fresh mod ?
Is game_shared/studio_shared.cpp included in your project (and not marked exclude from build ) Yahn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of r00t 3:16 Sent: Tuesday, February 01, 2005 10:38 PM To: hlcoders@list.valvesoftware.com Subject: [hlcoders] Linker error on fresh mod ? studiomdl error LNK2019: unresolved external symbol public: int __thiscall studiohdr_t::GetAutoplayList(unsigned short * *)const ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function void __cdecl CalcAutoplaySequences(struct studiohdr_t const *,class CIKContext *,class Vector * const,class Quaternion * const,float const * const,int,float) (?CalcAutoplaySequences@@YAXPBUstudiohdr_t@@PAVCIKContext@@QAVVector@@QA VQuaternion@@[EMAIL PROTECTED]) Nothing changed just compliled ? r00t 3:16 CQC Gaming www.cqc-gaming.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Linker error on fresh mod ?
Actually it is .NET 2003 I have been using the older sdk. (Not the most recent but the one before that) and it worked no problems. I wanted to start working on the newer sdk and did build with no changes and errors. Forgot to include the other error.. studiomdl warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification r00t 3:16 CQC Gaming www.cqc-gaming.com - Original Message - From: Adam amckern Mckern [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Wednesday, February 02, 2005 1:44 AM Subject: Re: [hlcoders] Linker error on fresh mod ? .net 2005? head over to the erc, forums, it has a topic, and fixes Adam --- r00t 3:16 [EMAIL PROTECTED] wrote: studiomdl error LNK2019: unresolved external symbol public: int __thiscall studiohdr_t::GetAutoplayList(unsigned short * *)const ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function void __cdecl CalcAutoplaySequences(struct studiohdr_t const *,class CIKContext *,class Vector * const,class Quaternion * const,float const * const,int,float) (?CalcAutoplaySequences@@YAXPBUstudiohdr_t@@PAVCIKContext@@QAVVector@@QAVQuaternion@@[EMAIL PROTECTED]) Nothing changed just compliled ? r00t 3:16 CQC Gaming www.cqc-gaming.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders = http://ammahls.com __ Do you Yahoo!? All your favorites on one personal page - Try My Yahoo! http://my.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Linker error on fresh mod ?
Exclude from build is set to No for studio_shared.cpp r00t 3:16 CQC Gaming www.cqc-gaming.com - Original Message - From: Yahn Bernier [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Wednesday, February 02, 2005 1:47 AM Subject: RE: [hlcoders] Linker error on fresh mod ? Is game_shared/studio_shared.cpp included in your project (and not marked exclude from build ) Yahn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of r00t 3:16 Sent: Tuesday, February 01, 2005 10:38 PM To: hlcoders@list.valvesoftware.com Subject: [hlcoders] Linker error on fresh mod ? studiomdl error LNK2019: unresolved external symbol public: int __thiscall studiohdr_t::GetAutoplayList(unsigned short * *)const ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function void __cdecl CalcAutoplaySequences(struct studiohdr_t const *,class CIKContext *,class Vector * const,class Quaternion * const,float const * const,int,float) (?CalcAutoplaySequences@@YAXPBUstudiohdr_t@@PAVCIKContext@@QAVVector@@QA VQuaternion@@[EMAIL PROTECTED]) Nothing changed just compliled ? r00t 3:16 CQC Gaming www.cqc-gaming.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Linker error on fresh mod ?
help tells me for LNK 2019 unresolved external symbol 'symbol' referenced in function 'function' So your missing a include file, is the dbg mem manager included in studio model? --- r00t 3:16 [EMAIL PROTECTED] wrote: Exclude from build is set to No for studio_shared.cpp r00t 3:16 CQC Gaming www.cqc-gaming.com - Original Message - From: Yahn Bernier [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Wednesday, February 02, 2005 1:47 AM Subject: RE: [hlcoders] Linker error on fresh mod ? Is game_shared/studio_shared.cpp included in your project (and not marked exclude from build ) Yahn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of r00t 3:16 Sent: Tuesday, February 01, 2005 10:38 PM To: hlcoders@list.valvesoftware.com Subject: [hlcoders] Linker error on fresh mod ? studiomdl error LNK2019: unresolved external symbol public: int __thiscall studiohdr_t::GetAutoplayList(unsigned short * *)const ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function void __cdecl CalcAutoplaySequences(struct studiohdr_t const *,class CIKContext *,class Vector * const,class Quaternion * const,float const * const,int,float) (?CalcAutoplaySequences@@YAXPBUstudiohdr_t@@PAVCIKContext@@QAVVector@@QA VQuaternion@@[EMAIL PROTECTED]) Nothing changed just compliled ? r00t 3:16 CQC Gaming www.cqc-gaming.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders = http://ammahls.com __ Do you Yahoo!? All your favorites on one personal page Try My Yahoo! http://my.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Linker error on fresh mod ?
Well that is kind of odd considering I installed it fresh? is the dbg mem manager included in studio model? Not sure what you mean... r00t 3:16 CQC Gaming www.cqc-gaming.com - Original Message - From: Adam amckern Mckern [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Wednesday, February 02, 2005 2:04 AM Subject: Re: [hlcoders] Linker error on fresh mod ? help tells me for LNK 2019 unresolved external symbol 'symbol' referenced in function 'function' So your missing a include file, is the dbg mem manager included in studio model? --- r00t 3:16 [EMAIL PROTECTED] wrote: Exclude from build is set to No for studio_shared.cpp r00t 3:16 CQC Gaming www.cqc-gaming.com - Original Message - From: Yahn Bernier [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Wednesday, February 02, 2005 1:47 AM Subject: RE: [hlcoders] Linker error on fresh mod ? Is game_shared/studio_shared.cpp included in your project (and not marked exclude from build ) Yahn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of r00t 3:16 Sent: Tuesday, February 01, 2005 10:38 PM To: hlcoders@list.valvesoftware.com Subject: [hlcoders] Linker error on fresh mod ? studiomdl error LNK2019: unresolved external symbol public: int __thiscall studiohdr_t::GetAutoplayList(unsigned short * *)const ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function void __cdecl CalcAutoplaySequences(struct studiohdr_t const *,class CIKContext *,class Vector * const,class Quaternion * const,float const * const,int,float) (?CalcAutoplaySequences@@YAXPBUstudiohdr_t@@PAVCIKContext@@QAVVector@@QA VQuaternion@@[EMAIL PROTECTED]) Nothing changed just compliled ? r00t 3:16 CQC Gaming www.cqc-gaming.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders = http://ammahls.com __ Do you Yahoo!? All your favorites on one personal page - Try My Yahoo! http://my.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Linker error on fresh mod ?
Ok after doing a diff between the older sdk and the newer sdk they have added some things ... int studiohdr_t::GetAutoplayList( unsigned short **pOut ) const { return modelinfo-GetAutoplayList( this, pOut ); } That is not in the older sdk Which is part of the link error... studiomdl error LNK2019: unresolved external symbol public: int __thiscall studiohdr_t::GetAutoplayList(unsigned short * *)const ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function void __cdecl CalcAutoplaySequences(struct studiohdr_t const *,class CIKContext *,class Vector * const,class Quaternion * const,float const * const,int,float) (?CalcAutoplaySequences@@YAXPBUstudiohdr_t@@PAVCIKContext@@QAVVector@@QAVQuaternion@@[EMAIL PROTECTED]) Maybe my SDK didn't fully update and im missing some includes ? Kind of weird to have this happen on a fresh MOD install... r00t 3:16 CQC Gaming www.cqc-gaming.com - Original Message - From: Adam amckern Mckern [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Wednesday, February 02, 2005 2:04 AM Subject: Re: [hlcoders] Linker error on fresh mod ? help tells me for LNK 2019 unresolved external symbol 'symbol' referenced in function 'function' So your missing a include file, is the dbg mem manager included in studio model? --- r00t 3:16 [EMAIL PROTECTED] wrote: Exclude from build is set to No for studio_shared.cpp r00t 3:16 CQC Gaming www.cqc-gaming.com - Original Message - From: Yahn Bernier [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Wednesday, February 02, 2005 1:47 AM Subject: RE: [hlcoders] Linker error on fresh mod ? Is game_shared/studio_shared.cpp included in your project (and not marked exclude from build ) Yahn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of r00t 3:16 Sent: Tuesday, February 01, 2005 10:38 PM To: hlcoders@list.valvesoftware.com Subject: [hlcoders] Linker error on fresh mod ? studiomdl error LNK2019: unresolved external symbol public: int __thiscall studiohdr_t::GetAutoplayList(unsigned short * *)const ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function void __cdecl CalcAutoplaySequences(struct studiohdr_t const *,class CIKContext *,class Vector * const,class Quaternion * const,float const * const,int,float) (?CalcAutoplaySequences@@YAXPBUstudiohdr_t@@PAVCIKContext@@QAVVector@@QA VQuaternion@@[EMAIL PROTECTED]) Nothing changed just compliled ? r00t 3:16 CQC Gaming www.cqc-gaming.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders = http://ammahls.com __ Do you Yahoo!? All your favorites on one personal page - Try My Yahoo! http://my.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Linker error on fresh mod ?
int count = pStudioHdr-GetAutoplayList( pList ); Around line 3090 in bone_setup.cpp That line is causing the linker error. I comment out line 3090 to 3105 and everything compiles. r00t 3:16 CQC Gaming www.cqc-gaming.com - Original Message - From: r00t 3:16 [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Wednesday, February 02, 2005 2:44 AM Subject: Re: [hlcoders] Linker error on fresh mod ? Ok after doing a diff between the older sdk and the newer sdk they have added some things ... int studiohdr_t::GetAutoplayList( unsigned short **pOut ) const { return modelinfo-GetAutoplayList( this, pOut ); } That is not in the older sdk Which is part of the link error... studiomdl error LNK2019: unresolved external symbol public: int __thiscall studiohdr_t::GetAutoplayList(unsigned short * *)const ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function void __cdecl CalcAutoplaySequences(struct studiohdr_t const *,class CIKContext *,class Vector * const,class Quaternion * const,float const * const,int,float) (?CalcAutoplaySequences@@YAXPBUstudiohdr_t@@PAVCIKContext@@QAVVector@@QAVQuaternion@@[EMAIL PROTECTED]) Maybe my SDK didn't fully update and im missing some includes ? Kind of weird to have this happen on a fresh MOD install... r00t 3:16 CQC Gaming www.cqc-gaming.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders