Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 16:20

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


Help me to compile a gameserver with visual studio

Discussion on Help me to compile a gameserver with visual studio within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2019
Posts: 2
Received Thanks: 0
Help me to compile a gameserver with visual studio

Hi everybody,

Could you help me, i try to compile a gameserver for Raides game.

I have download this source :

I use visual studio 2015 with sdk, but i have this error :

HTML Code:
Error :
Gravité	Code	Description	Projet	Fichier	Ligne	État de la suppressionErreur	C2220	avertissement considéré comme une erreur - aucun fichier 'object' généré CSCommon	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\CSCommon\source\FSContext.cpp	97 Erreur	C2196	la valeur associée à case '192' est déjà utilisée	CSCommon	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\CSCommon\source\FSContext.cpp	105 Erreur	C2196	la valeur associée à case '192' est déjà utilisée	CSCommon	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\CSCommon\source\FSContext.cpp	113 Erreur	C1083	Impossible d'ouvrir le fichier include : 'json.hpp' : No such file or directory	GameServer_lib c:\users\carob\downloads\raiderz-source\develop\server\gameserver\main\GTalentCoolTimeSqlBuilder.h	3	Erreur	LNK2001	symbole externe non rÚsolu "public: virtual void __thiscall GTalent::ActStart(void)" ([email protected]@@UAEXXZ) GameServer_app	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\GameServer.lib(GExtraActiveTalent.obj)	1	Erreur	LNK2001	symbole externe non rÚsolu "public: virtual void __thiscall GTalent::ActStart(void)" ([email protected]@@UAEXXZ) GameServer_app	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\GameServer.lib(GTalentFactory.obj)	1	Erreur	LNK2001	symbole externe non rÚsolu "public: virtual void __thiscall GTalent::ActStart(void)" ([email protected]@@UAEXXZ) GameServer_app	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\GameServer.lib(GTalent.obj)	1	Erreur	LNK2001	symbole externe non rÚsolu "public: virtual void __thiscall GTalent::ActStart(void)" ([email protected]@@UAEXXZ) GameServer_app	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\GameServer.lib(GMagicTalent.obj)	1	Erreur	LNK2001	symbole externe non rÚsolu "public: virtual void __thiscall GTalent::ActStart(void)" ([email protected]@@UAEXXZ) GameServer_app	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\GameServer.lib(GItemTalent.obj)	1	Erreur	LNK2001	symbole externe non rÚsolu "__declspec(dllimport) public: __thiscall std::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >(int)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z)	GameServer_app C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\UnitTest++.vsnet2008MD.lib(Test.obj)	1	Erreur	LNK2001	symbole externe non rÚsolu "__declspec(dllimport) public: void __thiscall std::_Mutex::_Lock(void)" ([email protected][email protected]@@QAEXXZ)	GameServer_app C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\UnitTest++.vsnet2008MD.lib(Test.obj)	1	Erreur	LNK2001	symbole externe non rÚsolu "__declspec(dllimport) public: void __thiscall std::_Mutex::_Unlock(void)" ([email protected][email protected]@@QAEXXZ)	GameServer_app C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\UnitTest++.vsnet2008MD.lib(Test.obj)	1	Erreur	LNK2001	symbole externe non rÚsolu "__declspec(dllimport) public: int __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputn(char const *,int)" ([email protected][email protected][email protected]@[email protected]@@[email protected]@[email protected]) GameServer_app	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\UnitTest++.vsnet2008MD.lib(Test.obj)	1	Erreur	LNK2001	symbole externe non rÚsolu "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::operator=(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z) GameServer_app	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\UnitTest++.vsnet2008MD.lib(MemoryOutStream.obj)	1	Erreur	LNK2001 symbole externe non rÚsolu "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected])	GameServer_app C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\UnitTest++.vsnet2008MD.lib(AssertException.obj)	1	Erreur	LNK1120	7 externes non rÚsolus	GameServer_app C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Game\Runtime\Dev\GameServer\GameServer_r.exe	1
Thank you for your help



Testuff is offline  
Old 02/16/2019, 13:29   #2
 
elite*gold: 0
Join Date: Jan 2019
Posts: 2
Received Thanks: 0
UP


Testuff is offline  
Old 02/16/2019, 14:17   #3
 
elite*gold: 1226
Join Date: Apr 2010
Posts: 1,042
Received Thanks: 615
You errors are really bad formatted in your post and french is a language not everyone understands (like me), making it generally harder or at least less comfortable to help you. Since you want the help, I strongly advise you to post your errors correctly formatted and at best in English.
Here, better formatted:
Code:
Gravité	Code	Description	Projet	Fichier	Ligne	État de la suppression
Erreur	C2220	avertissement considéré comme une erreur - aucun fichier 'object' généré CSCommon	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\CSCommon\source\FSContext.cpp	97
Erreur	C2196	la valeur associée à case '192' est déjà utilisée	CSCommon	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\CSCommon\source\FSContext.cpp	105
Erreur	C2196	la valeur associée à case '192' est déjà utilisée	CSCommon	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\CSCommon\source\FSContext.cpp	113
Erreur	C1083	Impossible d'ouvrir le fichier include : 'json.hpp' : No such file or directory	GameServer_lib c:\users\carob\downloads\raiderz-source\develop\server\gameserver\main\GTalentCoolTimeSqlBuilder.h	3
Erreur	LNK2001	symbole externe non rÚsolu "public: virtual void __thiscall GTalent::ActStart(void)" ([email protected]@@UAEXXZ) GameServer_app	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\GameServer.lib(GExtraActiveTalent.obj)1
Erreur	LNK2001	symbole externe non rÚsolu "public: virtual void __thiscall GTalent::ActStart(void)" ([email protected]@@UAEXXZ) GameServer_app	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\GameServer.lib(GTalentFactory.obj)	1
Erreur	LNK2001	symbole externe non rÚsolu "public: virtual void __thiscall GTalent::ActStart(void)" ([email protected]@@UAEXXZ) GameServer_app	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\GameServer.lib(GTalent.obj)1
Erreur	LNK2001	symbole externe non rÚsolu "public: virtual void __thiscall GTalent::ActStart(void)" ([email protected]@@UAEXXZ) GameServer_app	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\GameServer.lib(GMagicTalent.obj)	1
Erreur	LNK2001	symbole externe non rÚsolu "public: virtual void __thiscall GTalent::ActStart(void)" ([email protected]@@UAEXXZ) GameServer_app	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\GameServer.lib(GItemTalent.obj)	1
Erreur	LNK2001	symbole externe non rÚsolu "__declspec(dllimport) public: __thiscall std::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >(int)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z)	GameServer_app C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\UnitTest++.vsnet2008MD.lib(Test.obj)	1
Erreur	LNK2001	symbole externe non rÚsolu "__declspec(dllimport) public: void __thiscall std::_Mutex::_Lock(void)" ([email protected][email protected]@@QAEXXZ)	GameServer_app C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\UnitTest++.vsnet2008MD.lib(Test.obj)	1
Erreur	LNK2001	symbole externe non rÚsolu "__declspec(dllimport) public: void __thiscall std::_Mutex::_Unlock(void)" ([email protected][email protected]@@QAEXXZ)	GameServer_app C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\UnitTest++.vsnet2008MD.lib(Test.obj)	1
Erreur	LNK2001	symbole externe non rÚsolu "__declspec(dllimport) public: int __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputn(char const *,int)" ([email protected][email protected][email protected]@[email protected]@@[email protected]@[email protected]) GameServer_app	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\UnitTest++.vsnet2008MD.lib(Test.obj)	1
Erreur	LNK2001	symbole externe non rÚsolu "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::operator=(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z) GameServer_app	C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\UnitTest++.vsnet2008MD.lib(MemoryOutStream.obj)	1
Erreur	LNK2001 symbole externe non rÚsolu "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected])	GameServer_app C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Server\GameServer\app\UnitTest++.vsnet2008MD.lib(AssertException.obj)	1
Erreur	LNK1120	7 externes non rÚsolus	GameServer_app C:\Users\Carob\Downloads\RaiderZ-Source\Develop\Game\Runtime\Dev\GameServer\GameServer_r.exe	1
Now, just look at the errors.
C2220: Warning considered an error. So the project is configured so that warnings are considered errors as well. So you must get rid of the warnings (which are not shown in your errors, most likely because you masked them out).
The both C2196 errors tell you that there is a switch statement, where the case 192 is handled two times. Each case must not be handled more than once, so make sure of that and the error is gone.
C1083 is telling you that a file (here json.hpp) gets included, which wasn't found. So that file is missing (maybe some third party dependency?). Get the file, so it can be included to get rid of that error.
The first five LNK2001 errors try to tell you that the function GTalent::ActStart was used (in five different object files), but the function wasn't actually defined anywhere. A function must be defined in order to be used. Insert the definition (code / logic of the function) to get rid of those errors.
The next six LNK2001 errors tell you that the definition for some STL functions apparently used in unit tests are missing. That is most likely due to a misconfiguration regarding the runtime library since those functions should be defined within those. I guess somehow the project do not link against the runtime library or something like that.
LNK1120 just tells you that there are unresolved LNK2001 errors. Get rid of the LNK2001s and the error is gone as well.
Maybe that helps you, but that is all that someone who doesn't have the project can deduct from those errors.
With best regards
Jeoni is offline  
Reply



« Hello, does anyone know how to make a aimbot | - »

Similar Threads
Visual Studio - Rad Studio ASM Function Return
04/21/2014 - C/C++ - 4 Replies
#Solved.
Visual Basic 2008 oder Visual Studio 2003?
06/19/2013 - Flyff PServer - Discussions / Questions - 3 Replies
Hi, mit was kann ich die Source von Flyff besser bzw. überhaupt bearbeiten? Visual Basic oder Bisual Studio? Mir wurd immer und immer wieder was anderes gesagt und das irritiert mich einfach derbe :D lg, Zer0



All times are GMT +1. The time now is 16:20.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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