I had no other chance so I have downloaded Visual Studio 2012. I was following [Tutorial] How to build Gunz 1.5 in Visual Studio 2012 - RaGEZONE - MMO development community this guide to compile the juriens repack #3 edited Gunz source, and got stuck. When I try to build "CSCommon" I get the following error:
PHP Code:Error 1 error C1083: Cannot open include file: 'afxdb.h': No such file or directory C:\Users\user\Desktop\Gunz\Source\Source_Code\Stable\CSCommon\Include\stdafx.h 14 1 CSCommon
Here is stdafx.h:
PHP Code:// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#ifndef _STDAFX_H
#define _STDAFX_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ¿©±â´Ù include
#include <afxdb.h>
#include <afxtempl.h>
#include <afxdtctl.h>
#include <Winsock2.h>
#include <mswsock.h>
#include <crtdbg.h>
#include <windows.h>
#include <stdlib.h>
/* // for debug publish
#define _HAS_ITERATOR_DEBUGGING 0
#define _SECURE_SCL 0
#undef //_ASSERT
#define //_ASSERT(expr) ((void)0)
#undef ASSERT
#define ASSERT(f) ((void)0)
*/
// stl
#include <string.h>
#include <map>
#include <list>
#include <vector>
#include <algorithm>
#ifndef _PUBLISH
// #define _CLASSIC // Ŭ·¡½Ä ¸ðµå¿ë µðÆÄÀÎ
#endif
#include "../MFeatureDefine.h"
#define _QUEST_ITEM // Äù½ºÆ® ¾ÆÀÌÅÛ °³¹ß¿ë. by Ãß±³¼º.
#define _MONSTER_BIBLE // ¸ó½ºÅÍ µµ°ü °³¹ß¿ä. by Ãß±³¼º. ¸±¸®Áî¶§¹®¿¡ Àá½Ã º¸·ù.
#define _BLOCK_HACKER // ÇØÅ·°ü·Ã Á¤º¸¸¦ DB¿¡ ³²±â´Â ÀÛ¾÷.
#include "MLocaleDefine.h"
#include "MDebug.h"
#include "MMatchDebug.h"
#include "MXml.h"
#include "MUID.h"
#include "MMatchGlobal.h"
#include "MMatchUtil.h"
#include "MSharedCommandTable.h"
#include "MCommand.h"
#include "MCommandParameter.h"
#include "MCommandCommunicator.h"
#include "MErrorTable.h"
#include "MServer.h"
#include "MMatchServer.h"
#include "MMatchClient.h"
#include "MObject.h"
#include "MMatchItem.h"
#include "MMatchObjCache.h"
#include "MMatchStage.h"
#include "MMatchObject.h"
#include "MMatchChannel.h"
#include "MMatchDebug.h"
#endif
Please someone help.


Reply With Quote

