diff -Naur lammps-21Oct08/src/MAKE/Windows/notes.4 lammps-24Oct08/src/MAKE/Windows/notes.4 --- lammps-21Oct08/src/MAKE/Windows/notes.4 1969-12-31 17:00:00.000000000 -0700 +++ lammps-24Oct08/src/MAKE/Windows/notes.4 2008-10-24 08:37:56.000000000 -0600 @@ -0,0 +1,25 @@ +Compiling LAMMPS under MS Windows: + +Tips from Jamie Sanchez +jamiesanchezuk@gmail.com +24 Oct 2008 + +------------------- + +1. add the line #include "erfc.h" in the following files: +pair_coul_long.cpp +pair_lj_charmm_coul_long.cpp +pair_lj_cut_coul_long.cpp + +2. disable dump DCD in style.h + +I'm using Visual Studio 2008 in a Win XP and if I don't disable this +option the code does not compile. + +3. in read_restart.cpp comment line +#include "dirent.h" +then comment lines 323 to 340 + +I'm not using read_restart in Windows runs so even though this allows +the code to compile successfully I don't necessarily know what this +will do if you use this command in windows diff -Naur lammps-21Oct08/src/atom_vec_hybrid.cpp lammps-24Oct08/src/atom_vec_hybrid.cpp --- lammps-21Oct08/src/atom_vec_hybrid.cpp 2008-02-08 12:47:58.000000000 -0700 +++ lammps-24Oct08/src/atom_vec_hybrid.cpp 2008-10-24 10:04:25.000000000 -0600 @@ -331,6 +331,7 @@ for (int iextra = 0; iextra < atom->nextra_grow; iextra++) m += modify->fix[atom->extra_grow[iextra]]->pack_exchange(i,&buf[m]); + buf[0] = m; return m; }