[Windows] Error Compiling on CodeBlocks 13.12

For all the help you need with Armagetron!
Post Reply
Runn3R
Posts: 4
Joined: Thu Jan 29, 2015 4:04 pm

[Windows] Error Compiling on CodeBlocks 13.12

Post by Runn3R »

Hello Guys,

I'm trying desperatly to compile the Armagetron AD Workspace in Code Blocks 13.12.

I used the guide I found on the Wiki.

I executed all .bat files and loaded the project into Code Blocks.
I am using Windows 7 64-Bit.

As soon as I try to compile it, I get an error about multi Threading in the Boost libary.

Code: Select all

"Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
Tryed fixing it with this fix. - Didn't work.

Then got some errors in nProtoBuf.h file in Line 854 and 868 where the compiler says the StreamTo need to be this-> pointers.
Added the this-> to those lines and now I'm getting an error I'm confused of:

Code: Select all

f:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.8.1\libstdc++.a(stdexcept.o):stdexcept.cc|| multiple definition of `std::out_of_range::~out_of_range()'|
f:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.8.1\libstdc++.a(stdexcept.o):stdexcept.cc|| multiple definition of `std::out_of_range::~out_of_range()'|
How do I fix these? Has anybody else got these errors? I'm on revision 10069 from 22. Oct. 2011 commited by bazaarmagetron.

Getting the same errors like described above if I use the Revision 10723 from 1. Feburary 2015. I try to build the Trunk....

Greetings

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

Re: [Windows] Error Compiling on CodeBlocks 13.12

Post by Z-Man »

Officially, we only support building with 10.5. IDE upgrades are a pain; you have to expect library conflicts between the c++ library your compiler uses and the boost binary libraries in winlibs.

Also, don't use trunk, we haven't done anything with it in a while because the bzr/svn syncing somehow had problems. Use 0.4.
User avatar
Ratchet
Match Winner
Posts: 779
Joined: Sat Mar 15, 2008 5:55 am

Re: [Windows] Error Compiling on CodeBlocks 13.12

Post by Ratchet »

Z-Man wrote:Officially, we only support building with 10.5. IDE upgrades are a pain; you have to expect library conflicts between the c++ library your compiler uses and the boost binary libraries in winlibs.

Also, don't use trunk, we haven't done anything with it in a while because the bzr/svn syncing somehow had problems. Use 0.4.
Regarding the IDE, 13.12 works just fine (although like you said, you probably wouldn't recommend it). That's what I built 0.4 with.

OP: Get the latest version of 0.4, as Z-man said.

Then, try following the post that Jip made here:
http://forums3.armagetronad.net/viewtop ... 4&start=15

It's a little bit of the ways down, but he gives a pretty straightforward guide. If you run into any errors, feel free to post here (or there) and we'll try and get it sorted out.
Image
"Dream as if you'll live forever,
Live as if you'll die today." -James Dean
Runn3R
Posts: 4
Joined: Thu Jan 29, 2015 4:04 pm

Re: [Windows] Error Compiling on CodeBlocks 13.12

Post by Runn3R »

Thanks guys,

you helped me alot.
I was able to compile it for the first Time yesterday.
The Guide helped a lot. It should be in the wiki...

Best wishes

Runn3R
User avatar
/dev/null
Shutout Match Winner
Posts: 819
Joined: Sat Sep 04, 2004 6:28 pm
Location: Chicago-ish

Re: [Windows] Error Compiling on CodeBlocks 13.12

Post by /dev/null »

Runn3R wrote:Thanks guys,

you helped me alot.
I was able to compile it for the first Time yesterday.
The Guide helped a lot. It should be in the wiki...

Best wishes

Runn3R
**** yeah, im glad they helped you. Now turn off vsync and become a god.

Our wiki is useless, you are possibly the first person it helped.
Amaso
Core Dumper
Posts: 105
Joined: Mon Dec 29, 2014 1:34 am

Re: [Windows] Error Compiling on CodeBlocks 13.12

Post by Amaso »

/dev/null wrote:
Runn3R wrote:Thanks guys,

you helped me alot.
I was able to compile it for the first Time yesterday.
The Guide helped a lot. It should be in the wiki...

Best wishes

Runn3R
**** yeah, im glad they helped you. Now turn off vsync and become a god.

Our wiki is useless, you are possibly the first person it helped.
+1
Post Reply