[C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Everything todo with programming goes HERE.
User avatar
LOVER$BOY
Match Winner
Posts: 725
Joined: Thu Jan 24, 2008 12:46 pm
Contact:

Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Post by LOVER$BOY »

are there any other compilers that I could use in windows to compile this?
Image

User avatar
Z-Man
God & Project Admin
Posts: 11237
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne, Jabber: [email protected]
Contact:

Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Post by Z-Man »

you need to add gSvgOutput.cpp to the project files.

No, no other compilers. At least none that cause less work. I'm using code::blocks for my builds, you could just grab those if you don't want to hack.

User avatar
LOVER$BOY
Match Winner
Posts: 725
Joined: Thu Jan 24, 2008 12:46 pm
Contact:

Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Post by LOVER$BOY »

Oh well I guess.

Yes I use your builds Z-Man but I'm just trying to experiment with something even though I might be actually messing around with it :P

Yes Z-Man. Kyle said I need to add gSvgOutput.cpp to gCycle.cpp, gExplosion.cpp gGame.cpp and gWinZone.cpp but... how do I include them in there?

Do I simply do:

Code: Select all

#include "gSvgOutput.cpp"
in those files?
Image

User avatar
LOVER$BOY
Match Winner
Posts: 725
Joined: Thu Jan 24, 2008 12:46 pm
Contact:

Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Post by LOVER$BOY »

Never mind. I've figured out.

It seemed the file wasn't included with the rest of the sources.

I am however still having a problem with this error:
"The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling the program to fix this."

I can run the program if I go into Build and click "Run" on "Armagetron" but when I try to execute the program, it gives me that error.

Any ideas why it's happening like this?
Image

User avatar
Z-Man
God & Project Admin
Posts: 11237
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne, Jabber: [email protected]
Contact:

Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Post by Z-Man »

Nope, sorry, never seen that one. Googling it finds this:
http://stackoverflow.com/questions/4984 ... -dw2-1-dll
Looks helpful.

User avatar
LOVER$BOY
Match Winner
Posts: 725
Joined: Thu Jan 24, 2008 12:46 pm
Contact:

Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Post by LOVER$BOY »

Thanks Z-Man but I figured out what the mistake was. I was using build_codeblocks which was stuffing up the compiling.

Actually I first tested it in my windows XP (Installed virtualbox and installed XP in it) and worked find there without build_codeblocks. Instead I used your builds inside armagetronad and VALA! IT WORKED! :D

I'm thinking of making a tutorial on this but I'm not certain. What do you guys think?
Image

User avatar
Z-Man
God & Project Admin
Posts: 11237
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne, Jabber: [email protected]
Contact:

Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Post by Z-Man »

Tutorials are always good. Just give it a date stamp (or a 'last checked with version X' note) so people can know when it's outdated.

User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6698
Joined: Thu Dec 18, 2003 7:03 pm

Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Post by Tank Program »

Good that it's working
LOVER$BOY wrote:VALA!
This... did you by any chance mean voilà?
Image

User avatar
LOVER$BOY
Match Winner
Posts: 725
Joined: Thu Jan 24, 2008 12:46 pm
Contact:

Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Post by LOVER$BOY »

Ok Z-Man. I'll make it that way :)
Tank Program wrote:
LOVER$BOY wrote:VALA!
This... did you by any chance mean voilà?
No Tank. That's a word from my mother tongue.
Image

User avatar
Phytotron
Formerly Oscilloscope
Posts: 5041
Joined: Thu Jun 09, 2005 10:06 pm
Location: A site or situation, especially considered in regard to its surroundings.
Contact:

Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Post by Phytotron »

Did someone say my name?
Did someone say my name?

User avatar
LOVER$BOY
Match Winner
Posts: 725
Joined: Thu Jan 24, 2008 12:46 pm
Contact:

Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Post by LOVER$BOY »

Phyton's random message I guess.

Good point btw :)
Image

User avatar
Phytotron
Formerly Oscilloscope
Posts: 5041
Joined: Thu Jun 09, 2005 10:06 pm
Location: A site or situation, especially considered in regard to its surroundings.
Contact:

Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Post by Phytotron »

Wait, who is Phyton?
Wait, who is Phyton?
Vala2.png (73.64 KiB) Viewed 1175 times

User avatar
LOVER$BOY
Match Winner
Posts: 725
Joined: Thu Jan 24, 2008 12:46 pm
Contact:

Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Post by LOVER$BOY »

oh I misspelt your name cause I was recording while I came in to view the messages :P
Image

User avatar
LOVER$BOY
Match Winner
Posts: 725
Joined: Thu Jan 24, 2008 12:46 pm
Contact:

Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Post by LOVER$BOY »

Z-Man, I've made the tutorial. It's split into two parts because I wanted to show almost the full process of the compiling. The titles of the videos are [CodeBlocks][Armagetron-sty+ct 03-05-2012]. Is that ok?

Actually I love the music I place in it. Both the tutorials have the music I love listening to whenever I feel down or doing work :)

Anyway here are the links to them:
Part 1: http://www.youtube.com/watch?v=20dU1vcxEsE
Part 2: http://www.youtube.com/watch?v=lCC6W6MLKPE

I simply love the music :D
The beginning of Part 1 and the ending of Part 2. They are awesome! :D
It's a pity that my production tool didn't do well in outputting their original audio :(
BTW, all the songs in them are Japanese but I'm not Japanese and I don't understand what they are saying but I don't worry about that cause I enjoy the music ;)
Image

User avatar
Phytotron
Formerly Oscilloscope
Posts: 5041
Joined: Thu Jun 09, 2005 10:06 pm
Location: A site or situation, especially considered in regard to its surroundings.
Contact:

Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles

Post by Phytotron »

LOVER$BOY wrote:I don't understand what they are saying but I don't worry about that 'cause I enjoy the music ;)
I'm the same way about a lot of music that's in English.

Post Reply