News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

How to compile CVS Windows Client?

Started by oholler, November 19, 2006, 18:52:18

Previous topic - Next topic

oholler

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










carsten

Yep, and how did you get the source? I would be very interested in giving it a try...

Best Regards,
Carsten.

MartenR

#2
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.

oholler

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

arghgra

@MartenR: Are you willing to share your VS Project? Or give a little howto? :)

arghgra

MartenR

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

arghgra

@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