Solved - Compilation error | Questions - Answers | Page 2 | Metin2Hub | Metin2 Forum Platform
  • 🎉 Hey there! I've just launched my brand new server voting platform — Metin2 P Servers 🚀

Solved Compilation error

Member
Jul
Threads
3
51
8
8
HubMoney
326

AD: Mt2009 - Mobile & PC - 30 January 2026 CHECK THE PRESENTATION!

Maybe someone knows how to solve this problem?
I compile db , everything works, but when compiling game, a similar error appears

111.png
 
Developer
Member
Feb
Threads
15
104
623
93
HubMoney
1,438
the part you need to solve

stdafx.h
C++:
#ifdef __GNUC__
#include <float.h>
#include <tr1/unordered_map>
#include <tr1/unordered_set>
#define TR1_NS std::tr1
#else
#include <boost/unordered_map.hpp>
#include <boost/unordered_set.hpp>
#define TR1_NS boost
#define isdigit iswdigit
#define isspace iswspace
#endif
 
Member
Jul
Threads
3
51
8
8
HubMoney
326
the part you need to solve

stdafx.h
C++:
#ifdef __GNUC__
#include <float.h>
#include <tr1/unordered_map>
#include <tr1/unordered_set>
#define TR1_NS std::tr1
#else
#include <boost/unordered_map.hpp>
#include <boost/unordered_set.hpp>
#define TR1_NS boost
#define isdigit iswdigit
#define isspace iswspace
#endif
I found this part, what's wrong with it?

image.png
 
Member
Jul
Threads
3
51
8
8
HubMoney
326
I installed the server source files and started checking. The client compilation was successful. Compiling db too, and game produces such an error. I didn't do anything with them