• 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!

7.6 to 8.0 server help!

Apollo

Herban Legend
Joined
Jul 11, 2007
Messages
519
Reaction score
1
Location
Canada
This is my compile log, I need help fixing the errors.

Code:
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\hi\Desktop\sources\otserv\Makefile.win"
Executing  make...
make.exe -f "C:\Documents and Settings\hi\Desktop\sources\otserv\Makefile.win" all
g++.exe -c sources/otserv/actions.cpp -o sources/otserv/actions.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"  -I"C:/Dev-Cpp/others/boost_1_33_1"  -I"C:/Dev-Cpp/others/lua-5.1/include"  -D__USE_XML__  

sources/otserv/actions.cpp: In constructor `ActionScript::ActionScript(Game*, const std::string&, const std::string&)':
sources/otserv/actions.cpp:478: error: `luaopen_loadlib' undeclared (first use this function)
sources/otserv/actions.cpp:478: error: (Each undeclared identifier is reported only once for each function it appears in.)

sources/otserv/actions.cpp:483: error: `lua_dofile' undeclared (first use this function)

make.exe: *** [sources/otserv/actions.o] Error 1

Execution terminated


Parameters:

Code:
[B]C++ Compiler[/B]
[I]None[/I]

Code:
[B]Linkers[/B]

C:/Dev-Cpp/lib/libxml2.lib
C:/Dev-Cpp/lib/lua5.1.dll
-lmysql
-lwsock32
-lgmp
-lsqlite3
-lregex
-s
[CODE]

Directories:

[CODE][B]Library Directories[/B]

C:\Dev-Cpp\lua-5.0.2\lib
C:\Dev-Cpp\others\boost_1_33_1\libregex
C:\Dev-Cpp\others\lua-5.1\lib

[/CODE]Include Directories

C:\Dev-Cpp\lua-5.0.2\include
C:\Dev-Cpp\boost_1_33_1
C:\Dev-Cpp\others\boost_1_33_1
C:\Dev-Cpp\others\lua-5.1\include[/CODE]

THanks for reading

Xine
 
Hey xine, Whats up :p,

Check the following.

1. Before you converted it check if could compile it before
2. Double check what you posted
3. I cant really help you without you telling me what you changed first off
 
Back
Top