• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Need help when compling i get this error..

TKO

Syphero Owner!
Joined
Mar 10, 2008
Messages
2,252
Reaction score
27
Location
Sweden
Hey i wanna know if some one can help me compile latest trunk!
and yes i have read tutroials but i always get errors when i compile!
my error:
Code:
Compiler: Default compiler
Building Makefile: "C:\Users\Tomas\Desktop\OT\trunk.r3440\source syphero test\Makefile.win"
Executing  make...
make.exe -f "C:\Users\Tomas\Desktop\OT\trunk.r3440\source syphero test\Makefile.win" all
g++.exe -c ../tools.cpp -o ../tools.o -I"C:/Users/Tomas/Desktop/The Forgotten Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__  

../tools.cpp: In function `std::string transformToSHA1(std::string, bool)':
../tools.cpp:34: error: `CryptoPP' has not been declared

../tools.cpp:34: error: `SHA1' was not declared in this scope
../tools.cpp:34: error: expected `;' before "hash"
../tools.cpp:36: error: `byte' was not declared in this scope
../tools.cpp:36: error: expected `;' before "digest"
../tools.cpp:38: error: `hash' was not declared in this scope
../tools.cpp:38: error: `digest' was not declared in this scope
../tools.cpp:38: error: ISO C++ forbids declaration of `type name' with no type
../tools.cpp:38: error: ISO C++ forbids declaration of `type name' with no type
../tools.cpp:38: error: expected primary-expression before "const"
../tools.cpp:38: error: expected `)' before "const"
../tools.cpp:41: error: `CryptoPP' has not been declared
../tools.cpp:41: error: `HexEncoder' was not declared in this scope
../tools.cpp:41: error: expected `;' before "encoder"
../tools.cpp:46: error: `encoder' was not declared in this scope
../tools.cpp:46: error: `CryptoPP' has not been declared
../tools.cpp:46: error: `StringSink' has not been declared
../tools.cpp: In function `std::string transformToMD5(std::string, bool)':
../tools.cpp:61: error: `CryptoPP' has not been declared
../tools.cpp:61: error: `MD5' was not declared in this scope
../tools.cpp:61: error: expected `;' before "hash"
../tools.cpp:63: error: `byte' was not declared in this scope
../tools.cpp:63: error: expected `;' before "digest"
../tools.cpp:65: error: `hash' was not declared in this scope
../tools.cpp:65: error: `digest' was not declared in this scope
../tools.cpp:65: error: ISO C++ forbids declaration of `type name' with no type
../tools.cpp:65: error: ISO C++ forbids declaration of `type name' with no type

../tools.cpp:65: error: expected primary-expression before "const"
../tools.cpp:65: error: expected `)' before "const"
../tools.cpp:68: error: `CryptoPP' has not been declared
../tools.cpp:68: error: `HexEncoder' was not declared in this scope
../tools.cpp:68: error: expected `;' before "encoder"
../tools.cpp:73: error: `encoder' was not declared in this scope
../tools.cpp:73: error: `CryptoPP' has not been declared
../tools.cpp:73: error: `StringSink' has not been declared

../tools.cpp: In function `uint32_t adlerChecksum(uint8_t*, size_t)':
../tools.cpp:1550: error: `CryptoPP' has not been declared

../tools.cpp:1550: error: `Adler32' was not declared in this scope
../tools.cpp:1550: error: expected `;' before "adler"
../tools.cpp:1552: error: `byte' was not declared in this scope
../tools.cpp:1552: error: expected `;' before "digest"
../tools.cpp:1555: error: `adler' was not declared in this scope
../tools.cpp:1555: error: `digest' was not declared in this scope
../tools.cpp:1555: error: ISO C++ forbids declaration of `type name' with no type
../tools.cpp:1555: error: ISO C++ forbids declaration of `type name' with no type
../tools.cpp:1555: error: expected primary-expression before "const"
../tools.cpp:1555: error: expected `)' before "const"
make.exe: *** [../tools.o] Error 1
Execution terminated
 
Last edited:
Dint work anyway!

Code:
Compiler: Default compiler
Building Makefile: "C:\Users\Tomas\Desktop\OT\trunk.r3440\source syphero test\Makefile.win"
Executing  make...
make.exe -f "C:\Users\Tomas\Desktop\OT\trunk.r3440\source syphero test\Makefile.win" all
g++.exe -c ../tools.cpp -o ../tools.o -I"C:/Users/Tomas/Desktop/The Forgotten Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__  

../tools.cpp: In function `std::string transformToSHA1(std::string, bool)':
../tools.cpp:34: error: `CryptoPP' has not been declared

../tools.cpp:34: error: `SHA1' was not declared in this scope
../tools.cpp:34: error: expected `;' before "hash"
../tools.cpp:36: error: `byte' was not declared in this scope
../tools.cpp:36: error: expected `;' before "digest"
../tools.cpp:38: error: `hash' was not declared in this scope
../tools.cpp:38: error: `digest' was not declared in this scope
../tools.cpp:38: error: ISO C++ forbids declaration of `type name' with no type
../tools.cpp:38: error: ISO C++ forbids declaration of `type name' with no type
../tools.cpp:38: error: expected primary-expression before "const"
../tools.cpp:38: error: expected `)' before "const"
../tools.cpp:41: error: `CryptoPP' has not been declared
../tools.cpp:41: error: `HexEncoder' was not declared in this scope
../tools.cpp:41: error: expected `;' before "encoder"
../tools.cpp:46: error: `encoder' was not declared in this scope
../tools.cpp:46: error: `CryptoPP' has not been declared
../tools.cpp:46: error: `StringSink' has not been declared
../tools.cpp: In function `std::string transformToMD5(std::string, bool)':
../tools.cpp:61: error: `CryptoPP' has not been declared
../tools.cpp:61: error: `MD5' was not declared in this scope
../tools.cpp:61: error: expected `;' before "hash"
../tools.cpp:63: error: `byte' was not declared in this scope
../tools.cpp:63: error: expected `;' before "digest"
../tools.cpp:65: error: `hash' was not declared in this scope
../tools.cpp:65: error: `digest' was not declared in this scope
../tools.cpp:65: error: ISO C++ forbids declaration of `type name' with no type
../tools.cpp:65: error: ISO C++ forbids declaration of `type name' with no type

../tools.cpp:65: error: expected primary-expression before "const"
../tools.cpp:65: error: expected `)' before "const"
../tools.cpp:68: error: `CryptoPP' has not been declared
../tools.cpp:68: error: `HexEncoder' was not declared in this scope
../tools.cpp:68: error: expected `;' before "encoder"
../tools.cpp:73: error: `encoder' was not declared in this scope
../tools.cpp:73: error: `CryptoPP' has not been declared
../tools.cpp:73: error: `StringSink' has not been declared

../tools.cpp: In function `uint32_t adlerChecksum(uint8_t*, size_t)':
../tools.cpp:1550: error: `CryptoPP' has not been declared
../tools.cpp:1550: error: `Adler32' was not declared in this scope
../tools.cpp:1550: error: expected `;' before "adler"
../tools.cpp:1552: error: `byte' was not declared in this scope
../tools.cpp:1552: error: expected `;' before "digest"
../tools.cpp:1555: error: `adler' was not declared in this scope
../tools.cpp:1555: error: `digest' was not declared in this scope
../tools.cpp:1555: error: ISO C++ forbids declaration of `type name' with no type
../tools.cpp:1555: error: ISO C++ forbids declaration of `type name' with no type
../tools.cpp:1555: error: expected primary-expression before "const"
../tools.cpp:1555: error: expected `)' before "const"

make.exe: *** [../tools.o] Error 1

Execution terminated
 
aw wtf? new error ftw...
Code:
Compiler: Default compiler
Building Makefile: "C:\Users\Tomas\Desktop\projekt\Makefile.win"
Executing  make...
make.exe -f "C:\Users\Tomas\Desktop\projekt\Makefile.win" all
g++.exe -c ../OT/trunk.r3440/tools.cpp -o ../OT/trunk.r3440/tools.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__  

../OT/trunk.r3440/tools.cpp: In function `std::string transformToSHA1(std::string, bool)':
../OT/trunk.r3440/tools.cpp:34: error: `CryptoPP' has not been declared
../OT/trunk.r3440/tools.cpp:34: error: `SHA1' was not declared in this scope
../OT/trunk.r3440/tools.cpp:34: error: expected `;' before "hash"
../OT/trunk.r3440/tools.cpp:36: error: `byte' was not declared in this scope
../OT/trunk.r3440/tools.cpp:36: error: expected `;' before "digest"
../OT/trunk.r3440/tools.cpp:38: error: `hash' was not declared in this scope
../OT/trunk.r3440/tools.cpp:38: error: `digest' was not declared in this scope
../OT/trunk.r3440/tools.cpp:38: error: ISO C++ forbids declaration of `type name' with no type
../OT/trunk.r3440/tools.cpp:38: error: ISO C++ forbids declaration of `type name' with no type
../OT/trunk.r3440/tools.cpp:38: error: expected primary-expression before "const"
../OT/trunk.r3440/tools.cpp:38: error: expected `)' before "const"
../OT/trunk.r3440/tools.cpp:41: error: `CryptoPP' has not been declared
../OT/trunk.r3440/tools.cpp:41: error: `HexEncoder' was not declared in this scope
../OT/trunk.r3440/tools.cpp:41: error: expected `;' before "encoder"
../OT/trunk.r3440/tools.cpp:46: error: `encoder' was not declared in this scope
../OT/trunk.r3440/tools.cpp:46: error: `CryptoPP' has not been declared
../OT/trunk.r3440/tools.cpp:46: error: `StringSink' has not been declared

../OT/trunk.r3440/tools.cpp: In function `std::string transformToMD5(std::string, bool)':
../OT/trunk.r3440/tools.cpp:61: error: `CryptoPP' has not been declared
../OT/trunk.r3440/tools.cpp:61: error: `MD5' was not declared in this scope
../OT/trunk.r3440/tools.cpp:61: error: expected `;' before "hash"
../OT/trunk.r3440/tools.cpp:63: error: `byte' was not declared in this scope
../OT/trunk.r3440/tools.cpp:63: error: expected `;' before "digest"
../OT/trunk.r3440/tools.cpp:65: error: `hash' was not declared in this scope
../OT/trunk.r3440/tools.cpp:65: error: `digest' was not declared in this scope
../OT/trunk.r3440/tools.cpp:65: error: ISO C++ forbids declaration of `type name' with no type
../OT/trunk.r3440/tools.cpp:65: error: ISO C++ forbids declaration of `type name' with no type
../OT/trunk.r3440/tools.cpp:65: error: expected primary-expression before "const"
../OT/trunk.r3440/tools.cpp:65: error: expected `)' before "const"
../OT/trunk.r3440/tools.cpp:68: error: `CryptoPP' has not been declared
../OT/trunk.r3440/tools.cpp:68: error: `HexEncoder' was not declared in this scope
../OT/trunk.r3440/tools.cpp:68: error: expected `;' before "encoder"
../OT/trunk.r3440/tools.cpp:73: error: `encoder' was not declared in this scope

../OT/trunk.r3440/tools.cpp:73: error: `CryptoPP' has not been declared
../OT/trunk.r3440/tools.cpp:73: error: `StringSink' has not been declared

../OT/trunk.r3440/tools.cpp: In function `uint32_t adlerChecksum(uint8_t*, size_t)':
../OT/trunk.r3440/tools.cpp:1550: error: `CryptoPP' has not been declared

../OT/trunk.r3440/tools.cpp:1550: error: `Adler32' was not declared in this scope
../OT/trunk.r3440/tools.cpp:1550: error: expected `;' before "adler"
../OT/trunk.r3440/tools.cpp:1552: error: `byte' was not declared in this scope
../OT/trunk.r3440/tools.cpp:1552: error: expected `;' before "digest"

../OT/trunk.r3440/tools.cpp:1555: error: `adler' was not declared in this scope
../OT/trunk.r3440/tools.cpp:1555: error: `digest' was not declared in this scope
../OT/trunk.r3440/tools.cpp:1555: error: ISO C++ forbids declaration of `type name' with no type
../OT/trunk.r3440/tools.cpp:1555: error: ISO C++ forbids declaration of `type name' with no type
../OT/trunk.r3440/tools.cpp:1555: error: expected primary-expression before "const"
../OT/trunk.r3440/tools.cpp:1555: error: expected `)' before "const"

make.exe: *** [../OT/trunk.r3440/tools.o] Error 1

Execution terminated
 
help now i get this error:S

Code:
Compiler: Default compiler
Building Makefile: "C:\Users\Tomas\Desktop\OT\trunk.r3440\dev-cpp\Makefile.win"
Executing  make...
make.exe -f "C:\Users\Tomas\Desktop\OT\trunk.r3440\dev-cpp\Makefile.win" all
g++.exe -c ../actions.cpp -o obj//actions.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../admin.cpp -o obj//admin.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../allocator.cpp -o obj//allocator.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../baseevents.cpp -o obj//baseevents.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../beds.cpp -o obj//beds.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../chat.cpp -o obj//chat.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../combat.cpp -o obj//combat.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../condition.cpp -o obj//condition.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../configmanager.cpp -o obj//configmanager.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../connection.cpp -o obj//connection.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../container.cpp -o obj//container.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../creature.cpp -o obj//creature.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../creatureevent.cpp -o obj//creatureevent.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../cylinder.cpp -o obj//cylinder.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../database.cpp -o obj//database.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../databasemanager.cpp -o obj//databasemanager.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../databasemysql.cpp -o obj//databasemysql.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../databasesqlite.cpp -o obj//databasesqlite.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../depot.cpp -o obj//depot.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../dispatcher.cpp -o obj//dispatcher.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../exception.cpp -o obj//exception.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../fileloader.cpp -o obj//fileloader.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../game.cpp -o obj//game.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../gameservers.cpp -o obj//gameservers.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../globalevent.cpp -o obj//globalevent.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../group.cpp -o obj//group.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../house.cpp -o obj//house.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../housetile.cpp -o obj//housetile.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../ioban.cpp -o obj//ioban.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../ioguild.cpp -o obj//ioguild.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../iologindata.cpp -o obj//iologindata.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../iomap.cpp -o obj//iomap.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../iomapserialize.cpp -o obj//iomapserialize.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../item.cpp -o obj//item.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../itemattributes.cpp -o obj//itemattributes.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../items.cpp -o obj//items.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../luascript.cpp -o obj//luascript.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../mailbox.cpp -o obj//mailbox.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../manager.cpp -o obj//manager.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../map.cpp -o obj//map.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../monster.cpp -o obj//monster.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../monsters.cpp -o obj//monsters.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../movement.cpp -o obj//movement.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../networkmessage.cpp -o obj//networkmessage.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../npc.cpp -o obj//npc.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../otserv.cpp -o obj//otserv.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../outfit.cpp -o obj//outfit.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../outputmessage.cpp -o obj//outputmessage.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../party.cpp -o obj//party.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../player.cpp -o obj//player.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../position.cpp -o obj//position.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../protocol.cpp -o obj//protocol.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../protocolgame.cpp -o obj//protocolgame.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../protocolhttp.cpp -o obj//protocolhttp.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../protocollogin.cpp -o obj//protocollogin.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../protocolold.cpp -o obj//protocolold.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../quests.cpp -o obj//quests.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../raids.cpp -o obj//raids.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../rsa.cpp -o obj//rsa.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../scheduler.cpp -o obj//scheduler.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../scriptmanager.cpp -o obj//scriptmanager.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../server.cpp -o obj//server.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../spawn.cpp -o obj//spawn.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../spells.cpp -o obj//spells.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../status.cpp -o obj//status.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../talkaction.cpp -o obj//talkaction.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../teleport.cpp -o obj//teleport.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../textlogger.cpp -o obj//textlogger.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../thing.cpp -o obj//thing.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../tile.cpp -o obj//tile.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

g++.exe -c ../tools.cpp -o obj//tools.o -I"C:/Users/Tomas/Desktop/Stian's Repack Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__   -fexpensive-optimizations -O1

../tools.cpp: In function `std::string transformToSHA1(std::string, bool)':
../tools.cpp:34: error: `CryptoPP' has not been declared
../tools.cpp:34: error: `SHA1' was not declared in this scope
../tools.cpp:34: error: expected `;' before "hash"
../tools.cpp:36: error: `byte' was not declared in this scope
../tools.cpp:36: error: expected `;' before "digest"
../tools.cpp:38: error: `hash' was not declared in this scope
../tools.cpp:38: error: `digest' was not declared in this scope
../tools.cpp:38: error: ISO C++ forbids declaration of `type name' with no type

../tools.cpp:38: error: ISO C++ forbids declaration of `type name' with no type
../tools.cpp:38: error: expected primary-expression before "const"
../tools.cpp:38: error: expected `)' before "const"
../tools.cpp:41: error: `CryptoPP' has not been declared
../tools.cpp:41: error: `HexEncoder' was not declared in this scope
../tools.cpp:41: error: expected `;' before "encoder"

../tools.cpp:46: error: `encoder' was not declared in this scope
../tools.cpp:46: error: `CryptoPP' has not been declared
../tools.cpp:46: error: `StringSink' has not been declared
../tools.cpp: In function `std::string transformToMD5(std::string, bool)':
../tools.cpp:61: error: `CryptoPP' has not been declared
../tools.cpp:61: error: `MD5' was not declared in this scope
../tools.cpp:61: error: expected `;' before "hash"

../tools.cpp:63: error: `byte' was not declared in this scope
../tools.cpp:63: error: expected `;' before "digest"
../tools.cpp:65: error: `hash' was not declared in this scope
../tools.cpp:65: error: `digest' was not declared in this scope
../tools.cpp:65: error: ISO C++ forbids declaration of `type name' with no type
../tools.cpp:65: error: ISO C++ forbids declaration of `type name' with no type
../tools.cpp:65: error: expected primary-expression before "const"
../tools.cpp:65: error: expected `)' before "const"

../tools.cpp:68: error: `CryptoPP' has not been declared
../tools.cpp:68: error: `HexEncoder' was not declared in this scope
../tools.cpp:68: error: expected `;' before "encoder"
../tools.cpp:73: error: `encoder' was not declared in this scope
../tools.cpp:73: error: `CryptoPP' has not been declared
../tools.cpp:73: error: `StringSink' has not been declared

../tools.cpp: In function `uint32_t adlerChecksum(uint8_t*, size_t)':
../tools.cpp:1550: error: `CryptoPP' has not been declared

../tools.cpp:1550: error: `Adler32' was not declared in this scope
../tools.cpp:1550: error: expected `;' before "adler"
../tools.cpp:1552: error: `byte' was not declared in this scope
../tools.cpp:1552: error: expected `;' before "digest"
../tools.cpp:1555: error: `adler' was not declared in this scope
../tools.cpp:1555: error: `digest' was not declared in this scope
../tools.cpp:1555: error: ISO C++ forbids declaration of `type name' with no type
../tools.cpp:1555: error: ISO C++ forbids declaration of `type name' with no type
../tools.cpp:1555: error: expected primary-expression before "const"
../tools.cpp:1555: error: expected `)' before "const"

make.exe: *** [obj//tools.o] Error 1

Execution terminated
 
Last edited:
Change to Linux. Much easier to compile. If you want to go further with Windows, take care that you take the Compiler of Stian which he released and use the correct libs. Actually I even forgot all the libs but you can find it in the tutorial section or ask your friend in your donator section.
 

Similar threads

Back
Top