Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Development ➜ Compiling MUSHclient under Windows 10 / Visual Studio 14

Compiling MUSHclient under Windows 10 / Visual Studio 14

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


Posted by Nick Gammon   Australia  (23,133 posts)  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
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.


7,949 views.

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

Go to topic:           Search the forum


[Go to top] top

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