Compile MaNGOS On Windows
来源:互联网 发布:ssh三大框架书籍知乎 编辑:程序博客网 时间:2024/06/03 21:27
The following is a tutorial for compiling MaNGOS on Windows (Before proceeding, please make sure you have read this, and this thoroughly.)
Contents
- 1 Required Software
- 2 Installing Visual C++ 2008 Express Edition
- 3 Getting the source tarball from github
- 4 Compiling MaNGOS using Visual C++ 2008 Express Edition
- 5 Post-Compile
Required Software
- Windows XP, Vista, or 7; 32-bit or 64-bit.
- Microsoft Visual Studio 2008 (or, bypass it) and go to Microsoft VS 2010.
- Visual C++ 2008 Express Edition with SP1(Version 9/2008) The project now successfully builds in Msoft VS 2010.
- Microsoft Platform SDK
- A way to get the source.
- Download the source tarball from git hub.
Installing Visual C++ 2008 Express Edition
- Download either Visual Studio 2008, or Visual Studio 2010 from Microsoft
- Install, and allow it to update.
Getting the source tarball from github
- Download
- Extract to "C:/sources/mangos" (Use a program like WinRaR or 7-Zip)
Compiling MaNGOS using Visual C++ 2008 Express Edition
- Browse your computer to "C:/sources/mangos/win/" and double-click the mangosdVC90.sln file if you're using 2008, or mangosdVC100.sln for 2010.
- In the VC++ application window select Build -> Configuration Manager from the menu.
- Select "Release" in the drop down for "Active Solution Configuration" "Active Solution Platform" should default to "Win32" (on a 64Bit OS, you can try x64 for more performance, errors may occur, and builds may fail).
- Close the dialog.
- Now select Build->Build Solution from the menu. (Note: If you had an error or are having problems with the build you can select Build->Clean Solution to "reset" the compilation.)
- Your MaNGOS application will now begin compiling.
Post-Compile
This may take quite some time depending on the speed of your processor. You WILL get various warning messages. This is expected and should not alarm you. When the process is complete you should see a message like "Build: 11 succeeded, 0 failed, 0 up-to-date, 0 skipped". The key is to make sure that failed = 0. (If you are doing an update of an existing build you may get a message like "Build: 3 succeeded, 0 failed, 8 up-to-date, 0 skipped". Again, no failures so you are in good shape.)
The files needed to run MaNGOS are now in your "C:/sources/mangos/bin/release/" directory. You will need to copy any *.exe and *.dll files you find in this directory and place them in the directory where you plan on running MaNGOS. (i.e. "C:/MaNGOS")
You will also need to retrieve the *.conf.in files from "C:/sources/mangos/src/mangosd/" and "C:/sources/mangos/src/realmd/" and rename them both by removing the ".in" or ".dist.in" from the filenames.
You still must configure MaNGOS before running the server. This guide only covers compiling the binaries to create the application.
The tutorial for setting up the server you can find here.
If you have any questions or run into problems with these procedures please post your issues in the forums and someone will attempt to help you.
原文地址: http://getmangos.com/wiki/Compile_MaNGOS_On_Windows
- Compile MaNGOS On Windows
- OpenOCD compile on Windows
- Compile openssl on windows
- How to compile x264 on Windows?
- How to compile x264 on Windows
- How To Compile GLUT on Windows
- Create,Compile,Configure,MaNGOS + UDB + Scriptdev2(IMAGES)
- 关于mplayer on Windows how to compile 资料
- Compile C++ on AIX
- compile emule on vs2005
- Compile Clang on Fedora15
- Compile FFmpeg on Ubuntu
- libmad compile on ubuntu
- Compile FFmpeg on Ubuntu
- openssl compile on linux
- compile nginx on linux
- Compile FFmpeg on Ubuntu
- Compile FFmpeg on CentOS
- xml作用
- 实现ASP.NET中FileUpload多文件上传
- 网络编程视频学习
- 设计模式(三)--装饰者模式(2)
- 堆和栈的区别 (BY 任我行)
- Compile MaNGOS On Windows
- 事半功倍 ---- 快速复制图片和文字到多张幻灯片
- void指针
- //让 Edit 只接受数字
- Null value was assigned to a property of primitive type setter
- 自选图形的艺术组合——圆形
- MFC中获得文件夹路径的方法
- GDI+ 中 delete 陷阱
- VC++中打开文件和保存文件对话框的调用