-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update "How to build" in README #222
Comments
Here's a start to a Wiki... Installing WIX for mtapi
|
From forum channel:
|
I think I need some more help here. After having already installed VS2017 + WIX dep's as shown above, and having done: What are the next steps to import and compile the project (when using VS Code)? |
I made some updates in readme. |
WIP 🚧What's a better place to test README markup files, but in an issue post!? How to Build SolutionTo build the solution for MT4, you need to choose the configuration to build for
For building the solution for MT5, you need to choose the configuration to build for
All binaries are placed in the project root folder, in the build directory: MQL files have been pre-compiled to
Changing the source code of the MQL Expert Advisor (EA), requires recompilation with Before you can recompile the EA, you need to add/place the following MQL library files, in the MetaEditor
The C:\Users\<username>\AppData\Roaming\MetaQuotes\Terminal\<terminal-hash>\MQL5\Include\. Project Structure
InstallationUse the installers to setup all libraries automatically.
To quickly navigate to the trading platform data folder, click: |
@vdemydiuk |
PS. I am still not able to compile, using these instructions.
|
🥵 --- ➡️ --- 🥇Thanks to some amazing help by @vdemydiuk I have now been able to compile this whole project for MT4 on a First things first. make sure you have cloned the latest version of this repo.
# cd D:\myDev\_gh_cloned\
#git clone --depth=1 --no-tags [email protected]:vdemydiuk/mtapi.git # ssh -- better
git clone --depth=1 --no-tags https://github.com/vdemydiuk/mtapi.git # http --faster
cd mtapi Installation InstructionsNext Prepare yourself for
More interestingly you may also try to just import all the requirements I had, by clicking Click Me!➡️ Import This:
🥇
|
The tree structure of all available DLL's, after a successful release build: Click Me!# tree --dirsfirst --prune -P *.dll ./
./
├── build
│ └── products
│ ├── Debug
│ │ ├── MT5Connector.dll
│ │ ├── MtApi.dll
│ │ ├── MTApiService.dll
│ │ ├── MTConnector.dll
│ │ └── Newtonsoft.Json.dll
│ └── Release
│ ├── MT5Connector.dll
│ ├── MtApi.dll
│ ├── MtApi5.dll
│ ├── MTApiService.dll
│ ├── MTConnector.dll
│ └── Newtonsoft.Json.dll
├── Examples
│ └── MatLab
│ └── AdvancedExample
│ └── DLL
│ └── MtApi5.dll
├── MtApi
│ └── obj
│ ├── Debug
│ │ └── MtApi.dll
│ └── Release
│ └── MtApi.dll
├── MtApi5
│ └── obj
│ └── Release
│ └── MtApi5.dll
├── MTApiService
│ └── obj
│ ├── Debug
│ │ └── MTApiService.dll
│ └── Release
│ └── MTApiService.dll
├── MtApiSetupActions
│ ├── bin
│ │ ├── Debug
│ │ │ ├── Microsoft.Deployment.WindowsInstaller.dll
│ │ │ ├── MtApiSetupActions.CA.dll
│ │ │ └── MtApiSetupActions.dll
│ │ └── Release
│ │ ├── Microsoft.Deployment.WindowsInstaller.dll
│ │ ├── MtApiSetupActions.CA.dll
│ │ └── MtApiSetupActions.dll
│ └── obj
│ └── x86
│ ├── Debug
│ │ ├── MtApiSetupActions.CA.dll
│ │ └── MtApiSetupActions.dll
│ └── Release
│ ├── MtApiSetupActions.CA.dll
│ └── MtApiSetupActions.dll
├── packages
│ ├── log4net.2.0.5
│ │ └── lib
│ │ ├── net10-full
│ │ │ └── log4net.dll
│ │ ├── net11-full
│ │ │ └── log4net.dll
│ │ ├── net20-full
│ │ │ └── log4net.dll
│ │ ├── net35-client
│ │ │ └── log4net.dll
│ │ ├── net35-full
│ │ │ └── log4net.dll
│ │ ├── net40-client
│ │ │ └── log4net.dll
│ │ ├── net40-full
│ │ │ └── log4net.dll
│ │ └── net45-full
│ │ └── log4net.dll
│ ├── MSBuild.ILMerge.Task.1.0.5
│ │ └── tools
│ │ └── MSBuild.ILMerge.Task.dll
│ ├── Newtonsoft.Json.12.0.2
│ │ └── lib
│ │ ├── net20
│ │ │ └── Newtonsoft.Json.dll
│ │ ├── net35
│ │ │ └── Newtonsoft.Json.dll
│ │ ├── net40
│ │ │ └── Newtonsoft.Json.dll
│ │ ├── net45
│ │ │ └── Newtonsoft.Json.dll
│ │ ├── netstandard1.0
│ │ │ └── Newtonsoft.Json.dll
│ │ ├── netstandard1.3
│ │ │ └── Newtonsoft.Json.dll
│ │ ├── netstandard2.0
│ │ │ └── Newtonsoft.Json.dll
│ │ ├── portable-net40+sl5+win8+wp8+wpa81
│ │ │ └── Newtonsoft.Json.dll
│ │ └── portable-net45+win8+wp8+wpa81
│ │ └── Newtonsoft.Json.dll
│ └── Newtonsoft.Json.8.0.3
│ └── lib
│ ├── net20
│ │ └── Newtonsoft.Json.dll
│ ├── net35
│ │ └── Newtonsoft.Json.dll
│ ├── net40
│ │ └── Newtonsoft.Json.dll
│ ├── net45
│ │ └── Newtonsoft.Json.dll
│ ├── portable-net40+sl5+wp80+win8+wpa81
│ │ └── Newtonsoft.Json.dll
│ └── portable-net45+wp80+win8+wpa81+dnxcore50
│ └── Newtonsoft.Json.dll
└── TestClients
├── MtApi5TestClient
│ ├── bin
│ │ └── Release
│ │ ├── MtApi5.dll
│ │ ├── MTApiService.dll
│ │ └── Newtonsoft.Json.dll
│ └── obj
│ └── x86
│ └── Release
│ └── TempPE
│ └── Properties.Resources.Designer.cs.dll
├── TestApiClientUI
│ ├── bin
│ │ ├── Debug
│ │ │ ├── MtApi.dll
│ │ │ ├── MTApiService.dll
│ │ │ └── Newtonsoft.Json.dll
│ │ └── Release
│ │ ├── MtApi.dll
│ │ ├── MTApiService.dll
│ │ └── Newtonsoft.Json.dll
│ └── obj
│ └── x86
│ └── Release
│ └── TempPE
│ └── Properties.Resources.Designer.cs.dll
└── TestMtApi
└── TestMtApi
├── bin
│ ├── Debug
│ │ ├── MtApi.dll
│ │ ├── MTApiService.dll
│ │ └── Newtonsoft.Json.dll
│ └── Release
│ ├── MtApi.dll
│ ├── MTApiService.dll
│ └── Newtonsoft.Json.dll
└── obj
└── x86
└── Release
└── TempPE
└── My Project.Resources.Designer.vb.dll
84 directories, 69 files The tree structure of all available Click Me!# tree --dirsfirst --prune -P *.exe ./
./
├── build
│ └── installers
│ ├── Debug
│ │ └── MtApi_Setup.exe
│ └── Release
│ ├── MtApi_Setup.exe
│ └── MtApi5_Setup_x86.exe
├── packages
│ └── ILMerge.2.13.0307
│ └── ILMerge.exe
├── TestClients
│ ├── MtApi5TestClient
│ │ ├── bin
│ │ │ └── Release
│ │ │ └── MtApi5TestClient.exe
│ │ └── obj
│ │ └── x86
│ │ └── Release
│ │ └── MtApi5TestClient.exe
│ ├── TestApiClientUI
│ │ ├── bin
│ │ │ ├── Debug
│ │ │ │ └── TestApiClientUI.exe
│ │ │ └── Release
│ │ │ └── TestApiClientUI.exe
│ │ └── obj
│ │ └── x86
│ │ ├── Debug
│ │ │ └── TestApiClientUI.exe
│ │ └── Release
│ │ └── TestApiClientUI.exe
│ └── TestMtApi
│ └── TestMtApi
│ ├── bin
│ │ ├── Debug
│ │ │ └── TestMtApi.exe
│ │ └── Release
│ │ └── TestMtApi.exe
│ └── obj
│ └── x86
│ ├── Debug
│ │ └── TestMtApi.exe
│ └── Release
│ └── TestMtApi.exe
└── vcredist
├── vc_redist.x64.exe
└── vc_redist.x86.exe
31 directories, 16 files |
MtApi5_Setup_x86.exe are obsolete. |
That's great new. Finally get rid of that extra "crust". Now it will be clear what's 32 vs 64 bit without confusing installations. Which mean that perhaps the next installer would do both MT4 and MT5. |
Maybe there will be big changes soon anyway. Maybe it makes sense to wait until then and then reorient the project. |
FAQ item: Taken from Telegram:
|
Please update the building section of your README to include more details.
The following really can't get anyone started.
(Yes, I installed VS and WIX, then what?)
The text was updated successfully, but these errors were encountered: