Page 1 of 1

ISXEQLegacy compile problems

Posted: Mon Dec 12, 2005 7:43 am
by echoism
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'

Posted: Mon Dec 12, 2005 10:44 am
by fearless
Compiling with what?

Posted: Mon Dec 12, 2005 11:08 am
by echoism
microsoft visual studio .net 2003

Posted: Mon Dec 12, 2005 12:27 pm
by Lax
ISXEQLegacy required some minor changes to #includes. Re-download ISXDK 27

Posted: Mon Dec 12, 2005 12:52 pm
by echoism
Thanks lax.

Posted: Mon Apr 17, 2006 12:57 pm
by three-p-o
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

Posted: Mon Apr 17, 2006 1:02 pm
by Lax
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

Posted: Mon Apr 17, 2006 1:08 pm
by three-p-o
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.

Posted: Mon Apr 17, 2006 1:09 pm
by Lax
Ok. I'll have to work out the compilation issues with ISXEQLegacy after ISXDK 29 goes stable then

Posted: Mon Apr 17, 2006 5:08 pm
by three-p-o
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.

Posted: Mon Apr 17, 2006 8:41 pm
by three-p-o
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