Log in

View Full Version : Vaultmp wont compile (code::blocks)



GhoPD
01-02-2014, 08:05 PM
OS: Windows 7 SP1
Code::Blocks: 13.12
MinGW: 4.8.1

Time64 & iniparser are inside root directory (
C:\Users\WHOAMI\Desktop\vaultmp-master\source)
I cannot compile any project.:

VaultMaster.cbp:



||=== Build: Windows in vaultmaster (compiler: GNU GCC Compiler) ===|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp||In function 'char* TestModeToString(RakNet::NatPunchthroughClient::Se ndPing::TestMode)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|791 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|794 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|800 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|803 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|806 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|809 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|812 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|815 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|818 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\RakString.cpp||In member function 'WCHAR* RakNet::RakString::ToWideChar()':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\RakString.cpp|451|warning: deprecated conversion from string constant to 'WCHAR* {aka wchar_t*}' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\DR_SHA1.h|172|error: multiple types in one declaration|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\DR_SHA1.h|172|error: declaration does not declare anything [-fpermissive]|
||=== Build failed: 2 error(s), 10 warning(s) (0 minute(s), 46 second(s)) ===|






VaultmpDLL.cbp:


||=== Build: default in vaultmpdll (compiler: GNU GCC Compiler) ===|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'void Utils::timestamp()':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|18|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|22|error: 'printf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'int Utils::progress_func(double, double)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|36|error: 'printf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|47|error: 'stdout' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|47|error: 'fflush' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'std::string Utils::toString(int)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|59|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'std::string Utils::toString(unsigned int)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|66|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'std::string Utils::toString(unsigned char)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|73|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'std::string Utils::toString(double)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|80|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'std::string Utils::toString(long long unsigned int)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|87|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'unsigned int Utils::FileLength(const char*)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|130|error: 'fopen' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|135|error: 'fseek' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|136|error: 'ftell' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|137|error: 'fclose' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'bool Utils::crc32file(const char*, unsigned int*)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|282|error: 'fopen' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|287|error: 'getc' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|287|error: 'EOF' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|293|error: 'ferror' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|298|error: 'fclose' was not declared in this scope|
||=== Build failed: 19 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|



Vaultmpserver.cbp:


||=== Build: debug in vaultserver (compiler: GNU GCC Compiler) ===|
..\RakNet\RakString.cpp|442|warning: extra tokens at end of #ifdef directive [enabled by default]|
..\RakNet\RakString.cpp||In member function 'WCHAR* RakNet::RakString::ToWideChar()':|
..\RakNet\RakString.cpp|451|warning: deprecated conversion from string constant to 'WCHAR* {aka wchar_t*}' [-Wwrite-strings]|
||=== Build failed: 0 error(s), 2 warning(s) (0 minute(s), 0 second(s)) ===|












Any ideas what's wrong? thanks

foxtacles
01-02-2014, 08:44 PM
Can you try this MinGW distribution:

https://fuch.si/sf

GhoPD
01-02-2014, 09:42 PM
Thank you for fast reply!

Now Vaultmp.dll and vaultscript.dll compiles just fine. But still, i have problems with another projects:

Vaultmaster.cpb:



||=== Build: Windows in vaultmaster (compiler: GNU GCC Compiler) ===|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\RakString.cpp|442|warning: extra tokens at end of #ifdef directive [enabled by default]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\RakString.cpp||In member function 'WCHAR* RakNet::RakString::ToWideChar()':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\RakString.cpp|451|warning: deprecated conversion from string constant to 'WCHAR* {aka wchar_t*}' [-Wwrite-strings]|
c:\mingw\i686-w64-mingw32\include\winnt.h|348|error: expected unqualified-id before ',' token|
c:\mingw\i686-w64-mingw32\include\winnt.h|348|error: two or more data types in declaration of 'PTCHAR'|
||=== Build failed: 2 error(s), 2 warning(s) (0 minute(s), 2 second(s)) ===|



Vaultserver.cbp:



[CODE]
||=== Build: debug in vaultserver (compiler: GNU GCC Compiler) ===|
||warning: command line option '-std=gnu++1y' is valid for C++/ObjC++ but not for C [enabled by default]|
||warning: command line option '-std=gnu++1y' is valid for C++/ObjC++ but not for C [enabled by default]|
..\stack_trace\src\stack.cpp|21|fatal error: bfd.h: No such file or directory|
makefile.windows|403|recipe for target '.objs\\Debug\\stack_trace\\src\\stack.o' failed|
||=== Build failed: 2 error(s), 2 warning(s) (0 minute(s), 6 second(s)) ===|



(i know it cannot find bfd.h, but i have no idea where this header file is)

Root folder structure:

https://i.imgur.com/xs9bf0W.png

Toolchain:

https://i.imgur.com/kNCbCbX.png

foxtacles
01-03-2014, 12:34 AM
Can you search for bfd.h inside MinGW folder? It is in MinGW/include folder for me. Then just add that as include path inside Code::Blocks, or copy contents of MinGW/include to MinGW/i686-w64-mingw32/include

For the other issue: can you comment line 348 of winnt.h out? (Code::Blocks should direct you into that file when the error comes up). It's some issue with RakNet, but that resolves it for me. This line


typedef char TCHAR, *PTCHAR;

to


//typedef char TCHAR, *PTCHAR;

(make sure it's just a temporary change to compile master server)

GhoPD
01-03-2014, 01:48 PM
I've redownloaded and reinstalled everything (MinGW too), now VaultmpDLL, Vaultscript and Vaultmaster compiles just fine, but vaultmaster crashes immediately after launching.


Vaultserver.cbp throws tons of warnings (cut):








||=== Build: debug in vaultserver (compiler: GNU GCC Compiler) ===|
..\RakNet\RakString.cpp||In member function 'WCHAR* RakNet::RakString::ToWideChar()':|
..\RakNet\RakString.cpp|451|warning: deprecated conversion from string constant to 'WCHAR* {aka wchar_t*}' [-Wwrite-strings]|
||warning: command line option '-std=gnu++1y' is valid for C++/ObjC++ but not for C [enabled by default]|
||warning: command line option '-std=gnu++1y' is valid for C++/ObjC++ but not for C [enabled by default]|
||warning: command line option '-std=gnu++1y' is valid for C++/ObjC++ but not for C [enabled by default]|
||warning: command line option '-std=gnu++1y' is valid for C++/ObjC++ but not for C [enabled by default]|
||warning: command line option '-std=gnu++1y' is valid for C++/ObjC++ but not for C [enabled by default]|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amx.h|446|note: in expansion of macro 'amx_Address'|
amx\amx.h|454|note: in expansion of macro 'amx_StrParam_Type'|
amx\amxfile.c|894|note: in expansion of macro 'amx_StrParam'|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amx.h|449|note: in expansion of macro 'amx_Address'|
amx\amx.h|454|note: in expansion of macro 'amx_StrParam_Type'|
amx\amxfile.c|894|note: in expansion of macro 'amx_StrParam'|
amx\amxfile.c||In function 'n_fcreatedir':|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amx.h|446|note: in expansion of macro 'amx_Address'|
amx\amx.h|454|note: in expansion of macro 'amx_StrParam_Type'|
amx\amxfile.c|916|note: in expansion of macro 'amx_StrParam'|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amx.h|449|note: in expansion of macro 'amx_Address'|
amx\amx.h|454|note: in expansion of macro 'amx_StrParam_Type'|
amx\amxfile.c|916|note: in expansion of macro 'amx_StrParam'|
amx\amxfile.c||In function 'n_filecrc':|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amx.h|446|note: in expansion of macro 'amx_Address'|
amx\amx.h|454|note: in expansion of macro 'amx_StrParam_Type'|
amx\amxfile.c|1020|note: in expansion of macro 'amx_StrParam'|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amxstring.c|916|note: in expansion of macro 'amx_Address'|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amxstring.c|917|note: in expansion of macro 'amx_Address'|
amx\amxstring.c||In function 'n_strformat':|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amxstring.c|966|note: in expansion of macro 'amx_Address'|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amxstring.c|970|note: in expansion of macro 'amx_Address'|
||warning: command line option '-std=gnu++1y' is valid for C++/ObjC++ but not for C [enabled by default]|
amx\amxtime.c||In function 'settime':|
amx\amxtime.c|138|warning: left shift count >= width of type [enabled by default]|
amx\amxtime.c|140|warning: left shift count >= width of type [enabled by default]|
amx\amxtime.c|142|warning: left shift count >= width of type [enabled by default]|
amx\amxtime.c||In function 'setdate':|
amx\amxtime.c|173|warning: left shift count >= width of type [enabled by default]|
amx\amxtime.c|175|warning: left shift count >= width of type [enabled by default]|
amx\amxtime.c|180|warning: left shift count >= width of type [enabled by default]|
amx\amxtime.c||In function 'n_gettime':|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amxtime.c|232|note: in expansion of macro 'amx_Address'|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amxtime.c|234|note: in expansion of macro 'amx_Address'|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amxtime.c|236|note: in expansion of macro 'amx_Address'|
amx\amxtime.c||In function 'n_getdate':|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amxtime.c|270|note: in expansion of macro 'amx_Address'|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amxtime.c|272|note: in expansion of macro 'amx_Address'|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amxtime.c|274|note: in expansion of macro 'amx_Address'|
amx\amxtime.c||In function 'n_tickcount':|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amxtime.c|291|note: in expansion of macro 'amx_Address'|
amx\amxtime.c||In function 'n_gettimer':|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amxtime.c|340|note: in expansion of macro 'amx_Address'|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\amxtime.c|342|note: in expansion of macro 'amx_Address'|
||warning: command line option '-std=gnu++1y' is valid for C++/ObjC++ but not for C [enabled by default]|
amx\float.c||In function 'n_strfloat':|
amx\amx.h|427|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
amx\float.c|76|note: in expansion of macro 'amx_Address'|
||warning: command line option '-std=gnu++1y' is valid for C++/ObjC++ but not for C [enabled by default]|
||warning: command line option '-std=gnu++1y' is valid for C++/ObjC++ but not for C [enabled by default]|
amx\amx.c||In function 'amx_Callback':|
amx\amx.c|582|warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]|
amx\amx.c||In function 'VerifyPcode':|
amx\amx.c|662|warning: left shift count >= width of type [enabled by default]|
amx\amx.c||In function 'amx_Register':|
amx\amx.c|1910|warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]|
..\packet\PacketFactory.hpp|565|error: 'ID_BASE_NEW' is not a member of 'pTypes'|
..\Base.hpp|44|note: in expansion of macro 'PF_MAKE_E'|
makefile.windows|412|recipe for target '.objs\\Debug\\vaultserver\\Script.o' failed|
||=== Build failed: 2 error(s), 374 warning(s) (0 minute(s), 21 second(s)) ===|




I'm lost. :mad:
It's the newest source code from github. (master branch)

foxtacles
01-03-2014, 05:28 PM
You didn't checkout the correct branch of the serialization module. Use git submodule init and git submodule update (or directly download the branch from GitHub by clicking on that @ <commit> link of the submodule)

No idea why vaultmaster crashes, it works fine for me.

GhoPD
01-03-2014, 05:53 PM
Indeed, thank you!


||=== Build: release in vaultserver (compiler: GNU GCC Compiler) ===|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `gmtime64(long long const*)'|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `gmtime64(long long const*)'|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `gmtime64(long long const*)'|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `gmtime64(long long const*)'|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `gmtime64_r(long long const*, tm*)'|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `gmtime64_r(long long const*, tm*)'|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `gmtime64_r(long long const*, tm*)'|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `gmtime64_r(long long const*, tm*)'|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `gmtime64_r(long long const*, tm*)'|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `mktime64(tm*)'|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `gmtime64_r(long long const*, tm*)'|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `mktime64(tm*)'|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `gmtime64_r(long long const*, tm*)'|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `mktime64(tm*)'|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `gmtime64_r(long long const*, tm*)'|
.objs\Release\vaultserver\Script.oScript.cpp|| undefined reference to `mktime64(tm*)'|
makefile.windows|582|recipe for target 'out_release' failed|
||=== Build failed: 17 error(s), 0 warning(s) (1 minute(s), 12 second(s)) ===|




I have master branch from https://github.com/foxtacles/y2038

foxtacles
01-03-2014, 06:10 PM
Don't use the master branch. Please check out the referenced version. Just like with the serialization submodule.

GhoPD
01-03-2014, 06:21 PM
I'm using this branch: https://github.com/foxtacles/y2038/tree/a05feb76f1a204a016a7e023a365ac71677cc558

Now it throws this:



||=== Build: release in vaultserver (compiler: GNU GCC Compiler) ===|
.objs\Release\time\time64.otime64.c|| undefined reference to `localtime_r'|
.objs\Release\time\time64.otime64.c|| undefined reference to `localtime_r'|
makefile.windows|582|recipe for target 'out_release' failed|
||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|



I'm little confused because localtime_r is a POSIX stuff

foxtacles
01-03-2014, 06:21 PM
Full recompile please

GhoPD
01-03-2014, 06:30 PM
Oh, how stupid i am sometimes! :)

It works now.

GhoPD
01-04-2014, 01:04 PM
There's one additional problem.

Everything compiles just fine, but everytime i launch vaultserver.exe or vaultmaster.exe , it crashes immediately.

Here's my file (you can run it on a virtual machine or whatever) Does it work on your machine?
https://speedy.sh/ThqfR/vaultserver.exe
Because i don't know if there's a problem with my PC, or MinGW

foxtacles
01-04-2014, 04:49 PM
It crashes for me as well. Can you compile the debug version of it?

GhoPD
01-04-2014, 07:16 PM
Well, i cannot compile debug version:



g++.exe .objs\\Debug\\RakNet\\RakNetSocket2.o .objs\\Debug\\RakNet\\Rand.o .objs\\Debug\\RakNet\\RakThread.o .objs\\Debug\\RakNet\\RakString.o .objs\\Debug\\RakNet\\RakSleep.o .objs\\Debug\\RakNet\\RakPeer.o .objs\\Debug\\RakNet\\RakNetTypes.o .objs\\Debug\\RakNet\\SimpleMutex.o .objs\\Debug\\RakNet\\SignaledEvent.o .objs\\Debug\\RakNet\\DR_SHA1.o .objs\\Debug\\RakNet\\ReliabilityLayer.o .objs\\Debug\\RakNet\\PluginInterface2.o .objs\\Debug\\RakNet\\PacketizedTCP.o .objs\\Debug\\RakNet\\NetworkIDObject.o .objs\\Debug\\RakNet\\RakNetSocket.o .objs\\Debug\\RakNet\\RakMemoryOverride.o .objs\\Debug\\RakNet\\WSAStartupSingleton.o .objs\\Debug\\RakNet\\TCPInterface.o .objs\\Debug\\RakNet\\SuperFastHash.o .objs\\Debug\\RakNet\\StringTable.o .objs\\Debug\\RakNet\\StringCompressor.o .objs\\Debug\\RakNet\\SocketLayer.o .objs\\Debug\\RakNet\\VariableListDeltaTracker.o .objs\\Debug\\RakNet\\CCRakNetSlidingWindow.o .objs\\Debug\\RakNet\\BitStream.o .objs\\Debug\\RakNet\\DS_HuffmanEncodingTree.o .objs\\Debug\\RakNet\\DS_ByteQueue.o .objs\\Debug\\RakNet\\LocklessTypes.o .objs\\Debug\\RakNet\\Itoa.o .objs\\Debug\\RakNet\\NetworkIDManager.o .objs\\Debug\\RakNet\\GetTime.o .objs\\Debug\\RakNet\\FileOperations.o .objs\\Debug\\RakNet\\FileListTransfer.o .objs\\Debug\\RakNet\\FileList.o .objs\\Debug\\RakNet\\IncrementalReadInterface.o .objs\\Debug\\time\\time64.o .objs\\Debug\\sqlite\\sqlite3.o .objs\\Debug\\stack_trace\\src\\stack.o .objs\\Debug\\iniparser\\src\\iniparser.o .objs\\Debug\\iniparser\\src\\dictionary.o .objs\\Debug\\amx\\amxexec_gcc.o .objs\\Debug\\amx\\amxcore.o .objs\\Debug\\amx\\amxfile.o .objs\\Debug\\amx\\amxcons.o .objs\\Debug\\amx\\amxstring.o .objs\\Debug\\amx\\amxtime.o .objs\\Debug\\amx\\float.o .objs\\Debug\\amx\\amxaux.o .objs\\Debug\\amx\\amx.o .objs\\Debug\\vaultserver\\Script.o .objs\\Debug\\vaultserver\\Record.o .objs\\Debug\\vaultserver\\Race.o .objs\\Debug\\vaultserver\\Public.o .objs\\Debug\\vaultserver\\PAWN.o .objs\\Debug\\vaultserver\\NetworkServer.o .objs\\Debug\\vaultserver\\NPC.o .objs\\Debug\\vaultserver\\Exterior.o .objs\\Debug\\vaultserver\\Dedicated.o .objs\\Debug\\vaultserver\\Database.o .objs\\Debug\\vaultserver\\vaultserver.o .objs\\Debug\\vaultserver\\Weapon.o .objs\\Debug\\vaultserver\\Timer.o .objs\\Debug\\vaultserver\\Server.o .objs\\Debug\\vaultserver\\ScriptFunction.o .objs\\Debug\\vaultserver\\Client.o .objs\\Debug\\vaultserver\\BaseContainer.o .objs\\Debug\\vaultserver\\Item.o .objs\\Debug\\vaultserver\\Reference.o .objs\\Debug\\vaultserver\\Terminal.o .objs\\Debug\\vaultserver\\Interior.o .objs\\Debug\\vaultserver\\AcReference.o .objs\\Debug\\ServerEntry.o .objs\\Debug\\Reference.o .objs\\Debug\\VaultVector.o .objs\\Debug\\VaultFunctor.o .objs\\Debug\\VaultException.o .objs\\Debug\\Value.o .objs\\Debug\\Utils.o .objs\\Debug\\Object.o .objs\\Debug\\Network.o .objs\\Debug\\Lockable.o .objs\\Debug\\Item.o .objs\\Debug\\GameFactory.o .objs\\Debug\\CriticalSection.o .objs\\Debug\\Container.o .objs\\Debug\\ItemList.o .objs\\Debug\\Actor.o .objs\\Debug\\API.o .objs\\Debug\\Player.o .objs\\Debug\\Expected.o .objs\\Debug\\Window.o .objs\\Debug\\Button.o .objs\\Debug\\Text.o .objs\\Debug\\Edit.o .objs\\Debug\\Checkbox.o .objs\\Debug\\Base.o .objs\\Debug\\RadioButton.o .objs\\Debug\\ListItem.o .objs\\Debug\\List.o .objs\\Debug\\Debug.o -o vaultserverd.exe -lbfd -liberty -m32 -lws2_32 -lwinmm -lm -lz -limagehlp -static
.objs\Debug\vaultserver\Server.o: In function `ZN6Server9NewPlayerEN6RakNet10RakNetGUIDEy':
Server.cpp:107: undefined reference to `Window::GUI_MAIN_TEXT'
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe: *** [out_debug] Error 1
makefile.windows:262: recipe for target 'out_debug' failed
Process terminated with status 2 (2 minute(s), 0 second(s))
2 error(s), 374 warning(s) (2 minute(s), 0 second(s))

foxtacles
01-04-2014, 07:57 PM
I pushed a fix into master, please pull again

GhoPD
01-08-2014, 02:58 AM
Here's debug version:

https://speedy.sh/Da8vQ/vaultserverd.rar