cxgeorge 24 years ago
parent
commit
7093039848
1 changed files with 48 additions and 6 deletions
  1. 48 6
      panda/src/doc/howto.install_panda_on_windows

+ 48 - 6
panda/src/doc/howto.install_panda_on_windows

@@ -33,7 +33,39 @@ Step 0: Map network drive to build tools drive
   - select reconnect drive at startup
   - if this doesnt work, you can install the build tools from CD
 
-Step 1: Install Visual C++ (v6.0)
+Step 1: 
+  Choose whether to use Visual C++ v7.0 or v6.0
+  
+  To Install VC++ 7.0
+        Run v:\msvc7\vc_setup\setup.exe, or install from the MSDN 'Visual Studio.NET' CD
+        Click on 'Windows Component Update' (if it is highlighted, else click '2')
+        Click 'Continue' (Selecting 'Do not use this machine to host web projects')
+        You will install IE6, which will requires a reboot.  Give your pw if you
+        want it to happen automatically.
+        
+        After rebooting, setup should start again.  If it does not, go back and rerun
+        it, it should remember where it left off.
+        
+        After installing components, you are ready to install VC7 in Step 2.
+        Enter this step and enter the product-key, which is stored in
+        V:\msvc7\vc7-prodkey.txt
+        
+        On the 'select items to install page', you need uncheck things to avoid wasting 
+        gigs of extra space and install time.  Uncheck everything except for
+        Language Tools->Visual C++, Server Components->Remote Debugger->Native Remote
+        Debugger, and if you want, Documentation (this is a gig, and is only a slight
+        update if you already have MSDN installed locally though.  you will want to
+        uninstall the separately-installed MSDN docs if you get this.)
+        
+        Unlike VC 6.0, there is no option to add the required compiler bin 
+        directories to the environment path automatically.  To do this, if you 
+        are running from the NT command line, run 
+        "C:\Program Files\Microsoft Visual Studio .NET\Vc7\bin\vcvars32.bat"
+        
+        If you are using tcsh.exe under cygwin, see step 4.5 to setup the environment after
+        your shell environment is running properly
+  
+  To Install Visual C++ (v6.0)
   - Run V:\msvc-6.0\setup.exe, or install from CD.  
     For a faster install, select custom install and uncheck everything
     but Visual C++, Data Access, ActiveX, and Tools
@@ -45,14 +77,16 @@ Step 1: Install Visual C++ (v6.0)
     Install from CD, or by running V:\msdn-apr01\setup.exe.  To save time and
     disk space, choose custom install and uncheck everything but Text-Search 
     Index, VC++, Platform SDK, Knowledge Base, and All Other Files.
-  
-Step 2: Install MS Platform SDK to get updated VC libs and headers
-  - Install MS Platform SDK in default location. 
-  - Run v:\platform-sdk\setup.exe to install the Feb 2001 Platform SDK. 
+    
+  - Install MS Platform SDK to get updated VC libs and headers
+  - Run v:\platform-sdk\setup.exe to install the Feb 2001 Platform SDK and
+    choose 'Install MS Platform SDK in default location.'
    (there may be problems with other newer versions of the Platform SDK) 
     This should prepend the Platform SDK paths to your PATH,INCLUDE, 
     and LIB dirs.  Building libpandadx requires this step (needs DX7 
     headers/libs)
+    
+Step 2: has been deleted
 
 Step 3: Install Cygwin (v1.3.5 or above should work)
   - Install Cygwin by running V:\cygwin-1.3.5\setup.exe, and selecting 
@@ -148,7 +182,7 @@ do 'source setup_env.csh' to do all of the below automatically
       > mount -s -b I:/beta /beta
       > mount -s -b I:/gamma /gamma
       > mount -s -b J:/ /for
-
+      
 Step 4: Create your home directory
   - Create a HOME directory:
     > mkdir /usr/<yourname>
@@ -179,6 +213,14 @@ Step 4: Create your home directory
     that CVSROOT is correct for your CVS login (if $USERNAME is not
     the same as your CVS/Unix account name, edit the variable as
     necessary).
+    
+
+Step 4.5:
+    If using VC++ 7.0
+        'source $WINTOOLS/bin/setup_msvc7.csh'  (ignore any 'already exists' messages)
+        You will want to copy the top portion of setup_msvc7.csh to your .cshrc, and put
+        'set_msvc7' cmd from the script at the end of your .cshrc to set up the PATH properly 
+        as well as do the 'setenv USE_COMPILER MSVC7'.
 
 Step 5: Update /usr/local/etc:
   - Copy vspec files from $WINTOOLS to /usr/local/etc