|
Revision 557, 1.3 KB
(checked in by pennmush, 2 years ago)
|
|
PennMUSH 1.8.2p0 release candidate.
|
| Line | |
|---|
| 1 | Building PennMUSH 1.8.x under Windows with MySQL |
|---|
| 2 | ------------------------------------------------ |
|---|
| 3 | by Ervin Hearn <ehearn@pennmush.org> |
|---|
| 4 | |
|---|
| 5 | Last update: Saturday, 11 November 2006 |
|---|
| 6 | Current Version of MySQL: 5.0.27 |
|---|
| 7 | |
|---|
| 8 | These directions are oriented toward those using MSVC++ or another Graphical |
|---|
| 9 | Windows IDE. Those using MinGW+MSys should install MySQL just as if they were |
|---|
| 10 | doing so on Linux. |
|---|
| 11 | |
|---|
| 12 | 1. Download and install MySQL for Windows from http://www.mysql.org/ |
|---|
| 13 | |
|---|
| 14 | 2. Make sure that the contents of mysql/lib/opt and mysql/include are located |
|---|
| 15 | within your build environment's path. |
|---|
| 16 | |
|---|
| 17 | I recommend copying the contents of the directories listed below into your |
|---|
| 18 | compiler's lib and include directories under directories named 'mysql'. A |
|---|
| 19 | representation of this is: |
|---|
| 20 | |
|---|
| 21 | C:\Program Files\Microsoft Visual Studio\VC98\lib\mysql -> C:\mysql\lib\opt |
|---|
| 22 | C:\Program Files\Microsoft Visual Studio\VC98\include\mysql -> C:\mysql\include |
|---|
| 23 | |
|---|
| 24 | 3. Now set your active configuration to one of the Win32 MySQL profiles. |
|---|
| 25 | The project should now compile and produce a binary which includes PennMUSH's |
|---|
| 26 | MySQL functionality. |
|---|
| 27 | |
|---|
| 28 | 4. Place libmysql.dll in your C:\Windows\System32 directory and set the sql |
|---|
| 29 | directives in your mush.cnf. |
|---|
| 30 | |
|---|
| 31 | 5. From the top-level pennmush directory, the binary is: game/pennmush.exe |
|---|