Plugin Help

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

Moderator: MacroQuest Developers

Gormack
decaying skeleton
decaying skeleton
Posts: 5
Joined: Mon Oct 04, 2004 10:49 pm

Plugin Help

Post by Gormack » Wed Oct 06, 2004 11:10 am

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.

User avatar
Zornecro
a ghoul
a ghoul
Posts: 82
Joined: Sun Sep 19, 2004 10:19 pm
Location: El Paso, TX

Post by Zornecro » Wed Oct 06, 2004 6:04 pm

The step of SETENV before calling the compiler is important. The step of having the Windows SDK installed also is required.
- Zornecro Mancer, Retired EQ1 Veeshan
- Unktehila, Redtigre, Twinaxe, EQ2 Crushbone

User avatar
peach
a hill giant
a hill giant
Posts: 156
Joined: Fri Sep 10, 2004 8:20 pm

Post by peach » Wed Oct 06, 2004 7:41 pm

[img]http://img23.exs.cx/img23/4702/search2.jpg[/img]