• 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 Trying to compile otserv trunk

Status
Not open for further replies.

frankfarmer

who'r ninja now
Premium User
Joined
Aug 5, 2008
Messages
1,581
Reaction score
79
Let's start of by showing you my error.

Code:
Compiler: Default compiler
Building Makefile: "C:\DevCpp\otserv\Makefile.win"
Executing  make...
make.exe -f "C:\DevCpp\otserv\Makefile.win" all
g++.exe -c otserv-0.3.0/map.cpp -o otserv-0.3.0/map.o -I"include"  -D__USE_MYSQL__ -D__USE_SQLITE__   -fexpensive-optimizations -O1

[B]In file included from otserv-0.3.0/map.h:36,
                 from otserv-0.3.0/map.cpp:36:
otserv-0.3.0/scheduler.h: In member function `int TCallList<Functor, Arg>::operator()(Map* const&)':
otserv-0.3.0/scheduler.h:96: error: invalid use of undefined type `struct Map'
otserv-0.3.0/creature.h:54: error: forward declaration of `struct Map'[/B]

make.exe: *** [otserv-0.3.0/map.o] Error 1

Execution terminated

Here are my parameters

Code:
-D__USE_MYSQL__
-D__USE_SQLITE__

And here is my Linkers

Code:
-O1
-lboost_regex
-lboost_system
-lboost_thread
-lgmp
-lluasql_mysql
-lluasql_sqlite
-llua5.1
-lmysql
-lsqlite3
-lwsock32
-lxml2
-lmysql
-lws2_32
-s


Now, how come I get this error? I appreciate your time and effort putting into this by helping me in anyway.
 
Status
Not open for further replies.
Back
Top