mqlidea
mqlidea copied to clipboard
Building
I don't know, if I am too stupid, but I can't compile my .mq4 file. I've set the metaeditor.exe as SDK and choose the file. When I run, it exits with code 0, but no file where compiled and the log file is empty. The command-line, which executes by IntelliJ is: "C:/Program Files (x86)/MetaTrader 4/metaeditor.exe" "/compile:MACD Sample.mq4" /log Compiling manually over command-line works fine, but then I would use the full path to the .mq4 file. Hopefully someone can help. I'm using version 171.1.16 of the plugin.
Looks like file name is missed in the command line. What is the actual mq4 file name?
Other options to check:
- Could you install and use metatrader from some folder inside your user dir? or
- Could you specify build folder inside your user dir?
The name was removed by github, because I used "< my file >" for it.
I have tried several over things, which then solved the problem. The problem was with "MACD Sample.mq4", because the name contains spaces and then the command-line isn't right. It shouldn't use quotation marks before and after /compile: and it doesn't if the name does not contain any spaces.
Good catch! Will be fixed next week.
Good catch! Will be fixed next week.
Hello @mfursov - The last master branch commit (20 Jun 2017) predates this achnowledged issue of failing to compile files containing spaces due to misplaced quotation marks around cmdline parameters...
It would be great if a change to fix this issue is..
- uploaded to EAP which is still at version 171.1.16
- made available via the releases tab here on GitHub
After 7 months of inactivity, i'm sure others will agree with me in the hope that this is not abandonware.
Thank you