Compiling: ..\..\src\network\nNetwork.cpp
..\..\src\network\nNetwork.cpp:67: error: `VERSION' was not declared in this scope
..\..\src\network\nNetwork.cpp: In function `void login_accept_handler(nMessage&)':
..\..\src\network\nNetwork.cpp:1368: error: `VERSION' undeclared (first use this function)
..\..\src\network\nNetwork.cpp:1368: error: (Each undeclared identifier is reported only once for each function it appears in.)
Process terminated with status 1 (0 minutes, 27 seconds)
I am using Windows and Code::Blocks. I followed the steps in "armagetronad\win32\windows_libraries.txt".
*** checking python
Python 2.4.1
- Detected python
Eingegebenes Datum kann nicht übernommen werden.
Geben Sie das neue Datum ein: (TT-MM-JJ) 25-06-06
*** reading SVN repository and revision
- SVN: https://svn.sourceforge.net/svnroot/armagetronad/armagetronad/trunk/arma
getronad
- SVN: 5035"/
*** generating version.h...
#define MINOR_VERSION _alpha5035"/ >> ..\build\tmp\help-30720.txt
#define VERSION "0.3_alpha5035"/" >> ..\build\tmp\help-30720.txt
- Detected:
Der Befehl "Armagetron" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Do you want to update 'version.h' ? (requires full rebuild afterwards)
..\src\version.h überschreiben? (Ja/Nein/Alle): j
1 Datei(en) kopiert.
done!
Do you want to update 'version.h' ? (requires full rebuild afterwards)
..\src\version.h überschreiben? (Ja/Nein/Alle): y
..\src\version.h überschreiben? (Ja/Nein/Alle): Y
..\src\version.h überschreiben? (Ja/Nein/Alle): Yes
..\src\version.h überschreiben? (Ja/Nein/Alle): j
1 Datei(en) kopiert.
In file included from ..\..\src\tools\/tValue.h:40,
from ..\..\src\tools\tValue.cpp:28:
../../../winlibs/boost/includes/boost/shared_ptr.hpp:17:65: boost/config.hpp: No such file or directory
../../../winlibs/boost/includes/boost/shared_ptr.hpp:26:41: boost/detail/shared_count.hpp: No such file or directory
In file included from ..\..\src\tools\/tValue.h:40,
from ..\..\src\tools\tValue.cpp:28:
../../../winlibs/boost/includes/boost/shared_ptr.hpp:85: error: variable or field `sp_enable_shared_from_this' declared void
../../../winlibs/boost/includes/boost/shared_ptr.hpp:85: error: template declaration of `int boost::detail::sp_enable_shared_from_this'
../../../winlibs/boost/includes/boost/shared_ptr.hpp:85: error: `shared_count' was not declared in this scope
../../../winlibs/boost/includes/boost/shared_ptr.hpp:85: error: expected primary-expression before "const"
../../../winlibs/boost/includes/boost/shared_ptr.hpp:85: error: expected primary-expression before "const"
../../../winlibs/boost/includes/boost/shared_ptr.hpp:86: error: expected `;' before '{' token
../../../winlibs/boost/includes/boost/shared_ptr.hpp:90: error: variable or field `sp_enable_shared_from_this' declared void
../../../winlibs/boost/includes/boost/shared_ptr.hpp:90: error: `boost::detail::sp_enable_shared_from_this' declared as an `inline' variable
../../../winlibs/boost/includes/boost/shared_ptr.hpp:90: error: `shared_count' was not declared in this scope
../../../winlibs/boost/includes/boost/shared_ptr.hpp:90: error: expected primary-expression before '...' token
../../../winlibs/boost/includes/boost/shared_ptr.hpp:91: error: initializer expression list treated as compound expression
../../../winlibs/boost/includes/boost/shared_ptr.hpp:91: error: expected `,' or `;' before '{' token
../../../winlibs/boost/includes/boost/shared_ptr.hpp:340: error: using-declaration for non-member at class scope
../../../winlibs/boost/includes/boost/shared_ptr.hpp:340: error: expected `;' before "pn"
../../../winlibs/boost/includes/boost/shared_ptr.hpp: In constructor `boost::shared_ptr<T>::shared_ptr()':
../../../winlibs/boost/includes/boost/shared_ptr.hpp:119: error: class `boost::shared_ptr<T>' does not have any field named `pn'
../../../winlibs/boost/includes/boost/shared_ptr.hpp: In constructor `boost::shared_ptr<T>::shared_ptr(Y*)':
../../../winlibs/boost/includes/boost/shared_ptr.hpp:124: error: class `boost::shared_ptr<T>' does not have any field named `pn'
../../../winlibs/boost/includes/boost/shared_ptr.hpp:126: error: `pn' undeclared (first use this function)
../../../winlibs/boost/includes/boost/shared_ptr.hpp:126: error: (Each undeclared identifier is reported only once for each function it appears in.)
Why is this dependency not reflected in the code::blocks workspace? Why is there no readme telling that the library is required and where it is expected to reside in the source tree?
It seems like it might be easier to use the branch instead as there shouldn't be any unresolved dependencies.
*** generating version.h...
#define MINOR_VERSION _alpha5415"/ >> ..\build\tmp\help-16140.txt
#define VERSION "0.3.0_alpha5415"/" >> ..\build\tmp\help-16140.txt
- Detected:
Der Befehl "Armagetron" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
All I know is that a complete checkout of armagetronad/branches/0.3.0 and armagetronad/trunk did work the last time I checked, although for 0.3.0, I had to kick Joda a bit to make it work Yes, the code::blocks bits in winlibs should by now be merged back into the trunk, but I haven't checked whether they actually work there.