summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author44trent3 <trenten102579@gmail.com>2016-11-15 15:01:09 -0600
committerPetr Mrázek <peterix@gmail.com>2016-11-15 23:13:43 +0100
commit590ff82fd1d2c3edc175900eb358d6e8571d7e5e (patch)
tree91410933e197cf21f0f9037d1863fd93f9dc1e76
parentf9d94a45eebd5fb7b14d4bcc6ad77cb96ecdd771 (diff)
downloadMultiMC-590ff82fd1d2c3edc175900eb358d6e8571d7e5e.tar
MultiMC-590ff82fd1d2c3edc175900eb358d6e8571d7e5e.tar.gz
MultiMC-590ff82fd1d2c3edc175900eb358d6e8571d7e5e.tar.lz
MultiMC-590ff82fd1d2c3edc175900eb358d6e8571d7e5e.tar.xz
MultiMC-590ff82fd1d2c3edc175900eb358d6e8571d7e5e.zip
NOISSUE Add Windows instructions to build from command line.
-rw-r--r--BUILD.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/BUILD.md b/BUILD.md
index a37975c5..6c6f7ab0 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -141,6 +141,14 @@ Getting the project to build and run on Windows is easy if you use Qt's IDE, Qt
- Test OpenSSL by making an instance and trying to log in. If Qt Creator couldn't find OpenSSL during the CMake stage, login will fail and you'll get an error.
**These build instructions worked for me (Drayshak) on a fresh Windows 8 x64 Professional install. If they don't work for you, let us know on IRC ([Esper/#MultiMC](http://webchat.esper.net/?nick=&channels=MultiMC))!**
+### Compile from command line on Windows
+1. If you installed Qt with the web installer, there should be a shortcut called `Qt 5.4 for Desktop (MinGW 4.9 32-bit)` in the Start menu on Windows 7 and 10. Best way to find it is to search for it. Do note you cannot just use cmd.exe, you have to use the shortcut, otherwise the proper MinGW software will not be on the PATH.
+2. Once that is open, change into your user directory, and clone MultiMC by doing `git clone --recursive https://github.com/MultiMC/MultiMC5.git`, and change directory to the folder you cloned to.
+3. Make a build directory, and change directory to the directory and do `cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=C:\Path\that\makes\sense\for\you`. By default, it will install to C:\Program Files (x86), which you might not want, if you want a local installation. If you want to install it to that directory, make sure to run the command window as administrator.
+3. Do `mingw32-make -jX`, where X is the number of cores your CPU has plus one.
+4. Now to wait for it to compile. This could take some time. Hopefully it compiles properly.
+5. Run the command `mingw32-make install`, and it should install MultiMC, to whatever the `-DCMAKE_INSTALL_PREFIX` was.
+6. In most cases, whenever compiling, the OpenSSL dll's aren't put into the directory to where MultiMC installs, meaning you cannot log in. The best way to fix this is just to do `copy C:\OpenSSL-Win32\*.dll C:\Where\you\installed\MultiMC\to`. This should copy the required OpenSSL dll's to log in.
# OS X