• 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 Problem with compiling sources of some 7.6 ots

ronida

New Member
Joined
Feb 9, 2010
Messages
6
Reaction score
0
Hi all!

I have a source for some engine. It's not like that i didn't do this before, i was doing this many times before. When I try to recompile all sources i get plenty of errors and when i try for example remove some part of the code to see if thats the only part whats wrong, i get another many error. My throught for this time is that I don't have installed proper libraries but I cant figure out by myself which libraries i should install.
I have installed LibXml2, Lua, boost, libiconV and GMP. And my question for help is: maybe someone could look in to this sources and find out where the problem is.

Exaple or error i get:

Code:
Pliki/actions.cpp: In constructor `ActionScript::ActionScript(Game*, const std::string&, const std::string&)':

Pliki/actions.cpp:836: error: `luaopen_loadlib' undeclared (first use this function)
Pliki/actions.cpp:836: error: (Each undeclared identifier is reported only once for each function it appears in.)
Pliki/actions.cpp:841: error: `lua_dofile' undeclared (first use this function)

And I'm posting this sources in attachment.

Thanks for help guys!
 

Attachments

Hi all!

I have a source for some engine. It's not like that i didn't do this before, i was doing this many times before. When I try to recompile all sources i get plenty of errors and when i try for example remove some part of the code to see if thats the only part whats wrong, i get another many error. My throught for this time is that I don't have installed proper libraries but I cant figure out by myself which libraries i should install.
I have installed LibXml2, Lua, boost, libiconV and GMP. And my question for help is: maybe someone could look in to this sources and find out where the problem is.

Exaple or error i get:

Code:
Pliki/actions.cpp: In constructor `ActionScript::ActionScript(Game*, const std::string&, const std::string&)':

Pliki/actions.cpp:836: error: `luaopen_loadlib' undeclared (first use this function)
Pliki/actions.cpp:836: error: (Each undeclared identifier is reported only once for each function it appears in.)
Pliki/actions.cpp:841: error: `lua_dofile' undeclared (first use this function)

And I'm posting this sources in attachment.

Thanks for help guys!

where u get that source, and post somfe info, name, distro etc..
 
I had many problems with avesta, because it had almost any support, and everything was different from other 7.6 distros.

But man, i resolved lua library problem, but now i have problem with MySQL library. I have no idea which one i should install and how properly link it with the project. I think that is last problem. I found note from creator:
Code:
Libboost (alone libboost-thread is enough)
    Lua 5.0.x
    libCurl++
    libxml2.6++
    libcurl
    MySQL
I installed all of them except MySQL, because I don't now which version is good, any ideas?
 
Can someone take a look for me at this distro, and find out how to compile it under a windows? I will more than grateful!
 
Back
Top