Jump to content

Recommended Posts

  • Premium
Spoiler

Severity    Code    Description    Project    File    Line    Suppression State
Error    C2923    'std::unordered_map': '_wint32' is not a valid template type argument for parameter '_Kty'    UserInterface    C:\Users\Chris\Desktop\Clent_Src\Client\eterLib\CryTargetManager.h    32    
Error (active)    E0020    identifier "_wuint32" is undefined    UserInterface    C:\Users\Chris\Desktop\Clent_Src\Client\EterLib\CryRenderTarget.h    14    
Error    C4430    missing type specifier - int assumed. Note: C++ does not support default-int    UserInterface    C:\Users\Chris\Desktop\Clent_Src\Client\UserInterface\PythonNonPlayer.h    228    
Error    C2061    syntax error: identifier '_wfloat'    UserInterface    C:\Users\Chris\Desktop\Clent_Src\Client\eterLib\CryRenderTarget.h    38    
Error    C2061    syntax error: identifier '_wuint32'    UserInterface    C:\Users\Chris\Desktop\Clent_Src\Client\eterLib\CryRenderTarget.h    37    


any suggestions?
 

Link to comment
https://metin2.dev/topic/27477-compilation-error/
Share on other sites

  • 2 years later...
  • Premium

Apologies for necro,

As author did not provide fix, for anyone running into the same issue,

 

  • GetNameString
const std::string GetNameString(DWORD vnum) 
		{
			std::string name;

			const TMobTable* p = GetTable(vnum);
			if (p) {
				name = p->szLocaleName;
			}
			else {
				name = "NoName";
			}

			return name;
		}

 

For the other stuff make sure they are not in #ifdef directives.

 

-cheers

Edited by nmeyo
was looking for solution at first, edited as i've fixed it in the meantime
  • Good 1
Link to comment
https://metin2.dev/topic/27477-compilation-error/#findComment-158762
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.