Compilers?

Compilers?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Yayo01
Posts: 27
Joined: 22 Feb 2006, 20:34

Compilers?

Post by Yayo01 »

are there any other compilers other than VS 2005? since i want to make a rts for fun
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

It compiles on vs2005 (express, which is free), vs2003, and linux gcc. It would probably work on mingw too, but so far no results.
Anything besides vs2003 is a little harder though, because there is no prebuild library pack for it.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Then you've come to the wrong place, we're busy here with our own RTS called the spring engine, feel free to join us ^^

Now that bits over:

VC 2003
GCC
Digital mars
Borland


hmm you didnt mention if it was c++ specifically or if you where even using windows exclusively...
Yayo01
Posts: 27
Joined: 22 Feb 2006, 20:34

Post by Yayo01 »

Im using windows Xp.....i was wondering...is there any cheap or any free compilers? since VS2005 is expensive for me
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

mingw
devcpp if you want an IDE too
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

VS isnt free, but gcc and mingw and digital mars are all free.

You could also try the microsoft vs compiler free for downlaod with the enterprise toolkit, and install codeblocks IDE to make use of it, however I had a nasty experience doing that, and AI Dll's dont work for some reaosn compiled that way.

Last tiem i tried MingW was in DevC++ but it complained that the spring code wasnt formatted correctly, which I guess will have changed to make the linux port work.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Last tiem i tried MingW was in DevC++ but it complained that the spring code wasnt formatted correctly, which I guess will have changed to make the linux port work.
A few files not compiled on linux are not yet gcc compatible, so mingw will choke on them. Also, the buildsystem does not fully support mingw yet.
User avatar
mother
Posts: 379
Joined: 04 May 2005, 05:43

Post by mother »

Yayo01 wrote:Im using windows Xp.....i was wondering...is there any cheap or any free compilers? since VS2005 is expensive for me
<sorry I have to say it> Stop spending all your money on Yayo then ;)

What is your level of familiarity with C++ and compiling? In my experience with the Spring source, it's never been point and click compilation... The extra depend's on the x-platform build make this even less the case. (Particularly if you don't read the damn forums before you try it and find out that people have already compiled various libraries and made them available.)
Yayo01
Posts: 27
Joined: 22 Feb 2006, 20:34

Post by Yayo01 »

i have 0!!!! experience on editing or coding game engines but willing to learn ! :-)

so what compilers should i get? :P

hmmm what tools do i need to edit those source files btw? -__-''
'
Yayo01
Posts: 27
Joined: 22 Feb 2006, 20:34

Post by Yayo01 »

dont want to double post but what is this tool?

Image? is that tool cheap or free? :P
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Post by Das Bruce »

http://www.codeblocks.org/ - comes with mingw and has a better IDE than bloodshed, and its easily compatible with other compilers.
Yayo01
Posts: 27
Joined: 22 Feb 2006, 20:34

Post by Yayo01 »

can i use it to compile my Modified version of the spring? :-)
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Post by malric »

The product from the picture is Metrowers Codewarrior IDE for x86 - but it's not supported anymore.

You can read about it here : http://forums.freescale.com/freescale/b ... d=361#M140

I don't know what happend to it after the thigs discussed there.

Anyway it wasn't free either, and between them I prefer anyway VS (not because of the compiler, but because of many IDE things that can annoy someone).

Personally I compiled Spring just in Linux.

And about learning, I do not know exactly what to recommand - hope other will help - but I think it would not be the best way to learn C++/compiling and modifiying large applications on spring.

I know I started long long time ago by making small programs (even something that looked like a 3d game :) ) but it was hard enough learning the language/graphic libraries and other things without having to understand somebody elses code.

And there are other programming that has to be done in Spring outside the engine ;). (for example the new cross platform lobby :D).
User avatar
hrmph
Posts: 1054
Joined: 12 May 2005, 20:08

Post by hrmph »

If you believe your going to teach yourself C++ by looking at the Spring source you might want to think again. You should start out with simple programs and work your way up. If I were you I'd either buy a few books or read as many C++ tutorials on the internet that you can find. *lol mother*
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

Spring isn't really the best learner project either. Dispite the things spring did right in getting a game that is acctually playable, there is alot of poor design structures used that hurts game modularity.
User avatar
Slamoid
Posts: 237
Joined: 25 Jan 2005, 19:23

Post by Slamoid »

malric wrote:Personally I compiled Spring just in Linux.
Knoppix, here I come!
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Do what i did and start an AI!

I knew a lot of random bits of C++ from reading but I had no experience so it didn't fit very well. So I started TAI and didn't get far (reliance on the central construction GroupAI was my downfall, since it wasn't working as it was supposed to). That gave me the knowledge I needed to start off NTAI.
User avatar
Rafal99
Posts: 162
Joined: 14 Jan 2006, 04:09

Post by Rafal99 »

Hello all
Could someone tell me what compilers / tools is best to creating a GroupAI / GlobalAI for Spring? I know C++ quite well and maybe I will try to write something for Spring. Thanks for help.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Visual studio .Net 2003
User avatar
Rafal99
Posts: 162
Joined: 14 Jan 2006, 04:09

Post by Rafal99 »

I know that i will need these libraries: http://spring.clan-sy.com/dl/spring-vclibs.exe
Of course i downloaded Spring source.
Do i need anything else to compile AI for Spring??
Post Reply

Return to “Engine”