GloMoSim 2.03 Installation in Windows XP

Before Installation

GloMoSim requires the following software to run; most of the university owned PCs have all of them installed. However, you need to make sure you have enough access rights of defining the computer environmental variables.

- Microsoft VC++ version 6.0        (Essential)

- JAVA JRE version 1.2 or higher     (For VT)

- JAVA SDK version 1.2 or higher    (For VT)

A Step-by-Step Installation Guide

1. Download GloMoSim 2.03, unzip and save (say save to "C:\glomosim\glomosim")

2. Go to glomosim/Parsec, open folder 'windows-nt-vc6.0', copy all files into Parsec directory. Delete all other folders under Parsec directory (since they are for other OS)

3. Set pcc environmental variables (For Parsec)

       1) My Computer -> Properties -> Advanced -> Environmental Variables

2) New "PCC_DIRECTORY", value = "C:\glomosim\parsec"

3) Set path "C:\glomosim\parsec\bin"

4. Set VC6.0 environmental variables (if default, go to step 5)

       1) Set include:

"C:\Program Files\Microsoft Visual Studio\VC98\MFC\Include; C:\Program Files\Microsoft Visual Studio\VC98\Include"

       2) Set lib:

"C:\Program Files\Microsoft Visual Studio\VC98\MFC\Lib; C:\Program Files\Microsoft Visual Studio\VC98\Lib"

3) Set path:

"C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin"

5. Check pcc environment by "pcc ¨Cenv" in DOS prompt (cmd)

6. GloMoSim Installation

       1) Go to glomosim\glomosim\main, do "makent.dat"

       2) Go to glomosim\glomosim\bin, find "glomosim.exe"

       3) Test glomosim. Under DOS: "glomosim config.in"

       4) "glomo.stat" is generated after simulation, compare with "glomo.stat.sample"

7. Build GloMoSim Visualisation Tool (VT)

"C:\glomosim\glomosim\JAVA_GUI", type "javac *.java", enter

8. GloMoSim is now ready to use.

Tips for Troubleshooting

1. Step 6.1, "cl" not recognised

Go to "¡­Microsoft Visual Studio\bin", do "vcvars32.bat"

2. Step 8, "warning LNK4099: PDB, vc60.pdb" was not found

Local access restrictions, does not affect VT, ignore it

(Load Date: 17/03/2003, Anyu Gao)

Back to Dave's home

or leave a message in Guestbook

Disclaimer: The information provided here is of my best knowledge, I can not accept any responsibilities for any possible errors. However, please feel free to leave a message in the Guestbook if you found anything erroneous, I will try to fix it as soon as possible. Thank you. : )

1 1