FreeOrion

Forums for the FreeOrion project
It is currently Mon May 20, 2013 5:27 am

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 30 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Sun Jul 20, 2003 11:11 pm 
Offline
Space Squid

Joined: Thu Jun 26, 2003 12:09 pm
Posts: 95
Location: Chicago
For the moment you need to start the server separately. Run freeoriond.exe, to start the server, then start freeorion.exe and select localhost as your server. We will be tying them together a bit better in the future, probably when the new menu system is done, such that if you select single player or to host a multiplayer game it will automagically start the server..

_________________
Programming Lead


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 21, 2003 11:07 am 
Offline
Space Squid

Joined: Fri Jun 27, 2003 6:23 pm
Posts: 66
Location: Milkyway
freeoriond.exe makes the following messages:

1058784282 DEBUG : freeoriond logger initialized.
1058784282 ERROR : ServerApp::ServerApp : Server now in mode 0 (SERVER_IDLE).
1058784282 ERROR : SDL initialization failed: No available video device
1058784282 FATAL : Initiating Exit (code 1 - error termination)
1058784282 DEBUG : SDLQuit() complete.

what shall I do now ?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 21, 2003 12:31 pm 
Offline
Programmer
User avatar

Joined: Sat Jun 28, 2003 8:17 pm
Posts: 376
Location: Heidelberg, Germany
trace wrote:
what shall I do now ?


Did you update your CVS checkout? This was a bug that should be fixed now, ie. in ServerApp.cpp the getenv/putenv Stuff should be included in
Code:
#ifdef FREEORION_LINUX
, if it's not, just comment out the line that says something like putenv("SDL_VIDEODRIVER=dummy")


Top
 Profile  
 
 Post subject: new Problem
PostPosted: Tue Jul 22, 2003 5:57 pm 
Offline
Space Squid

Joined: Fri Jun 27, 2003 6:23 pm
Posts: 66
Location: Milkyway
I could compile the server and the server works now, but I have Problems with the linking of both clients. :?

I have found new lines in the readme file:

Quote:
You'll also need the GG GUI library (aka GiGi). Use WinCVS or regular CVS to check out the source code files into the FreeOrion directory you just checked out:

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gigi login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gigi co GG


Ahhm both cvs lines do not work on my computer and when I use the first line it wants a password.

I wonder why there are no files inside of C:\freeorion\SDL_net and C:\freeorion\SDL_net2 when I download with CVS, but anywhere I got those file - dont know.

errors at compiling humanclient:
C:\freeorion\objs\IntroScreen.o(.text+0x38b3)
[Warning] In function `ZN11IntroScreen7OnAboutEv':
[Linker error] undefined reference to `About::About()'
[Linker error] undefined reference to `About::~About()'
[Linker error] undefined reference to `About::~About()'
C:\freeorion\client\human\Makefile.win
[Build Error] [../../freeorion.exe] Error 1

with AiClient there were Problems I could fix, dont know how but compiling worked


I had to fill in the include filesC:\freeorion\SDL_net2 and C:\freeorion\SDL_net again in the Project Configuration

If I use an older compiled humanclient it shows an error when starting a game: Universe already built oder server error but not the same error as if I wouldnt execute the server.


Last edited by trace on Tue Jul 22, 2003 6:34 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: new Problem
PostPosted: Tue Jul 22, 2003 6:17 pm 
Offline
Space Kraken

Joined: Thu Jun 26, 2003 2:17 pm
Posts: 167
Location: Pittsburgh, PA
trace wrote:
I could compile the server and the server works now, but I have Problems with the linking of both clients. :?

I have found new lines in the readme file:

Quote:
You'll also need the GG GUI library (aka GiGi). Use WinCVS or regular CVS to check out the source code files into the FreeOrion directory you just checked out:

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gigi login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gigi co GG


Ahhm both cvs lines do not work on my computer and when I use the first line it wants a password.

I wonder why there are no files inside of C:\freeorion\SDL_net and C:\freeorion\SDL_net2 when I download with CVS, but anywhere I got those file - dont know.

errors at compiling humanclient:
C:\freeorion\objs\IntroScreen.o(.text+0x38b3)
[Warning] In function `ZN11IntroScreen7OnAboutEv':
[Linker error] undefined reference to `About::About()'
[Linker error] undefined reference to `About::~About()'
[Linker error] undefined reference to `About::~About()'
C:\freeorion\client\human\Makefile.win
[Build Error] [../../freeorion.exe] Error 1

with AiClient there were Problems I could fix, dont know how but compiling worked


I had to fill in the include filesC:\freeorion\SDL_net2 and C:\freeorion\SDL_net again in the Project Configuration


When you say both lines don't work, do you mean that "cvs" is a "bad command or filename" or does it just not work?

Make sure you type the first, hit enter, then type the second line. If you are prompted for a password, just press enter, or if using WinCVS, press OK.

Once you've got the gigi files, make sure they are in a folder titled GG located inside your FreeOrion root directory. If the GG folder isn't there, create it.

Everything should build ok from there.

_________________
FreeOrion Programmer


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 23, 2003 3:21 am 
Offline
Space Kraken

Joined: Thu Jun 26, 2003 2:17 pm
Posts: 167
Location: Pittsburgh, PA
In WindowsKit.zip in the CVS repository there are directions for downloading and compiling in Windows using Dev-C++, a free C++ compiler and devlopment environment. Anybody is free to to download and compile the code at their leisure.

As for distributing binaries, that will only happen when certain benchmarks are reached, such as the completion of a feature version. We can't be concerned with releasing unstable builds every month.

_________________
FreeOrion Programmer


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 25, 2003 2:32 pm 
Offline
Space Squid

Joined: Fri Jun 27, 2003 9:00 am
Posts: 78
Location: Germany
I tried to compile the human client again, and got this error:

C:/Dev-Cpp/include/freetype2/freetype/freetype.h:188: 'FT_Pos' is used as a type, but is not defined as a type.


Any further ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 25, 2003 3:08 pm 
Offline
Space Kraken

Joined: Thu Jun 26, 2003 2:17 pm
Posts: 167
Location: Pittsburgh, PA
elfstone wrote:
I tried to compile the human client again, and got this error:

C:/Dev-Cpp/include/freetype2/freetype/freetype.h:188: 'FT_Pos' is used as a type, but is not defined as a type.


Any further ideas?


Is that the only error you got?

_________________
FreeOrion Programmer


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 26, 2003 8:36 am 
Offline
Space Squid

Joined: Fri Jun 27, 2003 9:00 am
Posts: 78
Location: Germany
no, there are 269 errors, the first 30 or so with the same error, only different lines, then there are many like:

C:/Dev-Cpp/include/freetype2/freetype/freetype.h:673: syntax error before `*' token
C:/Dev-Cpp/include/freetype2/freetype/freetype.h:675: 'FT_Int' is used as a type, but is not defined as a type.


I guess the later errors follow from the first ones.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 26, 2003 8:55 am 
Offline
FreeOrion Lead Emeritus
User avatar

Joined: Thu Jun 26, 2003 6:23 am
Posts: 883
Location: Australia
the first and/or the last errors are usually the most important.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 26, 2003 9:19 am 
Offline
Space Squid

Joined: Fri Jun 27, 2003 9:00 am
Posts: 78
Location: Germany
in this case, the first error is the important one. Later in the list of errors, there are a lot of "blabla" was used before declaration, since there were errors in the declaration of those functions.

So, what can i do about this:

C:/Dev-Cpp/include/freetype2/freetype/freetype.h:188: 'FT_Pos' is used as a type, but is not defined as a type.

error


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 26, 2003 3:57 pm 
Offline
Space Squid
User avatar

Joined: Thu Jun 26, 2003 1:13 pm
Posts: 82
Location: Ottawa
I found FT_Pos defined in freetype2/freetype/ftimage.h

Do you have that file?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 27, 2003 6:31 pm 
Offline
Space Squid

Joined: Fri Jun 27, 2003 6:23 pm
Posts: 66
Location: Milkyway
I tried again compiling freeorion humanclient.
Now I could download GG and put it into the freeorion directory.
I tried the newest files.
ERROR:
C:\freeorion\objs\IntroScreen.o(.text+0x38b3)
[Warning] In function `ZN11IntroScreen7OnAboutEv':
[Linker error] undefined reference to `About::About()'
[Linker error] undefined reference to `About::~About()'
[Linker error] undefined reference to `About::~About()'
C:\freeorion\client\human\Makefile.win
[Build Error] [../../freeorion.exe] Error 1

maybe it has something to do with the files in
SDL_net and SDL_net2
I could not download, but anyhow I got those files maybe via an older download - maybe they are too old


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 05, 2003 1:13 am 
Offline
Programming Lead Emeritus
User avatar

Joined: Thu Jun 26, 2003 1:33 pm
Posts: 1092
Locking. Please ask for help in the Help thread.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 30 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group