OpenMETA can be compiled from the source code in this repository. Compilation requires a Windows PC and access to the internet (for downloading NuGet packages).
Follow these configuration instructions, in order, to set up your machine to build OpenMETA from source.
Install Windows updates until your version is current
The solution will build with Microsoft Visual Studio 2015 or 2017.
NOTE: Will not compile with Visual Studio Code
When installing Visual Studio, select these packages (at minimum):
- C++
- C#
You must also install:
- Visual Studio 2015 Build Tools (download)
- Visual C++ 2015 Build Tools (download)
- Select the "ATL/MFC SDK" package (at minimum)
NOTE: Will not compile under Express Edition
When installing Visual Studio, select these packages (at minimum):
- C++
- C#
You must also install Microsoft Visual Studio 2015 Update 3 (download)
Visual Studio Installer -> Modify -> Individual Components -> .NET Framework 4.6.2 Developer Pack
NOTE: Either x86 or x64 is okay
Set environment variable JAVA_HOME to the installed directory, such as C:\Program Files (x86)\Java\jdk1.7.0_09
or C:\Program Files\Eclipse Adoptium\jdk-8.0.352.8-hotspot
The actual name of the subdirectory depends on what version you have installed.
GME_x64 is the best-tested (but 32-bit should work too)
Again, install Windows updates until everything is current. Restart your computer.
git.exe
must be in your PATH
. For msysgit
, select Use Git from the Windows Command Prompt
during installation.
Clone this repository to your disk.
- Open Visual Studio Command Prompt (2015 or 2017) with ”Run as administrator”. (Do not use "x64 Native Tools Command Prompt" or "x86 x64 Cross Tools Command Prompt")
- From the root repository directory, run
make_all_without_installer.cmd
. This may take 30 minutes to build. (Warnings may be ignored, but there should be no errors.)
If you encounter errors, try to build once more. There may be some remaining race conditions in the build scripts.
Run bin\Python27\Scripts\python.exe deploy\build_msi.py
to build the installer.