MQ2 Exchange build error.

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

Skyjet2000
orc pawn
orc pawn
Posts: 17
Joined: Mon Mar 28, 2011 8:00 am

MQ2 Exchange build error.

Post by Skyjet2000 » Sat Apr 16, 2011 8:54 am

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?

bho
a ghoul
a ghoul
Posts: 130
Joined: Mon Aug 16, 2004 11:11 am

Re: MQ2 Exchange build error.

Post by bho » Sat Apr 16, 2011 9:20 am

I believe this is answered and corrected in the MQ2Exchange thread.

Maskoi

Re: MQ2 Exchange build error.

Post by Maskoi » Sat Apr 16, 2011 9:32 am

Get the newest version of moveitems.h

Skyjet2000
orc pawn
orc pawn
Posts: 17
Joined: Mon Mar 28, 2011 8:00 am

Re: MQ2 Exchange build error.

Post by Skyjet2000 » Sat Apr 16, 2011 10:54 am

Maskoi wrote:Get the newest version of moveitems.h
I've gotten the latest version with the 0415 update. Still getting the same error =(

Maskoi

Re: MQ2 Exchange build error.

Post by Maskoi » Sat Apr 16, 2011 11:14 am


User avatar
pms
a grimling bloodguard
a grimling bloodguard
Posts: 663
Joined: Mon Jan 31, 2005 5:20 pm
Location: Internet, Earth
Contact:

Re: MQ2 Exchange build error.

Post by pms » Sat Apr 16, 2011 2:17 pm

Stop making new threads for existing plugins. Maskoi's links are all you need with the latest zip.