通过 wine 通过命令行编译 MQL4 metaeditor.exe

Compiling MQL4 via command line through wine metaeditor.exe

我正在努力达到可以 compile/syntax 通过命令行检查的程度,这样我就可以避免使用 metaeditor 进行代码管理。

我正在使用此命令(也尝试使用 /s 和 /log):

wine metaeditor.exe /compile:"MQL4/Experts/MACD Sample.mq4"

来自 this MQL4 related question.

我目前得到这个输出但没有生成文件:

fixme:advapi:RegisterTraceGuidsW (0x1800f935, 0x640360, {9b18bff9-915e-4cc1-9c3e-f4ac112cb36c}, 1, 0x180b1ba0, (null), (null), 0x640378): stub
fixme:advapi:RegisterTraceGuidsW   register trace class {00000000-0000-0000-0000-000000000000}
fixme:advapi:LsaOpenPolicy ((null),0x33f950,0x00000001,0x33f948) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:process:SetProcessShutdownParameters (00000280, 00000001): partial stub.
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:advapi:LsaOpenPolicy ((null),0x33f4e0,0x00000001,0x33f4d8) stub
fixme:advapi:LsaClose (0xcafe) stub
err:winediag:nulldrv_CreateWindow Application tried to create a window, but no driver could be loaded.
err:winediag:nulldrv_CreateWindow The explorer process failed to start.
fixme:advapi:RegisterEventSourceW ((null),L"gupdate"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000000,(nil),0x0001,0x00000000,0xa4e734,(nil)): stub
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:advapi:UnregisterTraceGuids deadbeef: stub
fixme:ntoskrnl:KeInitializeEvent stub: 0x14001c1a8 1 1
fixme:ntoskrnl:IoInitializeRemoveLockEx (0x14001c1c0 1297433174 1 100 32) stub
fixme:ntoskrnl:IoAcquireRemoveLockEx (0x14001c1c0, 0x14001bfc0, "", 1, 32): stub
fixme:ntoskrnl:MmGetSystemRoutineAddress L"HalRequestIpi" not found
fixme:ntoskrnl:MmGetSystemRoutineAddress L"HalSendSoftwareInterrupt" not found
fixme:ntoskrnl:MmGetSystemRoutineAddress L"KeIpiGenericCall" not found
fixme:ntoskrnl:MmGetSystemRoutineAddress L"KeInitializeAffinityEx" not found
fixme:ntoskrnl:MmGetSystemRoutineAddress L"KeAddProcessorAffinityEx" not found
fixme:ntoskrnl:MmGetSystemRoutineAddress L"KeGetProcessorIndexFromNumber" not found
fixme:ntoskrnl:MmGetSystemRoutineAddress L"KeQueryInterruptTimePrecise" not found
fixme:ntoskrnl:MmGetSystemRoutineAddress L"KeQuerySystemTimePrecise" not found
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
wine: Call from 0x7f37f3be9f6c to unimplemented function ntoskrnl.exe.__C_specific_handler, aborting
err:seh:setup_exception stack overflow 992 bytes in thread 0036 eip 00007f37f3c1f69a esp 0000000000341220 stack 0x340000-0x342000-0x440000
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)

为清楚起见:

所以我试了一下,这似乎与文件路径的传入方式有关。

我修改为使用 metaeditor 的完全限定路径和不带引号的相对路径,如下所示:

wine /home/foo/bar/metaeditor.exe /compile:./MQL4/Experts/MACD Sample.mq4

日志只能输出到一个文件中,需要同样的路径才能工作。我只是使用自定义 IntelliJ filewatcher 来监视我的更改和 运行 我的编译脚本,而终端 运行s tail -f 在我的日志文件上。

不再需要使用 metaeditor,即使在 Linux!

哇,伙计,好挣扎啊! 这样的事情我也经历过。 EA 将使用 wine 命令行编译进行编译(但不工作!)。但是,当我使用 metaeditor.exe gui

时编译(和工作)

长话短说,最终用这个命令搞定了

/usr/bin/wine /path/to/MT4/metaeditor.exe /compile:"Z:\path\to\MT4\MQL4\Experts\Foo\Bar_EA.mq4" /include:"Z:\path\to\MT4\MQL4" /log

呸!