Kompilator: Default compiler
Building Makefile: "D:\silnik\Makefile.win"
Wykonywanie make...
make.exe -f "D:\silnik\Makefile.win" all
g++.exe -c actions.cpp -o actions.o -I"lib/gcc/mingw32/3.4.2/include" -I"include/c++/3.4.2/backward" -I"include/c++/3.4.2/mingw32" -I"include/c++/3.4.2" -I"include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__SERVER_PROTECTION__
In file included from creatureevent.h:24,
from creature.h:33,
from player.h:25,
from actions.cpp:24:
luascript.h:564: error: `luaL_Reg' does not name a type
make.exe: *** [actions.o] Error 1
Wykonanie zakończone
Extract them anywhere and then run devcpp.exe, press on the menuitem
"File -> Open Project or File" and choose TheForgottenServer.dev.
-lgmp
-lluasql-mysql
-lluasql-sqlite3
-llua5.1
-lmysql
-lregex
-lsqlite3
-lwsock32
-lxml2
-lmysql
-s
-lboost-regex-mgw-1_34_1
-lboost-system-mgw-1_34_1
-lws2_32
-Wl,-Map=forgottenserver.map
-D__USE_MYSQL__
-D__EXCEPTION_TRACER__
O1
-lboost_system
-lgmp
-lluasql-mysql
-lluasql-sqlite3
-llua5.1
-lmysql
-lregex
-lsqlite3
-lwsock32
-lxml2
-lmysql
-lws2_32
-s
-D__NO_HOMEDIR_CONF__
-D__USE_MYSQL__
-D__USE_SQLITE__
-D__RULEVIOLATIONREPORT__
Code:O1 -lboost_system -lgmp -lluasql-mysql -lluasql-sqlite3 -llua5.1 -lmysql -lregex -lsqlite3 -lwsock32 -lxml2 -lmysql -lws2_32 -s
Try this.Code:-D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -D__RULEVIOLATIONREPORT__
[Build Error] [TheForgottenServer.exe] Error 1
[When using Elf's conf]
Change O1 to -O1 in linkers.
actions.o(.text+0x1662):actions.cpp: undefined reference to `BedItem::canUse(Player*) const'
actions.o(.text+0x168b):actions.cpp: undefined reference to `BedItem::sleep(Player*)'
house.o(.text+0xea1):house.cpp: undefined reference to `BedItem::wakeUp(Player*)'
iomap.o(.text+0x1b27):iomap.cpp: undefined reference to `BedItem::findPartner()'
item.o(.text+0x523):item.cpp: undefined reference to `BedItem::BedItem(unsigned short)'
player.o(.text+0x7033):player.cpp: undefined reference to `Beds::instance()'
player.o(.text+0x703f):player.cpp: undefined reference to `Beds::getBedBySleeper(unsigned int)'
player.o(.text+0x705a):player.cpp: undefined reference to `BedItem::wakeUp(Player*)'
tools.o(.text+0x158):tools.cpp: undefined reference to `SHA1::SHA1()'
tools.o(.text+0x1ca):tools.cpp: undefined reference to `SHA1::Input(unsigned char const*, unsigned int)'
tools.o(.text+0x1e2):tools.cpp: undefined reference to `SHA1::Result(unsigned int*)'
tools.o(.text+0x2f8):tools.cpp: undefined reference to `SHA1::~SHA1()'
tools.o(.text+0x36b):tools.cpp: undefined reference to `SHA1::~SHA1()'
collect2: ld returned 1 exit status
Add beds.cpp/h and sha1.cpp/h to the project and try to rebuild.