What does this mean?!

  • Thread starter Thread starter Kreig12
  • Start date Start date
K

Kreig12

Guest
hl error LNK2019: unresolved external symbol "void __cdecl DropPrimedFragGrenade(class CHL2MP_Player *,class CBaseCombatWeapon *)" (?DropPrimedFragGrenade@@YAXPAVCHL2MP_Player@@PAVCBaseCombatWeapon@@@Z) referenced in function "public: virtual void __thiscall CHL2MP_Player::Weapon_Drop(class CBaseCombatWeapon *,class Vector const *,class Vector const *)" (?Weapon_Drop@CHL2MP_Player@@UAEXPAVCBaseCombatWeapon@@PBVVector@@1@Z)

How do I fix this error, please help me, its driving me crazy, lol.
 
It means that you've defined "DropPrimedFragGrenade" in your code, but you've not actually written a method for it.

-Angry Lawyer
 
LOL
Error codes should have a 'user friendly' option until one gets familiar with the language and how to reference the info in the error.
 
this is why I like coding for java more. friendly error messages.
"Error on line 147, "Stystem.out.println" no such class "Stystem""

would be something like
"ERROR #*(*$(*#S#3154x9g" in C++
 
Yeeaaah... But you wouldn't exactly want to try and run HL2 on a Java VM though.
 
You just have to learn to pick out the important information

hl error LNK2019: unresolved external symbol "void __cdecl DropPrimedFragGrenade(class CHL2MP_Player *,class CBaseCombatWeapon *)" (?DropPrimedFragGrenade@@YAXPAVCHL2MP_Player@@PAVCBaseCombatWeapon@@@Z) referenced in function "public: virtual void __thiscall CHL2MP_Player::Weapon_Drop(class CBaseCombatWeapon *,class Vector const *,class Vector const *)" (?Weapon_Drop@CHL2MP_Player@@UAEXPAVCBaseCombatWeapon@@PBVVector@@1@Z)

See? That tells you exactly what went wrong.

hl error unresolved external symbol DropPrimedFragGrenade(class CHL2MP_Player *,class CBaseCombatWeapon referenced in function CHL2MP_Player::Weapon_Drop(class CBaseCombatWeapon *,class Vector const *,class Vector const *)

Easy.

-Angry Lawyer
 
When it goes "Your program has encountered an illegal operation and must be shut down" for no easily explained reason.

-Angry Lawyer
 
Back
Top