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

Linux Compiling TFS under Debian

Technic

Dżustin Bajadera
Joined
Aug 8, 2008
Messages
1,180
Reaction score
27
Location
United States
Hello,
When i'm trying to compile TFS 0.3b2 on my debian, that errors showing.

Code:
In file included from database.h:312,
                 from database.cpp:23:
databasesqlite.h:78: error: ISO C++ forbids declaration of 'map' with no type
databasesqlite.h:78: error: typedef name may not be a nested-name-specifier
databasesqlite.h:78: error: expected ';' before '<' token
databasesqlite.h:79: error: 'listNames_t' does not name a type

I'll try mysql but i think it stuck.
 
Last edited:
You edited those files?
One of your lines needs to end with ";" :p
Doesn't "ListNames_t" must be "listNames_type"? (this is how i have it in my source, i haven't changed (yet) that).

Besides, did you declared a variable named "map"?
 
Back
Top