Windows 95 |
Microsoft Visual C++ 4.0
- unzip
- Using an unzip program like WinZip, unzip the mikeBotCS03.zip file into an appropriate directory (like c:\mikeBot)
- Microsoft Developer Studio
- Open Microsoft Developer Studio. Select File | New and highlight "Project Workspace":
Click OK. Then, select Console Application and type an appropriate name, like mikeBotBASE. Click Create.
Then, select Build | Settings (or press Alt + F7) and highlight the Link tab. Add "wsock32.lib" to the Libraries edit control. Click OK.
Next, select Insert | Files into Project..., go to the directory into which you unzipped the source files and select all the .cpp files. Click Add.
Now, open the file "defines.h" (listed under "Dependencies" in the "Files" list) and make sure the following #defines are set up correctly:
Finally, select Build | Build mikeBotBASE.exe (or press F7) to build the project. It should now compile and execute correctly (make sure you're connected to the Internet).
- UNIX
- AIX
- WIN95
- QLITTLE_ENDIAN / QBIG_ENDIAN
Borland C++
mikeBot Base versions 0.31 and higher include a BORLAND #define, which should be set to 1 if you are using Borland C++. The other #defines should be set appropriatly as well (see above) Thanks to Colin Skow.Microsoft Visual C++ 5.0
mikeBot Base versions 0.31 and higher comile with relative ease under MSVC++5.0. Thanks to CK Hui for the news on version 5.0 compilation.Other
If anyone has any problems or successes compiling this with other Windows 95 compilers, please tell me about them, including particulars of your system.
Send email to mbwarren@acs.ucalgary.ca
Unix, AIX, Linux |
Open the file defines.h and make sure the #defines near the top are appropriate to your system.Type make at the prompt, and the included makefile should compile everything and produce an mbot binary, which should run and connect. (Make sure the file .mikebotrc is in the same directory if you want the default flags, etc. to be loaded...basically it's just there for information purposes)
I have tested this on the following (unix) systems:
- SunOS with g++ (GNU C++) and CC (the default C++ compiler)
- AIX with xlC
Some people have reported problems compiling with gcc undex Linux. If you do get this to work, please tell me (also tell me of any problems) (email mbwarren@acs.ucalgary.ca)
Also, please tell me if it compilied on your system (and/or what you had to change to get it to compile) along with the particulars of the sytem. Thanks in advance.
Thanks to Mr. White and Jussi Kallio for help with some of the Linux compilation problems.