Building PennMUSH 1.7.x under Windows with MySQL ------------------------------------------------ by Ervin Hearn <noltar@korongil.net> Last update: Saturday, 26 June 2004 Current Version of MySQL: 4.0.20a These directions are oriented toward those using MSVC++ or MinGW Development Studio. Those using MinGW+MSys should install MySQL just as if they were doing so on Linux. 1. Download and install MySQL for Windows from http://www.mysql.org/ 2. Make sure that the contents of mysql/lib/opt and mysql/include are located within your build environment's path. I recommend creating symlinks/shortcuts with the name mysql in your compiler's lib and include directories which point to the mysql install locations. A representation of this is: C:\Program Files\Microsoft Visual Studio\VC98\lib\mysql -> C:\mysql\lib\opt C:\Program Files\Microsoft Visual Studio\VC98\include\mysql -> C:\mysql\include 3. Now set your active configuration to one of the Win32 MySQL profiles. The project should now compile and produce a binary which includes PennMUSH's MySQL functionality. 4. Place libmysql.dll in your C:\Windows\System32 directory and set the sql directives in your mush.cnf. 5. From the top-level pennmush directory, the binary is: game/pennmush.exe