L-I-V / MQL-Tools

50 stars 19 forks source link

Path to Metaeditor Mac/Linux #6

Open RichardHolanek opened 1 year ago

RichardHolanek commented 1 year ago

Hello there!

I got some issues to set up the Metaeditor path for Mac and Linux, every other steps are alright. I would understand that it could not be working Mac, because the Metaeditor file is actually .exec, so I hoped that it would work on Linux, because that Metaeditor is .exe the same way as on Windows, where it works as supposed to. Any hints or recommendations?

My path: /home/richard/.mt5/drive_c/Program Files/MetaTrader 5 0/metaeditor64.exe

I usually got this error message: [Error] Error transferring data to MetaEditor!!! [Warning] Perhaps you need to replace Invalid path to "metaeditor.exe": MQL5 [/home/richard/.mt5/drive_c/Program Files/MetaTrader 5 0/metaeditor64.exe] [Warning] to [/home/richard/.mt5/drive_c/Program Files/MetaTrader 5 0\metaeditor.exe]

Thank you.

vnt-83 commented 1 year ago

Path to metaeditor should start with wine.

MaxwellAt commented 1 year ago

I tried this solution, but the error keeps continued.

[Starting] [20:45:46] Syntax checking >>> Test.mq5 <<< [Error] 'Invalid path to "metaeditor.exe": MQL5' [ wine /home/ko4la/.mt5/drive_c/Program Files/MetaTrader 5/metaeditor64.exe ]

You can help us? Thanks!

L-I-V commented 1 year ago

Hi MaxwellAt, this problem will be solved in the future. Thanks to r7a7d7o, it will be possible to compile in Linux in the next releases.

cybervanes commented 1 year ago

Hello, any idea when we'll have the updated version wine bottle compatible for MAC mt5?

Vponed commented 1 year ago

I'm also very interested. In the Linux terminal, commands to open and compile a file work fine. Can't they be registered directly? Metaeditor is the worst IDE for development So far I’m doing this: I edit in vscode, save, compile and debug in metaeditor

lucarducci commented 1 year ago

Any update on this?

L-I-V commented 1 year ago

Hi lucarducci, the update will be released within the month.

xfzen commented 11 months ago

Same issue in Mac M1, [Starting] [17:15:21] Syntax checking >>> DEMA.mq5 <<< [Error] 'Invalid path to "metaeditor.exe": MQL5' [ wine /opt/metatrader5/metaeditor64.exe ]

DavitVosk commented 10 months ago

Is there any progress here, please? I try on Mac by adding Users/davevosk/Library/Application Support/net.metaquotes.wine.metatrader5/drive_c/Program Files/MetaTrader 5/metaeditor64.exe as MetaEditor Dir, but get an invalid path error.

Badzoneyv4n commented 9 months ago

Path to metaeditor should start with wine.

@vnt-83 did it work for you?

loookmoood1 commented 7 months ago

i have to the error "Is there any progress here, please? I try on Mac by adding Users/davevosk/Library/Application Support/net.metaquotes.wine.metatrader5/drive_c/Program Files/MetaTrader 5/metaeditor64.exe as MetaEditor Dir, but get an invalid path error."

loookmoood1 commented 7 months ago

on mac not working ?

LukeDrew commented 6 months ago

Hi @L-I-V Thank you for the extension. Just checking in to see if there are any further updates for Mac compatibility? Or get a few of us to raise funds to get this working? Thanks.

Ruslan618 commented 6 months ago

Hello, thanks for the wonderful extension, is there any progress on the path metaeditor problem? Now when I try to check the syntax, I get the following error: [Error] The file is located outside the MetaTrader 5 workspace. Although the file is located there and the path to the metaeditor64.exe is written correctly.

TtradeEA commented 5 months ago

Xin chào lucarducci, bản cập nhật sẽ được phát hành trong tháng.

The 2.1.0 update seems to have resolved the path error for Macbooks. But how to use it, please give detailed instructions?

2.1.0 Added the ability to compile on Linux and MacOS using Wine Added downloading of up-to-date help versions Added code formatting styles Methods for matrix and vector have been added to IntelliSense. Added Menu 'MQL Tools' button to the main menu of the editor Added 'Compile' and 'Compile with script' items to the Explorer menu The 'Fixing date time and color after formatting' item has been replaced by 'Styler' in the 'MQL Tools' menu. Added items to the 'MQL Tools' menu: Open 'MetaEditor' Open trading terminal Insert Color as clrColor Select formatting style

nathbhargav commented 5 months ago

In my case in ubuntu 22.04 works with the following

/home/xyz/.mt5/drive_c/Program Files/MetaTrader 5/MetaEditor64.exe

Note: At 1st I just give the "/home/xyz/.mt5/drive_c/Program Files/MetaTrader 5" as directory

brenoperucchi commented 3 months ago

System : MacOs Ventura This is my settings: image

Error: image

Open from Terminal: image

antonburmester commented 2 months ago

Same for me! Im having this log file not found issue on MACOS Silicon Sonoma. Thanks for Help

BrendanL42 commented 1 month ago

Could someone give instructions on how to set this up on a Mac M2 please ?

fbctnh commented 1 week ago

Hi @L-I-V Thank you for the extension.

Do you have any updates on how to fix this?

Screenshot 2024-11-03 at 21 51 25

Thanks for helping us!