new 02831 + code::blocks

Everything todo with programming goes HERE.
User avatar
galaxy invader
On Lightcycle Grid
Posts: 29
Joined: Sun Jun 12, 2011 9:31 pm

new 02831 + code::blocks

Post by galaxy invader »

can someone explain in a fool proof step by step way how I can compile armagetron 02831 source code with support librarys using code::blocks

thanks
Image
User avatar
Z-Man
God & Project Admin
Posts: 11736
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: new 02831 + code::blocks

Post by Z-Man »

best we got: http://wiki.armagetronad.net/index.php? ... evelopment
For 0.2.8.3.1, you should stick to code::blocks 1.02rc2, and instead of using bzr/svn to get the sources, you can stick to the source zip, it already contains the code::blocks project files.
No, it's far from foolproof. But if you need it fully foolproof, you should stay away from compilers and stick to our builds.
User avatar
galaxy invader
On Lightcycle Grid
Posts: 29
Joined: Sun Jun 12, 2011 9:31 pm

Re: new 02831 + code::blocks

Post by galaxy invader »

I wanted to compile the dedicated server and experiment with it to see if I can come up with some new ideas for game styles

Last time I tried I got a whole heap of errors, i'll try again

Thank you z-man
Image
User avatar
galaxy invader
On Lightcycle Grid
Posts: 29
Joined: Sun Jun 12, 2011 9:31 pm

Re: new 02831 + code::blocks

Post by galaxy invader »

I followed the wiki and put everything in the correct folders and things went a lot smoother this time but there is a problem in defs.h with the following function

112 #ifndef HAVE_ISBLANK
113 // this function does not seem to exist in windows and solaris 2.8
114 inline bool isblank(int x){ return ((x == ' ') || (x == '\t')); }
115 #endif


The compiler complains

src\defs.h||In function `bool isblank(int)':|
src\defs.h|114|error: new declaration `bool isblank(int)'|
C:\Program Files\CodeBlocks\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\include\ctype.h|169|error: ambiguates old declaration `int isblank(int)'|
||=== Build finished: 2 errors, 0 warnings ===|


It looks like minggw has the function defined already but returns an int instead of bool, is there an easy way to fix this ?

Sorry i'm a bit rusty with my c++ :)

Thanks
Image
User avatar
Z-Man
God & Project Admin
Posts: 11736
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: new 02831 + code::blocks

Post by Z-Man »

Are you using code::blocks 1.0rc2? Later versions include a mingw compiler that includes those functions. So either downgrade code::blocks or just remove this and other conflicting definitions.
User avatar
Jip
Round Winner
Posts: 397
Joined: Sat Sep 26, 2009 5:32 pm

Re: new 02831 + code::blocks

Post by Jip »

Someone else had this problem before.
User avatar
galaxy invader
On Lightcycle Grid
Posts: 29
Joined: Sun Jun 12, 2011 9:31 pm

Re: new 02831 + code::blocks

Post by galaxy invader »

im using codeblocks 8.02 from 2008, ive just visited their site and noticed that 10.05 was made available in 2010 so I guess im really behind

I tried commenting out line 114 but I got a lot of problems now and im kind of stuck

BUILD LOG

Code: Select all

-------------- Build: Dedicated - Win32 Release in Dedicated ---------------

Compiling: src\engine\eAdvWall.cpp
Compiling: src\engine\eAxis.cpp
Compiling: src\engine\eCamera.cpp
Compiling: src\engine\eChat.cpp
Compiling: src\engine\eDebugLine.cpp
Compiling: src\engine\eDisplay.cpp
Compiling: src\engine\eFloor.cpp
Compiling: src\engine\eGameObject.cpp
Compiling: src\engine\eGrid.cpp
Compiling: src\engine\eLagCompensation.cpp
Compiling: src\engine\eNetGameObject.cpp
Compiling: src\engine\ePath.cpp
Compiling: src\engine\ePlayer.cpp
C:/Program Files/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_tree.h: In member function `typename std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_copy(const std::_Rb_tree_node<_Val>*, std::_Rb_tree_node<_Val>*) [with _Key = tString, _Val = std::pair<const tString, tAccessLevel>, _KeyOfValue = std::_Select1st<std::pair<const tString, tAccessLevel> >, _Compare = std::less<tString>, _Alloc = std::allocator<std::pair<const tString, tAccessLevel> >]':
C:/Program Files/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_tree.h:1029: warning: '__top' might be used uninitialized in this function
C:/Program Files/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_tree.h:365: warning: '__tmp' might be used uninitialized in this function
C:/Program Files/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_tree.h: In member function `typename std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_copy(const std::_Rb_tree_node<_Val>*, std::_Rb_tree_node<_Val>*) [with _Key = tString, _Val = std::pair<const tString, tString>, _KeyOfValue = std::_Select1st<std::pair<const tString, tString> >, _Compare = std::less<tString>, _Alloc = std::allocator<std::pair<const tString, tString> >]':
C:/Program Files/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_tree.h:1029: warning: '__top' might be used uninitialized in this function
C:/Program Files/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_tree.h:365: warning: '__tmp' might be used uninitialized in this function
Compiling: src\engine\eRectangle.cpp
Compiling: src\engine\eSensor.cpp
Compiling: src\engine\eSound.cpp
Compiling: src\engine\eTeam.cpp
Compiling: src\engine\eTimer.cpp
Compiling: src\engine\eVoter.cpp
Compiling: src\engine\eWall.cpp
Compiling: src\network\nAuthentication.cpp
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:46:28: zthread/Thread.h: No such file or directory
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:47:33: zthread/LockedQueue.h: No such file or directory
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:49:31: zthread/FastMutex.h: No such file or directory
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:50:40: zthread/FastRecursiveMutex.h: No such file or directory
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:51:27: zthread/Guard.h: No such file or directory
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:53:38: zthread/ThreadedExecutor.h: No such file or directory
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:54: error: `ZThread' has not been declared
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:54: error: expected initializer before "nExecutor"
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:56: error: `ZThread' has not been declared
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:56: error: expected initializer before "nMutex"
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:237: error: `ZThread' has not been declared
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:239: error: expected class-name before '{' token
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:336: error: `ZThread' has not been declared
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:336: error: ISO C++ forbids declaration of `LockedQueue' with no type
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:336: error: expected `;' before '<' token
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:343: error: expected `;' before "static"
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp: In static member function `static void nMemberFunctionRunnerTemplate<T>::ScheduleBackground(T&, void (T::*)())':
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:278: error: `nExecutor' does not name a type
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:279: error: `executor' was not declared in this scope
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:279: error: `ZThread' has not been declared
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp: In static member function `static void nMemberFunctionRunnerTemplate<T>::ScheduleForeground(T&, void (T::*)())':
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:298: error: there are no arguments to `Pending' that depend on a template parameter, so a declaration of `Pending' must be available
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:298: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp: In static member function `static void nMemberFunctionRunnerTemplate<T>::FinishAll()':
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:346: error: there are no arguments to `Pending' that depend on a template parameter, so a declaration of `Pending' must be available
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:348: error: there are no arguments to `Pending' that depend on a template parameter, so a declaration of `Pending' must be available
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp: At global scope:
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:408: error: `nMutex' was not declared in this scope
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:409: error: template argument 2 is invalid
src/tools/tSafePTR.h: In member function `void tJUST_CONTROLLED_PTR<T>::Release() [with T = nLoginProcess]':
src/tools/tSafePTR.h:374:   instantiated from `tJUST_CONTROLLED_PTR<T>::~tJUST_CONTROLLED_PTR() [with T = nLoginProcess]'
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:416:   instantiated from here
src/tools/tSafePTR.h:299: error: 'class nLoginProcess' has no member named 'Release'
src/tools/tSafePTR.h: In member function `void tJUST_CONTROLLED_PTR<T>::AddRef() [with T = nLoginProcess]':
src/tools/tSafePTR.h:315:   instantiated from `tJUST_CONTROLLED_PTR<T>& tJUST_CONTROLLED_PTR<T>::operator=(T*) [with T = nLoginProcess]'
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:418:   instantiated from here
src/tools/tSafePTR.h:292: error: 'class nLoginProcess' has no member named 'AddRef'
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp: In static member function `static void nMemberFunctionRunnerTemplate<T>::ScheduleForeground(T&, void (T::*)()) [with T = nLoginProcess]':
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:382:   instantiated from `static void nMemberFunctionRunner::ScheduleForeground(T&, void (T::*)()) [with T = nLoginProcess]'
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:579:   instantiated from here
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:298: error: `Pending' was not declared in this scope
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp: In static member function `static void nMemberFunctionRunnerTemplate<T>::FinishAll() [with T = nLoginProcess]':
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:299:   instantiated from `static void nMemberFunctionRunnerTemplate<T>::ScheduleForeground(T&, void (T::*)()) [with T = nLoginProcess]'
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:382:   instantiated from `static void nMemberFunctionRunner::ScheduleForeground(T&, void (T::*)()) [with T = nLoginProcess]'
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:579:   instantiated from here
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp:346: error: `Pending' was not declared in this scope
Process terminated with status 1 (0 minutes, 47 seconds)
29 errors, 4 warnings


BUILD MESSAGES

Code: Select all

C:\Program Files\CodeBlocks\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\include\c++\3.4.5\bits\stl_tree.h||In member function `typename std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_copy(const std::_Rb_tree_node<_Val>*, std::_Rb_tree_node<_Val>*) [with _Key = tString, _Val = std::pair<const tString, tAccessLevel>, _KeyOfValue = std::_Select1st<std::pair<const tString, tAccessLevel> >, _Compare = std::less<tString>, _Alloc = std::allocator<std::pair<const tString, tAccessLevel> >]':|
C:\Program Files\CodeBlocks\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\include\c++\3.4.5\bits\stl_tree.h|1029|warning: '__top' might be used uninitialized in this function|
C:\Program Files\CodeBlocks\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\include\c++\3.4.5\bits\stl_tree.h|365|warning: '__tmp' might be used uninitialized in this function|
C:\Program Files\CodeBlocks\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\include\c++\3.4.5\bits\stl_tree.h||In member function `typename std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_copy(const std::_Rb_tree_node<_Val>*, std::_Rb_tree_node<_Val>*) [with _Key = tString, _Val = std::pair<const tString, tString>, _KeyOfValue = std::_Select1st<std::pair<const tString, tString> >, _Compare = std::less<tString>, _Alloc = std::allocator<std::pair<const tString, tString> >]':|
C:\Program Files\CodeBlocks\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\include\c++\3.4.5\bits\stl_tree.h|1029|warning: '__top' might be used uninitialized in this function|
C:\Program Files\CodeBlocks\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\include\c++\3.4.5\bits\stl_tree.h|365|warning: '__tmp' might be used uninitialized in this function|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|46|zthread/Thread.h: No such file or directory|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|47|zthread/LockedQueue.h: No such file or directory|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|49|zthread/FastMutex.h: No such file or directory|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|50|zthread/FastRecursiveMutex.h: No such file or directory|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|51|zthread/Guard.h: No such file or directory|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|53|zthread/ThreadedExecutor.h: No such file or directory|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|54|error: `ZThread' has not been declared|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|54|error: expected initializer before "nExecutor"|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|56|error: `ZThread' has not been declared|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|56|error: expected initializer before "nMutex"|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|237|error: `ZThread' has not been declared|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|239|error: expected class-name before '{' token|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|336|error: `ZThread' has not been declared|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|336|error: ISO C++ forbids declaration of `LockedQueue' with no type|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|336|error: expected `;' before '<' token|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|343|error: expected `;' before "static"|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|278|error: `nExecutor' does not name a type|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|279|error: `executor' was not declared in this scope|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|279|error: `ZThread' has not been declared|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|298|error: there are no arguments to `Pending' that depend on a template parameter, so a declaration of `Pending' must be available|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|298|error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|346|error: there are no arguments to `Pending' that depend on a template parameter, so a declaration of `Pending' must be available|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|348|error: there are no arguments to `Pending' that depend on a template parameter, so a declaration of `Pending' must be available|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|408|error: `nMutex' was not declared in this scope|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|409|error: template argument 2 is invalid|
src\tools\tSafePTR.h||In member function `void tJUST_CONTROLLED_PTR<T>::Release() [with T = nLoginProcess]':|
src\tools\tSafePTR.h|374|instantiated from `tJUST_CONTROLLED_PTR<T>::~tJUST_CONTROLLED_PTR() [with T = nLoginProcess]'|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|416|instantiated from here|
src\tools\tSafePTR.h|299|error: 'class nLoginProcess' has no member named 'Release'|
src\tools\tSafePTR.h||In member function `void tJUST_CONTROLLED_PTR<T>::AddRef() [with T = nLoginProcess]':|
src\tools\tSafePTR.h|315|instantiated from `tJUST_CONTROLLED_PTR<T>& tJUST_CONTROLLED_PTR<T>::operator=(T*) [with T = nLoginProcess]'|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|418|instantiated from here|
src\tools\tSafePTR.h|292|error: 'class nLoginProcess' has no member named 'AddRef'|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|382|instantiated from `static void nMemberFunctionRunner::ScheduleForeground(T&, void (T::*)()) [with T = nLoginProcess]'|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|579|instantiated from here|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|298|error: `Pending' was not declared in this scope|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|299|instantiated from `static void nMemberFunctionRunnerTemplate<T>::ScheduleForeground(T&, void (T::*)()) [with T = nLoginProcess]'|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|382|instantiated from `static void nMemberFunctionRunner::ScheduleForeground(T&, void (T::*)()) [with T = nLoginProcess]'|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|579|instantiated from here|
E:\projects\armagetron\02831\armagetronad\src\network\nAuthentication.cpp|346|error: `Pending' was not declared in this scope|
||=== Build finished: 29 errors, 4 warnings ===|
Image
User avatar
Z-Man
God & Project Admin
Posts: 11736
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: new 02831 + code::blocks

Post by Z-Man »

You'd need to downgrade, not upgrade to get compatible. 1.0rc2 is really ancient.

Those messages are mostly warnings inside the standard library, to be ignored. The first error message I see is that zthread is missing. Is your winlibs package installed in the right place?
User avatar
galaxy invader
On Lightcycle Grid
Posts: 29
Joined: Sun Jun 12, 2011 9:31 pm

Re: new 02831 + code::blocks

Post by galaxy invader »

I have '02831' as my main project folder containing the 'armagetronad' and 'winlibs' sub folders which I understand is correct according to he wiki guide unless i've misunderstood something

Ive been unable to find 1.0rc codeblocks :(
Image
User avatar
Z-Man
God & Project Admin
Posts: 11736
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: new 02831 + code::blocks

Post by Z-Man »

Maybe you have the wrong winlibs version? Can you find the zthread files in there?
User avatar
galaxy invader
On Lightcycle Grid
Posts: 29
Joined: Sun Jun 12, 2011 9:31 pm

Re: new 02831 + code::blocks

Post by galaxy invader »

I decided to compile the client just to see if there were any differences in the errors and was surprised to find that it compiles with 0 errors and just 5 warnings with a working exe

Im not sure why the dedicated server isnt compiling

I got the winlibs from the link on the wiki page

Im pretty much lost with this, ive taken a screen shot of the zthread stuff
Attachments
codeblocks-1.png
Image
User avatar
nsh22
Round Winner
Posts: 378
Joined: Fri Sep 07, 2007 8:12 pm
Location: eating, cooking or writing (about cooking).
Contact:

Re: new 02831 + code::blocks

Post by nsh22 »

you have to use an ancient version of code::blocks (version 1.0rc2)
you cannot use a newer or older version of it.
Lucifer wrote:I think you got the wrong thread, this thread is the one where we're debating banning sinewav and dubStep until they have a threesome with dubbie's mother.
User avatar
Z-Man
God & Project Admin
Posts: 11736
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: new 02831 + code::blocks

Post by Z-Man »

The client doesn't use zthread, so that means whatever winlibs you have is one with zthread missing or in the wrong place (unlikely). Which link on the wiki do you mean?
User avatar
galaxy invader
On Lightcycle Grid
Posts: 29
Joined: Sun Jun 12, 2011 9:31 pm

Re: new 02831 + code::blocks

Post by galaxy invader »

Z-Man wrote:The client doesn't use zthread, so that means whatever winlibs you have is one with zthread missing or in the wrong place (unlikely). Which link on the wiki do you mean?
Opps sorry I meant to say the link on the armagetronad main download page http://armagetronad.net/downloads.php which has a link to http://prdownloads.sourceforge.net/arma ... p?download ( 0.2.8.0.zip )
Image
User avatar
Z-Man
God & Project Admin
Posts: 11736
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: new 02831 + code::blocks

Post by Z-Man »

Oh, oops. That is indeed outdated. And I don't think we uploaded a current version. Until that is fixed (may be a while), you either need to fetch winlibs from svn (link on the wiki page) or bzr (https://code.launchpad.net/~armagetrona ... nlibs-work), or add zthread yourself (complicated) or comment out

Code: Select all

#define HAVE_LIBZTHREAD
in some config.h and remove the zthread reference from the linker instructions.
Post Reply