- Compile using console command?
- New MetaTrader 5 Platform Build 5200: Extended OpenBLAS support and enhanced control in MQL5
- Editing, compiling, and running programs
your issue reads like you should be sending a msg to both support and post below the release version of your mt4/5 thread.
But without an example of code that you know will replicate the issue, how can you expect any response? This is a technical forum after all.
I have provided examples code snippets and software versions below.
Uncompilable example:
int OnInit() { vector v; v.Resize(1000); return(INIT_SUCCEEDED); }
Output:
[Starting] [20:42:54] Compiling >>> Reproducer2.mq5 <<< 'Reproducer2.mq5' 453 msec elapsed
Compilable example:
int OnInit() { // vector v; // v.Resize(1000); return(INIT_SUCCEEDED); }
Output:
[Starting] [20:43:12] Compiling >>> Reproducer2.mq5 <<< 'Reproducer2.mq5' [Done] Result: 0 errors, 0 warnings, 651 msec elapsed, cpu='X64 Regular'
VSCode
- Version: 1.102.2 (user setup)
- Commit: c306e94f98122556ca081f527b466015e1bc37b0
- Date: 2025-07-22T12:15:48.520Z
- Electron: 35.6.0
- ElectronBuildId: 11847422
- Chromium: 134.0.6998.205
- Node.js: 22.15.1
- V8: 13.4.114.21-electron.0
- OS: Windows_NT x64 10.0.19045
MQL Tools
- Identifier: l-i-v.mql-tools
- Version: 2.2.0
- Last Updated: 2025-05-02, 21:52:33
Please confirm whether this is a bug with CLI compilation of vector functions.
If yes, can this be fixed?
GUI compilation works correctly, but CLI compilation fails silently.
Thank you.
I got a response from the MQL5 team.
To any one having the same issue, updating to build 5200 fixes it.
Thank you all.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use