darwinex / DarwinexLabs

Datasets, tools and more from Darwinex Labs - Prop Investing Arm & Quant Team @ Darwinex
https://www.darwinex.com
BSD 3-Clause "New" or "Revised" License
338 stars 296 forks source link

Can't compile DWX_ZeroMQ_Server_v2.0.1_RC8.mq4 #26

Open ahita opened 4 years ago

ahita commented 4 years ago

Hi,

When I try to compile it, it gives me this issue:

"'&' - parameter passed as reference, variable expected DWX_ZeroMQ_Server_v2.0.1_RC8.mq4 206 27"

The error is on line 206, on the instruction "InterpretZmqMessage(&pushSocket, components);"

Thanks in advance

Q0paz commented 4 years ago

remove the ampersand in front of pushSocket at the line where it is called

venusg987 commented 4 years ago

removing "&" resolved the issue for me. thank you!

hisham-ash commented 4 years ago

Hi I have a similar problem compiling DWX_ZeroMQ_Server_v2.0.1_RC8.mq4 , I get the following error:

'=' - type mismatch GlobalVariable.mqh 292 12

m_hm = new HM; ## the error is in the equal sign. Can you please help me resolve it. Appreciated!

Jkarmis commented 4 years ago

Similar issue compiling DWX_ZeroMQ_Server_v2.0.1_RC8.mq4 :'::' - unexpected token GlobalVariable.mqh line 200 column 46 'create' - function not defined GlobalVariable.mqh line 200 column 48 '::' - unexpected token GlobalVariable.mqh line 211 column 32 'create' - function not defined GlobalVariable.mqh line 211 column 34

simon-sr commented 3 years ago

image image image image

These errors I get while compiling the expert. Is it supposed to work?!

stamina185 commented 3 years ago

Did someone solve the issues mentioned above?

lokoajibola commented 2 years ago

M

Did someone solve the issues mentioned above?

Make use of this link instead https://github.com/darwinex/dwx-zeromq-connector and follow the youtube video for setup. Restart your MT4 after completing the setup