diff --git a/panda/src/doc/howto.install_panda_on_windows.cyg-1.3.2 b/panda/src/doc/howto.install_panda_on_windows.cyg-1.3.2 index 923cba9c6a..14d48f8543 100644 --- a/panda/src/doc/howto.install_panda_on_windows.cyg-1.3.2 +++ b/panda/src/doc/howto.install_panda_on_windows.cyg-1.3.2 @@ -9,28 +9,19 @@ of the world, see INSTALL.txt in this directory. -To install Panda3D on WinNT/Win2000/Win98: +To install Panda3D on WinXP/Win2000/WinNT ------------------------------------- Notes: Lines preceeded by ">" are instructions to be typed on the command line. On WinNT, make sure your system clock is not set to GMT (only worry about this if your makedepend seems out of sync, i.e. you constantly reinstall old files over more current ones). - Opengl appears to be installed with the os for both WinNT and Win98, but I - read somewhere that we might want to do our own version control for - this eventually using "VerInstallFile" to install our own version of - OpenGl. "Touch" doesn't quite work properly on WinNT or Win98 currently. Make sure you run ftp in "binary" mode to fetch tarballs. "ftp" doesn't currently read "backspace" in rxvt, so you'll just have to be precise at the ftp prompt for now ("delete" doesn't work either). If this really bugs you, you can create a shortcut on the Desktop to "tcsh.exe" and run ftp properly from there rather than from rxvt. - Occasionally, a freshly opened shell will hang in the middle of - attaching or something. This appears to be a race condition in - cshrc that appears only on multiprocessor machines. If this - happens, go ahead and kill the tcsh process (or ftp or rxvt - process) using the Task Manager and try again. Make sure your machine has enough disk space - I'd start with the largest open space on any of your partitions. Make sure your machine has networking (IP, gateway, etc.) so you can use @@ -46,7 +37,7 @@ Step 1: 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 - - On WinNT, you will be prompted to register environment variables for + - On WinNT/XP/2000, you will be prompted to register environment variables for running the compiler from the command line - do it. - Install MSVC Service Pack 5 by running V:\msvc-sp5\setupsp5.exe, or from CD You may need to run v:\msvc-sp5\mdac_typ.exe first (setup will tell you if so) @@ -58,7 +49,7 @@ Step 1: Install Visual C++ (v6.0) 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. - (there may be problems with other versions of the Platform SDK) + (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) @@ -69,24 +60,25 @@ Step 3: Install Cygwin (v1.3.5 or above should work) from the link there to install the latest version from the internet). Be careful to make sure that packages such as CVS, perl, bison, etc. which are required to build PANDA are selected for installation. + Alternatively, you can install the latest Cygwin off the Internet from + http://cygwin.com. - Open up a shell by running (and, if you desire, creating a shortcut to) tcsh.exe in: C:/Cygwin/bin + Known Problems with tcsh: + tcsh v6.09.00: (cygwin 1.0) long paths result in 'Word too long' errors + tcsh v6.10.00 (cygwin 1.3.3) uppercase filename executables not found on + path, so build fails (cant find 'CL.EXE') + tcsh v6.11.00 (cygwin 1.3.6) TAB filename completion sometimes fails + + v6.09 and v6.11 should be stored on V:\cygwin-1.3.5, you can copy them + to c:\cygwin\bin if you want to use them + Alternately, you can run a bash shell by going to the "Start" button at the bottom left of your screen, selecting "Programs", "Cygwin" and "bash". You can then run "tcsh" at the bash prompt to make things easier. - Set up the Cygwin environment: - # ignore below, this problem seems to be rectified in latest tcsh 6.11.00, - # which is latest release - # - Cygwin 1.3.5 comes with tcsh 6.10.00, which has a bug preventing - # files on the path like 'CL.EXE' from being recognized as executable - # when the shell is outside of their directory. For now we must revert - # to tcsh 6.09, do 'copy V:\cygwin-1.3.5\tcsh.exe c:\cygwin\bin'. Also - # copy more.exe from the same location, this seems to be missing in the - # latest cygwin install. - # - - all of the commands below have been collected in V:\win\install\wintools\etc\setup_env.csh. cd V:\win\install\wintools\etc, run tcsh, and do 'source setup_env.csh' to do all of the below automatically @@ -94,10 +86,10 @@ do 'source setup_env.csh' to do all of the below automatically mkdir if they don't exist. - Make the following directories: > mkdir /c /f /g /h /i /j /v - > mkdir /msvc98 /mscommon /mspsdk + > mkdir /msvc98 /mscommon /mspsdk /msvc7 /intel /ia32 > mkdir /usr/local /usr/local/bin /usr/local/etc - - Rename cygwin-installed python to avoid conflicts with required VRSTUDIO-compiled python, + - Rename any cygwin-installed python.exe (if it exists) to avoid conflicts with required VRSTUDIO-compiled python, which is custom-built to load sitecustomize.py and setup PYTHONPATH for our panda environment > mv /bin/python.exe /bin/python-cygwin.exe @@ -131,6 +123,14 @@ do 'source setup_env.csh' to do all of the below automatically > mount -s C:/Program\ Files/Microsoft\ Visual\ Studio/VC98 /msvc98 > mount -s C:/Program\ Files/Microsoft\ Visual\ Studio/Common /mscommon > mount -s C:/Program\ Files/Microsoft\ Platform\ Sdk /mspsdk + + If VC7 is installed: + > mount -s C:/Program\ Files/Microsoft\ Visual\ Studio .NET/Vc7 /msvc7 + + If Intel C++ is installed: + > mount -s C:/Program\ Files/Intel /intel + > mount -s C:/Program\ Files/Intel/Compiler60/IA32 /ia32 + - These are optional, but handy > mkdir /fat > mkdir /bit