Page 1 of 1

Plugin Help

Posted: Wed Oct 06, 2004 11:10 am
by Gormack
Keep in mind I'm really new to all of this:

I compiled Macroquest just fine using the methods described in the post called "Building MQ2 for free with non-expiring MS-tools."

My problem is that I can't figure out how to get a plugin to work using the method described in that post. I have tried several things, and the ways described in the post. I have a copy of Visual C++ 2005 beta--and all the other stuff listed in the "Building MQ2 for free with non-expiring MS-tools" post.

When I try to use Visual C++ to build the plugin I receive the same error:
MQ2Myfirstplugin.cpp
c:\Documents and Settings\Rob\My Documents\Macro\MQ2Main\MQ2Main.h(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\Rob\My Documents\Macro\MQ2Myfirstplugin\Intermediate\BuildLog.htm"
MQ2Myfirstplugin - 1 error(s), 0 warning(s)
My question is whether I can fix the above error, or if I can use the tools from the "Building MQ2 for free with non-expiring MS-tools" post to make and use a plugin.

Thanks for any help.

Posted: Wed Oct 06, 2004 6:04 pm
by Zornecro
The step of SETENV before calling the compiler is important. The step of having the Windows SDK installed also is required.

Posted: Wed Oct 06, 2004 7:41 pm
by peach