Page 1 of 1

MQ2 Exchange build error.

Posted: Sat Apr 16, 2011 8:54 am
by Skyjet2000
Getting an error when I try to add the MQ2Exchange plugin.

I've successfully installed the mq2bagwindow plugin, logged in with it, (add the xml) and reloaded the UI.

When I then try to compile mq2exchange (after adding the moveitem.h file into root directory) I get this.

Compiling...
MQ2Exchange.cpp
EQLIB_IMPORTS
.\MQ2Exchange.cpp(38) : error C2039: 'Item' : is not a member of 'EQData::_CONTENTS'
c:\users\k\desktop\mq2\mq2main\EQData.h(612) : see declaration of 'EQData::_CONTENTS'
.\MQ2Exchange.cpp(55) : error C2039: 'Item' : is not a member of 'EQData::_CONTENTS'
c:\users\k\desktop\mq2\mq2main\EQData.h(612) : see declaration of 'EQData::_CONTENTS'
.\MQ2Exchange.cpp(55) : error C2227: left of '->Size' must point to class/struct/union/generic type
.\MQ2Exchange.cpp(55) : error C2039: 'Item' : is not a member of 'EQData::_CONTENTS'
c:\users\k\desktop\mq2\mq2main\EQData.h(612) : see declaration of 'EQData::_CONTENTS'
.\MQ2Exchange.cpp(55) : error C2227: left of '->SizeCapacity' must point to class/struct/union/generic type
.\MQ2Exchange.cpp(57) : error C2039: 'Item' : is not a member of 'EQData::_CONTENTS'
c:\users\k\desktop\mq2\mq2main\EQData.h(612) : see declaration of 'EQData::_CONTENTS'
.\MQ2Exchange.cpp(57) : error C2227: left of '->Name' must point to class/struct/union/generic type
.\MQ2Exchange.cpp(57) : error C2039: 'Item' : is not a member of 'EQData::_CONTENTS'
c:\users\k\desktop\mq2\mq2main\EQData.h(612) : see declaration of 'EQData::_CONTENTS'
.\MQ2Exchange.cpp(57) : error C2227: left of '->Name' must point to class/struct/union/generic type
.\MQ2Exchange.cpp(80) : error C2039: 'Item' : is not a member of 'EQData::_CONTENTS'
c:\users\k\desktop\mq2\mq2main\EQData.h(612) : see declaration of 'EQData::_CONTENTS'
.\MQ2Exchange.cpp(80) : error C2227: left of '->Name' must point to class/struct/union/generic type


Any idea what I'm doing incorrectly?

Re: MQ2 Exchange build error.

Posted: Sat Apr 16, 2011 9:20 am
by bho
I believe this is answered and corrected in the MQ2Exchange thread.

Re: MQ2 Exchange build error.

Posted: Sat Apr 16, 2011 9:32 am
by Maskoi
Get the newest version of moveitems.h

Re: MQ2 Exchange build error.

Posted: Sat Apr 16, 2011 10:54 am
by Skyjet2000
Maskoi wrote:Get the newest version of moveitems.h
I've gotten the latest version with the 0415 update. Still getting the same error =(

Re: MQ2 Exchange build error.

Posted: Sat Apr 16, 2011 11:14 am
by Maskoi

Re: MQ2 Exchange build error.

Posted: Sat Apr 16, 2011 2:17 pm
by pms
Stop making new threads for existing plugins. Maskoi's links are all you need with the latest zip.