• 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 while compiling TFS 0.3.6 pl1

Rayeko

Programmer
Joined
Apr 9, 2008
Messages
185
Reaction score
3
Hi dudes x)

Just wondering if someone out there know how to solve a problem regarding the compilation of TFS 0.3.6 pl1. I'm using the tuto of Delirium (which is updated) but.. I get this error while trying to compile:

Code:
Compiler: Default compiler
Building Makefile: "C:\Users\***\Documents\Soundly\SVN\v1.0\project\Makefile.win"
Executing  make...
make.exe -f "C:\Users\***\Documents\Soundly\SVN\v1.0\project\Makefile.win" all
g++.exe -c ../gameservers.cpp -o ../gameservers.o -I"C:/The Forgotten Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__  

g++.exe -c ../protocolhttp.cpp -o ../protocolhttp.o -I"C:/The Forgotten Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__  

In file included from ../protocolhttp.cpp:18:
../protocolhttp.h: In constructor `ProtocolHTTP::ProtocolHTTP(Connection*)':
../protocolhttp.h:40: error: no matching function for call to `Protocol::Protocol(Connection*&)'

../protocol.h:33: note: candidates are: Protocol::Protocol(const Protocol&)
../protocol.h:36: note:                 Protocol::Protocol(Connection_ptr)

make.exe: *** [../protocolhttp.o] Error 1

Execution terminated

The whole source code is intact. I just downloaded it and tried to compile without modifying anything.

Hope someone could help me.
Thanks in advance :)
 
Don't follow that tutorial, use "the forgotten dev-cpp" fresh..don't modify the compiler and parameters. Try that and tell me if it works
 
Don't follow that tutorial, use "the forgotten dev-cpp" fresh..don't modify the compiler and parameters. Try that and tell me if it works

I don't understand.. I mean, yea I open the dev cpp and then? In the files there's no project to open and then compile.. Or I'm wrong? I take the tutorial to know the linkers and that, because as far as I know they're needed in order to be compiled, isn't it?
 
Well, as an example from
[forgottenserver] Index of /tags/0.3.6pl1
You download the sources with GNU tarball..then you extract it anywhere. So, we have our folder called "0.3.6pl1" inside it you will find many folders..open "dev-cpp" folder and inside there open "TheForgottenServer.dev" and click open with another aplication and look for your Dev-cpp .exe and once it finished loading the files..just click on compile and it should work
 
Last edited:
Back
Top