Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » FreeStars » Compiling under Windows
icon5.gif  Compiling under Windows Thu, 23 February 2006 23:08 Go to next message
rhekis is currently offline rhekis

 
Civilian

Messages: 3
Registered: February 2006
Location: USA
I am trying to compile the server on windows ... has anyone done this before?

I have eclipse w CDT, MinGW & MSYS (and ms visual studio 2003 but I don't plan to use it) installed.

When I try to run "configure" using msys command prompt ...
sh-2.04$ ./configure.ac
./configure.ac: line 1: syntax error near unexpected token `AC_INIT([freestars],'
./configure.ac: line 1: `AC_INIT([freestars],'

I can ignore that and make on the \server and \tinyxml directories OK. When I try it to make at freestar root it says "no targets specified no makefile found ** STOP"

Same thing when I try make install at freestar root.

When I try to compile under Eclipse I get errors that read "no rule to make target xxx". I also get inclusion errors for .h files which reside in a different directory.

Any ideas? Thanks.
~rhekis

Report message to a moderator

Re: Compiling under Windows Fri, 24 February 2006 11:36 Go to previous messageGo to next message
Kotk

 
Commander

Messages: 1227
Registered: May 2003
rhekis wrote on Fri, 24 February 2006 06:08

I am trying to compile the server on windows ... has anyone done this before?

Freestars is developed under VC 6.0. I can confirm that under .NET 2003 (VC 7.1) you mentioned it compiles well and works too. Nod
Why you dumped it? It makes smallest and quickest executable. For a challenge? Then why to spoil your challenge. Wink


[Updated on: Fri, 24 February 2006 11:37]

Report message to a moderator

Re: Compiling under Windows Fri, 24 February 2006 23:53 Go to previous messageGo to next message
rhekis is currently offline rhekis

 
Civilian

Messages: 3
Registered: February 2006
Location: USA
I do not have much experience with C++ in .net or windows... what type of project should I create for freestars? .net, ATL, MFC, Win32, General? Each have several choices and I really do not know what they mean. Good to know someone has compiled under win Smile thank you.

Report message to a moderator

Re: Compiling under Windows Sat, 25 February 2006 05:32 Go to previous messageGo to next message
m.a@stars is currently offline m.a@stars

 
Commander

Messages: 2765
Registered: October 2004
Location: Third star to the left
Kotk wrote on Fri, 24 February 2006 17:36

rhekis wrote on Fri, 24 February 2006 06:08

I am trying to compile the server on windows ... has anyone done this before?

Freestars is developed under VC 6.0. I can confirm that under .NET 2003 (VC 7.1) you mentioned it compiles well and works too. Nod


Uh oh. What about *older* versions? I got VC5.0 at home. Embarassed Sad



So many Stars, so few Missiles!

In space no one can hear you scheme! Deal

Report message to a moderator

Re: Compiling under Windows Sat, 25 February 2006 21:12 Go to previous messageGo to next message
LEit is currently offline LEit

 
Lt. Commander

Messages: 879
Registered: April 2003
Location: CT
It should probably work with VC 5. However, I'm not sure the project files will work. You may need to build a different set of project files.

There is (I hope) nothing specific to VC6 in the server code. There are some ifdefs for windows specific code, but not many, mostly to do with warnings to ignore.



- LEit

Report message to a moderator

Re: Compiling under Windows Sun, 26 February 2006 16:19 Go to previous messageGo to next message
Kotk

 
Commander

Messages: 1227
Registered: May 2003
rhekis wrote on Sat, 25 February 2006 06:53

I do not have much experience with C++ in .net or windows... what type of project should I create for freestars?

With Visual Studio 2003 there is no need to create something. I just added recently Freestars/Server/FSServer.sln (and relating vcproj files) to CVS (2003 got good compiler). Open it and build. Some backbone parts of game generation and turn generation it does. Wink

m.a@stars wrote on Sat, 25 February 2006 12:32

Uh oh. What about *older* versions? I got VC5.0 at home. Embarassed Sad
The dsw/dsp files made with VC 6.0 are probably not useful for VC 5.0. If you want to try compiling with VC 5.0 then you got to make needed projects yourself. Nod Owerall ... not tried but it probably compiles with minor problems.

Report message to a moderator

Re: Compiling under Windows Sun, 26 February 2006 17:52 Go to previous message
rhekis is currently offline rhekis

 
Civilian

Messages: 3
Registered: February 2006
Location: USA
Kotk wrote on Sun, 26 February 2006 16:19


With Visual Studio 2003 there is no need to create something. I just added recently Freestars/Server/FSServer.sln (and relating vcproj files) to CVS (2003 got good compiler). Open it and build. Some backbone parts of game generation and turn generation it does. Wink

Thanks, works wonderfully. Smile For anyone else wondering you can also see the compilation documentation: http://sourceforge.net/docman/display_doc.php?docid=23207&am p;group_id=110390

I did not need to download the TinyXML pacakge as the instructions state however, it is included in the server files.

Report message to a moderator

Previous Topic: Design (Class Diagrams, etc)
Next Topic: Client -> Server communication for game logic
Goto Forum:
  


Current Time: Fri May 03 17:21:43 EDT 2024