windows build

Anything related to programming on the game

windows build

Postby Webmug » Sun Dec 13, 2009 10:35 pm

Hi to you all!

I'm a dutch programmer and played alot of Hardwar in the past, maybe I can also help contribute to your efforts?
I'm going to setup the sources that are available and take a look.

Best Regards,
André Br.
Webmug
 
Posts: 21
Joined: Sun Dec 13, 2009 5:53 pm

Re: Say hiya!

Postby Andrew » Mon Dec 14, 2009 1:18 am

That's great let me know if you have any problems.
User avatar
Andrew
Site Admin
 
Posts: 149
Joined: Fri Oct 23, 2009 6:01 pm
Location: Thailand

Re: Say hiya!

Postby Webmug » Tue Dec 15, 2009 12:02 pm

Andrew wrote:That's great let me know if you have any problems.


Tonight I will be able to compile everything and see what's the first thing to start working on.
Yesterday I had some problems with a missing boost thread (ts) library. Only want to install libs that are needed.

I'm developing on a virtual machine with Win2003 Server with Visual Studio 2008.
For testing I installed runtimes and dx9 on my home Vista computer and running the demos with 300+fps now. looking good ;)

Where do you think I should start.
Webmug
 
Posts: 21
Joined: Sun Dec 13, 2009 5:53 pm

Re: Say hiya!

Postby Andrew » Wed Dec 16, 2009 3:33 am

First of all I think just getting a windows version working would be great.

I develop on Ubuntu so I am not sure if the windows version is going to work out the box. Then if you could tell me what documentation on building for windows needs updating.

After that you could help me debug the problems I am having with splitting the binary up.
User avatar
Andrew
Site Admin
 
Posts: 149
Joined: Fri Oct 23, 2009 6:01 pm
Location: Thailand

Re: Say hiya!

Postby Webmug » Wed Dec 16, 2009 11:00 am

Andrew wrote:First of all I think just getting a windows version working would be great.

I develop on Ubuntu so I am not sure if the windows version is going to work out the box. Then if you could tell me what documentation on building for windows needs updating.

After that you could help me debug the problems I am having with splitting the binary up.


Ahh, I noticed that myself, compiling on windows is a bit extensive than I thought, first of all de boost-mt isn't reconized (version 1_40) using (cmake 2.8) after renaming some files this worked (need to check if the right library is used for multithreading... later...)
After getting configuring working its was complaning about a restriction in path library names (c:\program ...) the rest wasn't seen... so changes the directory of source to c:\hardwar and this worked now...

Now when i generate, cmake is complaning about needed libraries of MyGUI.. and that won't compile without freetype dependencies .. but eventualy this is going to work ;)

I hope i't will have it compiled this week, time flies... If thats the case I'l will post a list of extra steps that I had to take to get it to compile...
Webmug
 
Posts: 21
Joined: Sun Dec 13, 2009 5:53 pm

Re: Say hiya!

Postby Andrew » Fri Dec 18, 2009 7:25 am

About your boost issue. There are two different libraries. One is called boost-thread, the other is boost-thread-mt. I believe you can use either however I'm not sure what your original problem was.

Webmug wrote:After getting configuring working its was complaning about a restriction in path library names (c:\program ...) the rest wasn't seen... so changes the directory of source to c:\hardwar and this worked now...

Oh, very weird. Not sure what the problem is there without having a good couple of hours to debug it. :(

Webmug wrote:Now when i generate, cmake is complaning about needed libraries of MyGUI.. and that won't compile without freetype dependencies .. but eventualy this is going to work ;)

That's my fault. I wrote the FindMyGUI.cmake module and it doesn't do anything for windows builds (as always no time).

Right now it says this..
Code: Select all
IF (WIN32) #Windows
   IF (MyGUISOURCE)
      
      # you're screwed
      
   ENDIF (MyGUISOURCE)
   
ELSE (WIN32) #Unix


I'm going to have to spend some time to try a windows build myself and upload the changes to trunk so that you don't have so many problems. It should be much easier then this.
User avatar
Andrew
Site Admin
 
Posts: 149
Joined: Fri Oct 23, 2009 6:01 pm
Location: Thailand

Re: windows build

Postby Webmug » Sat Dec 19, 2009 4:25 pm

Command line option "-Wunused" is unknown..
Also optimalization must be disabled to compile... /o2 can not be used with some other

I have currently 53 errors like this one:
Error 11 error C2471: cannot update program database 'c:\hardwar\bin\debug\hardwar.pdb' c:\hardwar\code\client\console\src\console.cpp 1 hardwar

:)
Webmug
 
Posts: 21
Joined: Sun Dec 13, 2009 5:53 pm

Re: windows build

Postby Webmug » Sat Dec 19, 2009 5:23 pm

Webmug wrote:I have currently 53 errors like this one:
Error 11 error C2471: cannot update program database 'c:\hardwar\bin\debug\hardwar.pdb' c:\hardwar\code\client\console\src\console.cpp 1 hardwar


update:
This was a bug in my visual studio 2008 version...
A hotfix is available on this adres: http://code.msdn.microsoft.com/KB946040

I have now still some fatal errors... missing libintl.h and some paths to boost library...
Webmug
 
Posts: 21
Joined: Sun Dec 13, 2009 5:53 pm

Re: windows build

Postby Andrew » Sun Dec 20, 2009 4:00 am

The libintl.h is to do with translation. You can get that here.. http://gnuwin32.sourceforge.net/packages/gettext.htm

Not sure about your boost problems as we use the default findBoost module that comes with cmake. I'm not sure were they look for it to be installed. I'll try making a windows build today after I've got some of the other stuff in the binary split branch done.
User avatar
Andrew
Site Admin
 
Posts: 149
Joined: Fri Oct 23, 2009 6:01 pm
Location: Thailand

Re: windows build

Postby Andrew » Sun Dec 20, 2009 3:24 pm

I'm downloading the DirectX SDK however it's over 500 Meg. I don't think I'm going to get time to do a complete compile on windows today however I am currently updating the documentation so I will keep you posted on my progress.
User avatar
Andrew
Site Admin
 
Posts: 149
Joined: Fri Oct 23, 2009 6:01 pm
Location: Thailand

Next

Return to Code

Who is online

Users browsing this forum: No registered users and 1 guest

cron