[Cvsnt] instructions/hints building 1.11.1.3 with Visual C++ 6.0 ?

Bo Berglund Bo.Berglund at system3r.se
Wed Jun 12 16:38:26 BST 2002


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi,
I had the same wish about a half year ago and asked how to get the
system setup for both CVSNT and CVSGUI.
At the end of this message I will paste in the contents of a document
I made at the time to help me remember what I did. It is basically a
collection of email reponses from the developers on my questions when
I failed to get it up and running.

Note that in order to compile the WinCvs you have to update the submodule
cvsgui\cvs-1.10 to branch CVSGUI111

Since my machine is now 'poisoned' with DOTNET and other stuff I am not sure
what is really needed, so if you can take notes while setting it up I would
be happy to receive those notes afterwards. I will then make a webpage that
describes this setup for others to use.

/Bo

-----Original Message-----
From: Dennis Brennan [mailto:dbrennan at alliance-consulting.com]
Sent: den 12 juni 2002 16:13
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: [Cvsnt] instructions/hints building 1.11.1.3 with Visual C++
6.0 ?


Anyone have good instructions on building with cvsnt with Visual C++ 6.0?  I
have no experience with Visual Studio, but need to be able to build the
executable.

Any help is greatly appreciated.

-Dennis

++++++++++++----- Contents of CompilerSetup.txt -----++++++++++++++++++++
The following needs to be set up in order to compile various modules:

Visual Studio 6
VS Service Pack 5

CVSNT
------
Install Platform SDK


> Almost there with the SDK added (same as for WinCvs), but:
> Compiling...
> ms2mit.c
> f:\engineering\projects\cvsnt\ms2mit\ms2mit.c(41) : fatal error C1083:
> Cannot open include file: 'krb5.h': No such file or directory
> Error executing cl.exe.
>
> Looks like something is missing in the sourcetree.


Ahh forgot that one (it hasn't been needed for the last few days...
I've just re-added it).  You need to unpack the kerberos development
libraries.  There's a zip of the minimum you need on

http://www.cvsnt.org/krb5-1.2.2-cvsnt.bin.zip

----
>I got it. Where in the tree should it be extracted to?
>Do you need to set a search path to anything in this zip?
>/Bo
>
Put it wherever you like, and add the include & lib directories to
their respective search paths in visual studio.



=============================================================================
CVSGUI
-------
You should follow the build instructions at:
http://www.cvsgui.org/develop.html

CVS repository anonymous access
- User : anonymous
- Password :
- Host : cvs.cvsgui.sourceforge.net
- Cvsroot : /cvsroot/cvsgui
- In the cvs client, use "pserver" and fill the CVSROOT field with
"anonymous at cvs.cvsgui.sourceforge.net:/cvsroot/cvsgui".
- Use cvs login and enter the empty password.
- Issue a "cvs co -c" in the console in order to get the modules available
(WinCvsSrc, MacCvsSrc, GCvsSrc...).
- After checking out the module, you need to update the "cvs-1.10" folder or
"cvsunix" folder with the current branch.
The current branch has the form CVSGUI111X (X is the minor version). Find
out the latest branch using CVS repository. It is currently CVSGUI111.

What you are missing is the update of the cvs-1.10 folder to the CVSGUI111
branch.

You need the TCL and Python headers, and then setup the directories in the
VC++ menu:
Tools -> Options -> Directories(tab)

Add "Include files" (eg. only and may differ depending on your isntallation
of TCL and Python):
C:\PROGRAM FILES\TCL\INCLUDE
C:\PYTHON21\INCLUDE

Then on the same tab add "Library files" (change the combo box selection):
C:\PROGRAM FILES\TCL\LIB
C:\PYTHON21\LIBS


So, to build the WinCvs, at least on my machine, I have:
VC++ 6.0 Enterprise
Visual Studio Service Pack 5
Platform SDK "Core" + "Internet Developement"

You can verify your service pack number by checking the registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\ServicePacks]

Sp5 can be download from here:
http://msdn.microsoft.com/vstudio/sp/vs6sp5/dnldoverview.asp

Platform SDK can be downloaded here:
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/

You need at least "Core SDK" and "Internet Developemt SDK".

At least that is what I have...

Good Luck,
Jerzy

--------------
OK, I have two options for you.

One is to remove the dependency on msxml.idl. You do that by going to "CVS_Coworker.idl"
and commenting out the line:
import "ocidl.idl";

That should do the trick, even thought I am not sure how it affects the final executable.

But before that, try option two - review the paths, mine are (pay attention to the order):
Includes:
C:\Program Files\Microsoft SDK\include
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
C:\PROGRAM FILES\TCL\INCLUDE
C:\PYTHON21\INCLUDE
Library:
C:\Program Files\Microsoft SDK\lib
C:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB
C:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB
C:\PROGRAM FILES\TCL\LIB
C:\PYTHON21\LIBS

And review the SDK options, you can do that by going to the folder you've installed the
PSDK and opening the file:
Default_Local.htm

My full info is here:

Integrate with Microsoft Visual C++- Installed=20=20
Updated: December 2001
If this option is not selected, Microsoft Visual C++ cannot find the SDK headers
and libraries unless you manually add these directories to the search paths.
You may additionally need to set the WINVER, WIN32_IE, WIN32_WINNT, or WIN32_WINDOWS macros
to build your project successfully. (Build 5.1.3590.2)

Integrate with Microsoft Visual C++ - Installed

--------------------------------------------------------------------------

Common Setup Files- Installed
Updated: November 2001
(Build 5.1.3590.2)

Common Setup Files - Installed

--------------------------------------------------------------------------

Debugging Tools for Windows- Installed
Updated: July 2001
(Build 5.1.3590.2)

Debugging tools for Windows - Installed

--------------------------------------------------------------------------

Core SDK (November 2001)- Installed
Updated: November 2001
(Build 5.1.3590.2)

Build environment - Installed
Documentation (release and prerelease) - Installed
Build environment (64-bit) - Installed
Build environment (prerelease) - Installed
Build environment (64-bit prerelease) - Installed
Tools (64-bit) - Installed
Sample and source code - Installed

--------------------------------------------------------------------------

Register environment variables- Installed
Updated: December 2001
If this option is not selected, run Setenv.bat at the command line to set these variables manually.
(Build 5.1.3590.2)

Register environment variables - Installed

--------------------------------------------------------------------------


Internet Development SDK (Version 6.0)- Installed
Updated: November 2001
(Build 5.1.3590.2)

Sample and source code - Installed
Documentation - Installed
Build environment - Installed

_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs




More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook