ISXEQLegacy compile problems

Moderator: MacroQuest Developers

echoism
a ghoul
a ghoul
Posts: 131
Joined: Tue Oct 19, 2004 9:59 am

ISXEQLegacy compile problems

Post by echoism » Mon Dec 12, 2005 7:43 am

With the latest zip, I was unable to compile isxeqlegacy, tho everything else seemed to function fine.

Code: Select all

c:\Program Files\ISXDK\include\ISUI\LGUIElement.h(428) : error C2228: left of '.ARGB' must have class/struct/union type
        type is 'unsigned long'
c:\Program Files\ISXDK\include\ISUI\LGUIElement.h(429) : error C2228: left of '.A' must have class/struct/union type
        type is 'unsigned long'
c:\Program Files\ISXDK\include\ISUI\LGUIElement.h(429) : error C2228: left of '.A' must have class/struct/union type
        type is 'unsigned long'
c:\Program Files\ISXDK\include\ISUI\LGUIElement.h(430) : error C2228: left of '.ARGB' must have class/struct/union type
        type is 'unsigned long'
c:\Program Files\ISXDK\include\ISInterface.h(44) : error C2061: syntax error : identifier 'fLSGenericEnumCallback'
c:\Program Files\ISXDK\include\ISInterface.h(45) : error C2061: syntax error : identifier 'fLSGenericEnumCallback'
c:\Program Files\ISXDK\include\ISInterface.h(46) : error C2061: syntax error : identifier 'fLSGenericEnumCallback'
c:\Program Files\ISXDK\include\ISInterface.h(47) : error C2061: syntax error : identifier 'fLSGenericEnumCallback'
c:\Program Files\ISXDK\include\ISInterface.h(48) : error C2061: syntax error : identifier 'fLSGenericEnumCallback'

User avatar
fearless
Not a Psychic
Posts: 2684
Joined: Wed Mar 10, 2004 3:52 pm

Post by fearless » Mon Dec 12, 2005 10:44 am

Compiling with what?
Reading . . . it's not just for me.

[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]

echoism
a ghoul
a ghoul
Posts: 131
Joined: Tue Oct 19, 2004 9:59 am

Post by echoism » Mon Dec 12, 2005 11:08 am

microsoft visual studio .net 2003

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Mon Dec 12, 2005 12:27 pm

ISXEQLegacy required some minor changes to #includes. Re-download ISXDK 27
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

echoism
a ghoul
a ghoul
Posts: 131
Joined: Tue Oct 19, 2004 9:59 am

Post by echoism » Mon Dec 12, 2005 12:52 pm

Thanks lax.

User avatar
three-p-o
a grimling bloodguard
a grimling bloodguard
Posts: 600
Joined: Sun Nov 03, 2002 5:59 pm

Post by three-p-o » Mon Apr 17, 2006 12:57 pm

I am getting a different error compiling legacy.

Code: Select all

ISXEQLegacy.cpp(16) : error C2332: 'class' : missing tag name
ISXEQLegacy.cpp(16) : warning C4099: '__unnamed' : type name first seen using 'struct' now seen using 'class'
        C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\RpcNdr.h(218) : see declaration of '__unnamed'
ISXEQLegacy.cpp(16) : error C2628: '__unnamed' followed by 'unsigned' is illegal (did you forget a ';'?)
ISXEQLegacy.cpp(16) : error C2628: '__unnamed' followed by 'long' is illegal (did you forget a ';'?)
ISXEQLegacy.cpp(16) : error C2664: 'ISLavishScriptInterface::AddTempObject' : cannot convert parameter 1 from '*' to 'unsigned long *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
I am using VS .NET and ISXDK 28a
Slovotsky's Law # 146. Power corrupts. Absolute power is kind of neat.

"When i open the dll files expecting to just copy their code to the cpp file is all garbage and not code. Is the procedure for adding dll plugins different?" -- fujitsu

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Mon Apr 17, 2006 1:02 pm

Just remove ISXEQLegacy from the solution, it's not necessary or even worth compiling, to be honest. Also, you can grab ISXEQ and several MQ2 plugin extension conversions already compiled from ismods.com
Last edited by Lax on Mon Apr 17, 2006 1:08 pm, edited 1 time in total.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

User avatar
three-p-o
a grimling bloodguard
a grimling bloodguard
Posts: 600
Joined: Sun Nov 03, 2002 5:59 pm

Post by three-p-o » Mon Apr 17, 2006 1:08 pm

I got IS because of the writeups saying its faster and because of Legacy as the script I want to use is not converted yet.
I am going to look into converting it myself later.
Slovotsky's Law # 146. Power corrupts. Absolute power is kind of neat.

"When i open the dll files expecting to just copy their code to the cpp file is all garbage and not code. Is the procedure for adding dll plugins different?" -- fujitsu

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Mon Apr 17, 2006 1:09 pm

Ok. I'll have to work out the compilation issues with ISXEQLegacy after ISXDK 29 goes stable then
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

User avatar
three-p-o
a grimling bloodguard
a grimling bloodguard
Posts: 600
Joined: Sun Nov 03, 2002 5:59 pm

Post by three-p-o » Mon Apr 17, 2006 5:08 pm

Thanks Lax.

I think I identified the problem. I did a search on the net for the error message and the result I found this
http://www.codeproject.com/cpp/winevent ... ct=1000038

About half way down the page someone got a similar error message. the reply to this error states
"The technique only works on Visual C++ 7.1. Earlier versions of Visual C++ are broken, and don't support template specialization."

I'm running .net 2002 which has c++ 7.0, .net 2003 has 7.1.
Slovotsky's Law # 146. Power corrupts. Absolute power is kind of neat.

"When i open the dll files expecting to just copy their code to the cpp file is all garbage and not code. Is the procedure for adding dll plugins different?" -- fujitsu

User avatar
three-p-o
a grimling bloodguard
a grimling bloodguard
Posts: 600
Joined: Sun Nov 03, 2002 5:59 pm

Post by three-p-o » Mon Apr 17, 2006 8:41 pm

Ok that doesnt seem to be the problem.

I installed VS 2005 Express and got the compile working. still getting a simialr error on legacy.

Code: Select all

1>.\ISXEQLegacy.cpp(16) : error C2332: 'class' : missing tag name
1>.\ISXEQLegacy.cpp(16) : warning C4099: '<unnamed-tag>' : type name first seen using 'struct' now seen using 'class'
1>        C:\Program Files\Microsoft Platform SDK\include\rpcndr.h(218) : see declaration of '<unnamed-tag>'
1>.\ISXEQLegacy.cpp(16) : error C2628: '<unnamed-tag>' followed by 'unsigned' is illegal (did you forget a ';'?)
1>.\ISXEQLegacy.cpp(16) : error C2628: '<unnamed-tag>' followed by 'long' is illegal (did you forget a ';'?)
1>.\ISXEQLegacy.cpp(16) : error C2664: 'ISLavishScriptInterface::AddTempObject' : cannot convert parameter 1 from '*' to 'unsigned long *'
1>        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Slovotsky's Law # 146. Power corrupts. Absolute power is kind of neat.

"When i open the dll files expecting to just copy their code to the cpp file is all garbage and not code. Is the procedure for adding dll plugins different?" -- fujitsu