Which Linkers\C++ compilers I must using while compiling trunk, also I saw where Elf said :
My devcpp didn't have these librarys(I downloaded right), can Elf update Devcpp? It will be usefull for all players, isn't?
Don't ignore me plx becouse it is not a simply request, I think all need this ;] becouse I got some errors(not in compiling, but in connection\game i think) while compile trunk with tutorial which was maked for tags xD
Code:
CFLAGS = -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -O2
LIBLINK = -L/usr/lib -lxml2 -lpthread -llua5.1 -lboost_thread -lgmp -lmysqlclient -lboost_regex -lsqlite3 -llua5.1-sql-mysql -llua5.1-sql-sqlite -ldl -lboost_system
FLAGS = -D__USE_MYSQL__ -D__USE_SQLITE__ -D__NO_HOMEDIR_CONF__ -D__LOGIN_SERVER__
OBJ = account.o actions.o admin.o allocator.o baseevents.o beds.o creature.o creatureevent.o chat.o combat.o commands.o condition.o configmanager.o connection.o container.o cylinder.o database.o databasemysql.o databasesqlite.o depot.o exception.o fileloader.o game.o gameservers.o gui.o house.o housetile.o ioban.o ioguild.o iologindata.o iomap.o iomapserialize.o inputbox.o item.o items.o logger.o luascript.o mailbox.o map.o md5.o monster.o monsters.o movement.o networkmessage.o npc.o otserv.o outfit.o outputmessage.o party.o player.o playerbox.o position.o protocol.o protocolgame.o protocollogin.o quests.o raids.o rsa.o scheduler.o scriptmanager.o server.o sha1.o spawn.o spells.o status.o talkaction.o tasks.o teleport.o textlogger.o thing.o tile.o tools.o trashholder.o vocation.o waitlist.o weapons.o
all: forgottenserver
new: clean forgottenserver
clean:
rm -rf *.o
forgottenserver: $(OBJ)
g++ $(CFLAGS) $(FLAGS) -o ./ForgottenServer $(OBJ) $(LIBLINK)
%.o:%.cpp
g++ $(CFLAGS) $(FLAGS) -c $+
My devcpp didn't have these librarys(I downloaded right), can Elf update Devcpp? It will be usefull for all players, isn't?
Don't ignore me plx becouse it is not a simply request, I think all need this ;] becouse I got some errors(not in compiling, but in connection\game i think) while compile trunk with tutorial which was maked for tags xD