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

TFS 1.X+ TFS 1.3 8.6 compiling errors

DaBlauwk

Psychedelic
Joined
Jun 9, 2014
Messages
41
Reaction score
4
Location
The Moon
Hi
I've been dealing with different errors for 2 days trying to compile this
but since last night I've had this same problem
Code:
1>rsa.cpp
1>c:\tfs1.3.8.6\src\rsa.h(40): error C2653: 'CryptoPP': is not a class or namespace name (compiling source file ..\src\rsa.cpp)
1>c:\tfs1.3.8.6\src\rsa.h(40): error C3646: 'pk': unknown override specifier (compiling source file ..\src\rsa.cpp)
1>c:\tfs1.3.8.6\src\rsa.h(40): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\rsa.cpp)
1>c:\tfs1.3.8.6\src\rsa.h(40): error C2653: 'CryptoPP': is not a class or namespace name (compiling source file ..\src\protocol.cpp)
1>c:\tfs1.3.8.6\src\rsa.h(40): error C3646: 'pk': unknown override specifier (compiling source file ..\src\protocol.cpp)
1>c:\tfs1.3.8.6\src\rsa.h(40): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\protocol.cpp)
1>c:\tfs1.3.8.6\src\rsa.cpp(35): error C2065: 'pk': undeclared identifier
1>c:\tfs1.3.8.6\src\rsa.cpp(36): error C3536: 'c': cannot be used before it is initialized
1>c:\tfs1.3.8.6\src\rsa.cpp(71): error C2065: 'pk': undeclared identifier
1>c:\tfs1.3.8.6\src\rsa.cpp(73): error C2065: 'pk': undeclared identifier
1>c:\tfs1.3.8.6\src\rsa.h(40): error C2653: 'CryptoPP': is not a class or namespace name (compiling source file ..\src\otserv.cpp)
1>c:\tfs1.3.8.6\src\rsa.h(40): error C3646: 'pk': unknown override specifier (compiling source file ..\src\otserv.cpp)
1>c:\tfs1.3.8.6\src\rsa.h(40): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\otserv.cpp)
1>Done building project "theforgottenserver.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Visual Studio 2017
Boost 1.66.0
TFS-SDK 3.2
Windows 8.1 x64 because I'm on my laptop

Done all that otland/forgottenserver (https://github.com/otland/forgottenserver/wiki/Compiling-on-Windows-%28vcpkg%29#4-install-libraries)
 
Solution
Hi
I've been dealing with different errors for 2 days trying to compile this
but since last night I've had this same problem
Code:
1>rsa.cpp
1>c:\tfs1.3.8.6\src\rsa.h(40): error C2653: 'CryptoPP': is not a class or namespace name (compiling source file ..\src\rsa.cpp)
1>c:\tfs1.3.8.6\src\rsa.h(40): error C3646: 'pk': unknown override specifier (compiling source file ..\src\rsa.cpp)
1>c:\tfs1.3.8.6\src\rsa.h(40): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\rsa.cpp)
1>c:\tfs1.3.8.6\src\rsa.h(40): error C2653: 'CryptoPP': is not a class or namespace name (compiling source file...
I thought I followed very closely but got this.
Tested on win server 2019 standard
Fully updated, 2017 VS and followed tutorial and used 2nd set of instructions posted for 64bit compile. No errors in powershell admin while doing commands, just an error in VS when trying to rebuild.
 

Attachments

Back
Top