[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Development
. . -> [Subject]  Compiling MUSHclient under Windows 10 / Visual Studio 14
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Compiling MUSHclient under Windows 10 / Visual Studio 14

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Fri 01 Jul 2016 01:52 AM (UTC)

Amended on Fri 01 Jul 2016 01:54 AM (UTC) by Nick Gammon

Message
Microsoft have released a free version of Visual Studio, which includes MFC these days. So it is now easy to recompile MUSHclient.

You can get it from https://www.visualstudio.com/free which redirects to https://www.visualstudio.com/products/free-developer-offers-vs.

Choose the Visual Studio Community download:



The is a small installer program. When run you can choose what you want. I went for Custom and I selected the following items:



Note that you need around 18 GB of disk to install.

After installing you can grab a copy of the MUSHclient source from https://github.com/nickgammon/mushclient

Personally I would install Git and use that to get the source, because then you can get updates in the future. Using the Git command line, go to a suitable directory and enter:



Alternatively you could download the .zip file with this link:

https://github.com/nickgammon/mushclient/archive/master.zip

After opening Visual Studio you should be able to open the "solution" file in the MUSHclient source folder.

Then build the solution and you should get an error-free compile (maybe with a warning or two).

For testing you need various other files which are normally in the MUSHclient release distribution, such as lua5.1.dll, and the resources file which is in the "locale" directory.

The easiest way to test would be to copy the MUSHclient.exe file from the build (in the Windebug directory) into an existing MUSHclient download. That way all the support files and folders are in the right place.




If you got the source using Git, when new versions are released, you can get them by using the Git "shell" and typing:


git fetch
git merge origin/master

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


1,512 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]