Having trouble compiling latest eAthena Client SVN
Posted: 14 Jun 2007, 07:46
Thank you for your time!
I'm having some problems compiling the eAthena Client.
Here's what I did:
* downloaded the latest source (https://svn.sourceforge.net/svnroot/the ... /tmw/trunk) using TortoiseSVN. (HEAD revision)
* downloaded Dev C++ and installed it
* downloaded and installed the DevPak from http://themanaworld.org/files/tmw-svn.DevPak
* downloaded and installed Code::Blocks
* added the Dev C++ include directory (C:\Dev-Cpp\include) and the SDL directory (C:\Dev-Cpp\include\SDL) to the Compiler directories in Code::Blocks
* hit the compile button and it gave me some errors. (See log below)
I also have tried compiling it in Dev C++ but some errors occurred that were associated with time.h (Log uploaded http://pastebin.ca/565957)
I have been trying for a while, browsing the forum, but I can't find any solution. I apologize if there was a topic with the solution already existing. (If there is, I would like a link!) Also please note that I have limited C++ skills but I will try my best to understand.
Project : The Mana World
Compiler : GNU GCC Compiler (called directly)
Directory : C:\Documents and Settings\Lindsay.RIGHT\Desktop\The Mana World CVS\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: src\channel.cpp
Compiling: src\channelmanager.cpp
Compiling: src\gui\quitdialog.cpp
Compiling: src\gui\unregisterdialog.cpp
Compiling: src\gui\viewport.cpp
Compiling: src\main.cpp
In file included from C:/Dev-Cpp/include/guichan/keyinput.hpp:60,
from C:/Dev-Cpp/include/guichan/sdl/sdlinput.hpp:65,
from src\main.cpp:38:
C:/Dev-Cpp/include/guichan/key.hpp:128: error: expected identifier before numeric constant
C:/Dev-Cpp/include/guichan/key.hpp:128: error: expected `}' before numeric constant
C:/Dev-Cpp/include/guichan/key.hpp:128: error: expected unqualified-id before numeric constant
C:/Dev-Cpp/include/guichan/key.hpp:160: error: expected unqualified-id before "protected"
C:/Dev-Cpp/include/guichan/key.hpp:160: error: expected `,' or `;' before "protected"
C:/Dev-Cpp/include/guichan/key.hpp:163: error: expected declaration before '}' token
In file included from C:/Dev-Cpp/include/guichan/keyinput.hpp:60,
from C:/Dev-Cpp/include/guichan/sdl/sdlinput.hpp:65,
from src\main.cpp:38:
C:/Dev-Cpp/include/guichan/key.hpp:57:1: unterminated #ifndef
In file included from C:/Dev-Cpp/include/guichan/sdl/sdlinput.hpp:65,
from src\main.cpp:38:
C:/Dev-Cpp/include/guichan/keyinput.hpp:57:1: unterminated #ifndef
In file included from src\main.cpp:38:
C:/Dev-Cpp/include/guichan/sdl/sdlinput.hpp:57:1: unterminated #ifndef
Process terminated with status 1 (0 minutes, 12 seconds)
9 errors, 0 warnings
Thank you again for reading!
I'm having some problems compiling the eAthena Client.
Here's what I did:
* downloaded the latest source (https://svn.sourceforge.net/svnroot/the ... /tmw/trunk) using TortoiseSVN. (HEAD revision)
* downloaded Dev C++ and installed it
* downloaded and installed the DevPak from http://themanaworld.org/files/tmw-svn.DevPak
* downloaded and installed Code::Blocks
* added the Dev C++ include directory (C:\Dev-Cpp\include) and the SDL directory (C:\Dev-Cpp\include\SDL) to the Compiler directories in Code::Blocks
* hit the compile button and it gave me some errors. (See log below)
I also have tried compiling it in Dev C++ but some errors occurred that were associated with time.h (Log uploaded http://pastebin.ca/565957)
I have been trying for a while, browsing the forum, but I can't find any solution. I apologize if there was a topic with the solution already existing. (If there is, I would like a link!) Also please note that I have limited C++ skills but I will try my best to understand.
Project : The Mana World
Compiler : GNU GCC Compiler (called directly)
Directory : C:\Documents and Settings\Lindsay.RIGHT\Desktop\The Mana World CVS\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: src\channel.cpp
Compiling: src\channelmanager.cpp
Compiling: src\gui\quitdialog.cpp
Compiling: src\gui\unregisterdialog.cpp
Compiling: src\gui\viewport.cpp
Compiling: src\main.cpp
In file included from C:/Dev-Cpp/include/guichan/keyinput.hpp:60,
from C:/Dev-Cpp/include/guichan/sdl/sdlinput.hpp:65,
from src\main.cpp:38:
C:/Dev-Cpp/include/guichan/key.hpp:128: error: expected identifier before numeric constant
C:/Dev-Cpp/include/guichan/key.hpp:128: error: expected `}' before numeric constant
C:/Dev-Cpp/include/guichan/key.hpp:128: error: expected unqualified-id before numeric constant
C:/Dev-Cpp/include/guichan/key.hpp:160: error: expected unqualified-id before "protected"
C:/Dev-Cpp/include/guichan/key.hpp:160: error: expected `,' or `;' before "protected"
C:/Dev-Cpp/include/guichan/key.hpp:163: error: expected declaration before '}' token
In file included from C:/Dev-Cpp/include/guichan/keyinput.hpp:60,
from C:/Dev-Cpp/include/guichan/sdl/sdlinput.hpp:65,
from src\main.cpp:38:
C:/Dev-Cpp/include/guichan/key.hpp:57:1: unterminated #ifndef
In file included from C:/Dev-Cpp/include/guichan/sdl/sdlinput.hpp:65,
from src\main.cpp:38:
C:/Dev-Cpp/include/guichan/keyinput.hpp:57:1: unterminated #ifndef
In file included from src\main.cpp:38:
C:/Dev-Cpp/include/guichan/sdl/sdlinput.hpp:57:1: unterminated #ifndef
Process terminated with status 1 (0 minutes, 12 seconds)
9 errors, 0 warnings
Thank you again for reading!