Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 11:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Sro_devkit project does not open

Discussion on Sro_devkit project does not open within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2014
Posts: 1
Received Thanks: 0
Exclamation Sro_devkit project does not open

Hello, I'm trying to develop sro devkit with Clion, I'm new to editing guis, but I haven't even been able to compile my dll file yet
maybe i am facing simple problems since i did it for the first time, i am looking for help from experienced friends
my problem : I installed the sro_devkit project but I can't compile <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to suppress this error, <hash_map> is deprecated and will be REMOVED. Please use <unordered_map> tells me the debugger, I'm doing <unordered_map> and I'm getting an error again, I'll underline the parts of the hash_map file that give errors in the compiler with red



// hash_map extension header
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#pragma once
#ifndef _HASH_MAP_
#define _HASH_MAP_
#include <yvals_core.h>
#if _STL_COMPILER_PREPROCESSOR
#include <xhash>
#pragma pack(push, _CRT_PACKING)
#pragma warning(push, _STL_WARNING_LEVEL)
#pragma warning(disable : _STL_DISABLED_WARNINGS)
_STL_DISABLE_CLANG_WARNINGS
#pragma push_macro("new")
#undef new
#ifndef _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
#error <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define \
_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to suppress this error.
#endif // _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS

There are duplicates of this error in their code below

template <class _Kty, class _Ty, class _Tr = hash_compare<_Kty, less<_Kty>>,
class _Alloc = allocator<pair<const _Kty, _Ty>>>
class hash_multimap : public _Hash<_Hmap_traits<_Kty, _Ty, _Tr, _Alloc, true>> {
// hash table of {key, mapped} values, non-unique keys
public:
using _Mybase = _Hash<_Hmap_traits<_Kty, _Ty, _Tr, _Alloc, true>>;


Informative error given below


FAILED: source/libs/BSLib/CMakeFiles/BSLib.dir/src/BSLib/StringCheck.cpp.obj
C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1 434~1.319\bin\Hostx86\x86\cl.exe /nologo /TP -DCONFIG_CHATVIEWER_BADWORDFILTER -DCONFIG_DEBUG_CONSOLE -DCONFIG_DEBUG_REDIRECT_PUTDUMP -DCONFIG_IMGUI -DWINVER=0x0500 -D_CRT_NON_CONFORMING_SWPRINTFS -D_CRT_SECURE_NO_DEPRECATE -D_WIN32_WINNT=0x0500 -I"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\in clude" -I"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\AT LMFC\include" -I"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" -I"C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -IC:\Users\kadir\SRO_DevKit\source\libs\BSLib\src -IC:\Users\kadir\SRO_DevKit\source\libs\ClientNet\s rc -IC:\Users\kadir\SRO_DevKit\source\third-party\remodel\include -IC:\Users\kadir\SRO_DevKit\source\third-party\abi-testing\include /DWIN32 /D_WINDOWS /W3 /GR /EHsc /X /MTd /Zi /Ob0 /Od /RTC1 /showIncludes /Fosource\libs\BSLib\CMakeFiles\BSLib.dir\src\BSLib \StringCheck.cpp.obj /Fdsource\libs\BSLib\CMakeFiles\BSLib.dir\BSLib.pdb /FS -c C:\Users\kadir\SRO_DevKit\source\libs\BSLib\src\BS Lib\StringCheck.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\in clude\hash_map(22): fatal error C1189: #error: <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to suppress this error.
[2/150] Building CXX object source\libs\ClientNet\CMakeFiles\ClientNet.dir\src \ClientNet\MsgStreamBuffer.cpp.obj

And there are errors similar to this, I think they all originate from the hash_map code.
kadir7878 is offline  
Old 02/08/2023, 09:52   #2
dotCom
 
Devsome's Avatar
 
elite*gold: 9842
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,841
Received Thanks: 4,675
Arrow SRO Private Server -> SRO Coding Corner

#moved
Devsome is offline  
Old 02/08/2023, 15:20   #3

 
SubZero**'s Avatar
 
elite*gold: 70
Join Date: Apr 2017
Posts: 1,024
Received Thanks: 511
best fix is
SubZero** is offline  
Old 02/11/2023, 17:25   #4
 
kyuubi09's Avatar
 
elite*gold: 0
Join Date: Dec 2021
Posts: 20
Received Thanks: 31
Quote:
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\in clude\hash_map(22):"
Looks like u building the project with vs 2022, but SRO_Devkit needs vs 2005
kyuubi09 is offline  
Reply


Similar Threads Similar Threads
[SRO_DevKit] LNK1104: cannot open file
04/20/2021 - SRO PServer Questions & Answers - 0 Replies
Hello everyone I have been trying to compile SRO_DevKit and I have come across this error always, I have uninstalled and followed the steps 2 times found in "Setup Visual Studio 2010" and I get this error. Image error LNK1104 http://epvpimg.com/Ro8wbab I have done some research on Google and it seems they are the Restributable C ++ libraries.
Discord Icon In sro_devkit
03/28/2021 - SRO PServer Guides & Releases - 111 Replies
I asked a lot of people, how to make this icon but no one help me only " florian0 " help me thanks , so i decide to release it here so people can do it , also you can added alot of icon just check my file and you will understand how to make another one : First you will create new file name in " ClientLib " IFDiscordGuide.h in Header Files , and another one IFDiscordGuide.cpp in Source Files. Icons. http://i.epvpimg.com/46Atdab.pnghttp://i.epvpimg. com/sbdscab.png Code in...
[Request] Sro_DevKit Build On Visual 14-16
07/30/2020 - SRO Coding Corner - 7 Replies
I tried every visual version from 10-16 It only works on visual 2005 and clion, visual 2005 library is outdated, many functions don't support. Can anyone upload a project build on visual 14-16 to help me. thanks for watching https://www.upsieutoc.com/images/2020/07/30/loi.p ng



All times are GMT +1. The time now is 11:57.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.