• 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 Dev c++

owned

Excellent OT User
Joined
Nov 9, 2008
Messages
2,001
Solutions
3
Reaction score
558
Location
New York
I just recently installed the lastest version of devc++ and the source codes and everytime i try to compile(without editing a thing) it always comes up with errors such as :

Compiler: Default compiler
Building Makefile: "C:\Users\Buddy\Desktop\0.3.6pl1\dev-cpp\Makefile.win"
Executing make...
mingw32-make -f "C:\Users\Buddy\Desktop\0.3.6pl1\dev-cpp\Makefile.win" all
g++.exe -c ../actions.cpp -o obj//actions.o -I"C:/Users/Buddy/Desktop/Stian's Repack Dev-Cpp 0.2, 64bit/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -fexpensive-optimizations -O1

../actions.cpp:19: error: expected initializer before '*' token

../actions.cpp:20: error: expected initializer before '*' token

../actions.cpp:21: error: 'ConfigManager' does not name a type

../actions.cpp:23: error: 'Actions' has not been declared

../actions.cpp:23: error: ISO C++ forbids declaration of 'Actions' with no type

../actions.cpp: In function 'int Actions()':
../actions.cpp:24: error: only constructors take base initializers

../actions.cpp:26: error: 'm_interface' was not declared in this scope

../actions.cpp: At global scope:
../actions.cpp:29: error: expected constructor, destructor, or type conversion before '::' token

../actions.cpp:34: error: 'Actions' is not a class or namespace

../actions.cpp:34: error: variable or field 'clearMap' declared void

../actions.cpp:34: error: 'ActionUseMap' was not declared in this scope

../actions.cpp:34: error: 'map' was not declared in this scope

../actions.cpp:42: error: 'Actions' is not a class or namespace

../actions.cpp: In function 'void clear()':
../actions.cpp:44: error: 'useItemMap' was not declared in this scope

../actions.cpp:44: error: 'clearMap' was not declared in this scope

../actions.cpp:45: error: 'uniqueItemMap' was not declared in this scope

../actions.cpp:46: error: 'actionItemMap' was not declared in this scope

../actions.cpp:48: error: 'm_interface' was not declared in this scope

../actions.cpp: At global scope:
../actions.cpp:51: error: expected constructor, destructor, or type conversion before '*' token

../actions.cpp:59: error: 'Actions' is not a class or namespace

../actions.cpp:59: error: 'Event' was not declared in this scope

../actions.cpp:59: error: 'event' was not declared in this scope

../actions.cpp:59: error: 'xmlNodePtr' was not declared in this scope

../actions.cpp:59: error: expected primary-expression before 'bool'

../actions.cpp:59: error: initializer expression list treated as compound expression

../actions.cpp:60: error: expected ',' or ';' before '{' token

mingw32-make: *** [obj//actions.o] Error 1

Execution terminated

Would be nice if someone could help with this :eek:
 
-- c++ compiler --
-D__USE_MYSQL__
-D__USE_SQLITE__
-D__ENABLE_SERVER_DIAGNOSTIC__

--linker--
-O1
-lboost_system
-lgmp
-llua5.1
-lmysql
-lboost_regex
-lsqlite3
-lwsock32
-lxml2
-lmysql
-lws2_32
-s
-lboost_filesystem
_imp__xmlFree
 
how did you compiled with code::blocks? I prefer it much more then dev-cpp, but I cant compile on it (just started using code::blocks about 4 days ago :p), moved the libs and everything to where it shall be, but I guess I'm having linker problems..

please help meeeh!

Edit: And sorry for bumping such an old thread, but this was like the only thread I could find with codeblocks on it... that was not from like 2008 :p
 
Back
Top