Loggytronic Forum

VOMP => Vomp For Windows => Topic started by: oholler on November 19, 2006, 18:52:18

Title: How to compile CVS Windows Client?
Post by: oholler on November 19, 2006, 18:52:18
Hi,

does anybody know how to compile the VOMP Windows Client from CVS?
It seems that a newer compiler than Visual C++ 6.0 is required.
I could use e.g. Visual C++ 2005 Express Edition (its free).
What DirectX SDK must be used?
DirectX SDK from August 2005 seems wrong.
I assume Platform SDK will be required as well (what version?).

Regards
Oliver









Title: Re: How to compile CVS Windows Client?
Post by: carsten on November 19, 2006, 19:00:39
Yep, and how did you get the source? I would be very interested in giving it a try...

Best Regards,
Carsten.
Title: Re: How to compile CVS Windows Client?
Post by: MartenR on November 20, 2006, 07:11:39
The following things were used during development:
DirectX SDK (February 2006), but (August 2005 can (should)  work as well
Plattform SDK for Windows server 2003 (also downloaded at this time)
Visual C++ 2003
For the version in cvs you need streambase.lib build from Plattform SDK samples, but this need is now removed and the connected chnages will hopefully appear soon in the cvs.
Title: Re: How to compile CVS Windows Client?
Post by: oholler on November 21, 2006, 09:32:59
Hi,

I've used
- Microsoft Visual C++ 2005 Express Edition
- Microsoft Patform SDK (R2)
- DirectX SDK Feb2006
I gave up because of too many problems.
I will try it again when the streambase.lib dependecy is eliminated.
So far thanks for the help.

Regards
Oliver
Title: Re: How to compile CVS Windows Client?
Post by: arghgra on March 05, 2007, 16:17:47
@MartenR: Are you willing to share your VS Project? Or give a little howto? :)

arghgra
Title: Re: How to compile CVS Windows Client?
Post by: MartenR on March 05, 2007, 18:06:33
No, I won't share my project files.
But something like a howto.

For Building a release I use the SDK function to generate an open build environment, then just type:

nmake /f Makefile.nmake

and it should work.

For the other add all source files of the windows build to an empty Win32 project. (look into the two Makefiles to see which files you need). For all .cc files, switch off using precompiled headers and configure it to use runtime librarys multithreaded dll (and maybe debug), look into the Makefile to see which import libraries you need also.

This should everything you need for compiling.

Marten
Title: Re: How to compile CVS Windows Client?
Post by: arghgra on March 06, 2007, 15:09:44
@MartenR:

with a little modification (changing 'success = mtd->init("/dev/mtd1");' to 'success = mtd->init();' in line 201 of winmain.cc) I was able to build the windows client for the 0.2.6 release. Compilation of a current cvs snapshot did not work due to some compiler errors - I think, there's development stuff going on.

So - thanks a lot - now I am able to play around with the source code :).

arghgra