Error cl.exe

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

Moderator: MacroQuest Developers

tigerone
decaying skeleton
decaying skeleton
Posts: 3
Joined: Fri May 14, 2004 12:36 pm

Error cl.exe

Post by tigerone » Fri May 14, 2004 12:44 pm

Im pretty new to macroquest and I have been using all the newbie guides to figure out how to installl and setup macroquest. I have accomplished all of this but now when I try to add plugins from the forums they do not compile correctly. I use the mkplugin command to start the steps of naming the plugin and then I open the files it creates with Visual Studio 6.0 which is currently up to date with Service Pack 6, and I get a "error cl.exe" when complied. I have tried copying and pasting many different programs from the forums to make a plugin and everytime I complie them I get one error stating " error cl.exe ". Does anyone have any idea what im doing wrong? Your help would greatly be appreciated. :D

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Fri May 14, 2004 4:15 pm

not enough information.

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

Post by Preocts » Fri May 14, 2004 5:11 pm

I use the mkplugin command to start the steps of naming the plugin and then I open the files it creates with Visual Studio 6.0 which is currently up to date with Service Pack 6,
You are opening macroquest2.dsw and then adding the newly created projects to the workspace of marcroquest2.dsw correct?

tigerone
decaying skeleton
decaying skeleton
Posts: 3
Joined: Fri May 14, 2004 12:36 pm

Post by tigerone » Fri May 14, 2004 7:53 pm

Say that I want to make a plugin and name it Test. I would use the command prompt and put in the command mkplugin Test. It would then create a folder called Test with a bunch of files inside of the folder. In the folder it would contain a file called Test.dsw and I would open it with VS6.0. When this happens I see all the normal code the mkplugin created, so that it can be modified for the user to create what ever they want the program to do. I'll delete all this and at this point I'll go to a forum and find a premade program copy it and paste it. I'll compile it and I get one error stating "Error cl.exe". So I thought maybe its just a badly made program and I go out and try other ones. I'll copy and paste a different program and try to compile it and get that one and only error. [/quote]

Pheph
a hill giant
a hill giant
Posts: 196
Joined: Thu Oct 09, 2003 8:15 pm

Post by Pheph » Fri May 14, 2004 8:42 pm


User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Fri May 14, 2004 8:46 pm

"Error cl.exe" is not enough information. What precedes this?

User avatar
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

Post by Fuergrissa » Fri May 14, 2004 9:01 pm

go read this Thread
and see if thats what your doing, i dont think you are, follow that and it will work.

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

Post by Preocts » Sat May 15, 2004 7:48 am

Honestly Dkaa I don't think it's worth the headache of trying to get more information. He isn't adding the plugin to MQ2's project workspace and so is trying to compile a plugin that is trying to include files that aren't avalable to it.

At least, with the response he gave that is my deduction. ::shrug::

tigerone
decaying skeleton
decaying skeleton
Posts: 3
Joined: Fri May 14, 2004 12:36 pm

Post by tigerone » Sun May 16, 2004 1:32 am

Fuergrissa thanks for that thread. It really helped me out. Yeah that was one of my major problems not including the plugin to the MQ2 project workspace. The only problem I am having now is that it cant find the include file "stristr.h". Everyone else thanks for having the patience and giving me your input. I greatly appreciate it.

User avatar
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

Post by Fuergrissa » Sun May 16, 2004 2:00 am

what is plugin called please.

Timbuktu
orc pawn
orc pawn
Posts: 24
Joined: Thu May 27, 2004 2:20 pm

Me too

Post by Timbuktu » Thu May 27, 2004 2:30 pm

I'm not trying to compile a plugin. I'm trying to compile MQ2 by itself. At first I was getting that huge lot of warning spam, and discontinued what I was doing.. Then I stupidly removed my entire Visual Studio 'cause I thought it was the fact that I added the Service pack 6 that they say to add here. So I was using Visual Studio 6 Enterprise with Service Pack 6 and getting the spam noted on another post here.
Well, this time when I try to compile Macroquest, I click on macroquest2.dsw, first it gives me that it cannot find msdev.exe. I find that file and get it open, etc. I set MQ2Main as the active project, and "Build MQ2Main.dll" aka F7. All I get is
"Compiling...
Error Spawning cl.exe

MQ2Main.dll -- 1 error(s), 0 warning(s)"

I also just tried Build all and it gave me that same thin when trying to compile everything else.. (changing the MQ2Main.dll part anyway)

Timbuktu
orc pawn
orc pawn
Posts: 24
Joined: Thu May 27, 2004 2:20 pm

Post by Timbuktu » Thu May 27, 2004 2:36 pm

err.. Regarding above.. I did reinstall Visual Studio 6 Ent Ed, and Service pack 6 (the service pack after trying without it first)
I also searched my computer for cl.exe and it's in the directories under my Visual studio files. Perhaps I installed VS6 wrong this time and will uninstall again and reinstall. Wish me luck.

Timbuktu
orc pawn
orc pawn
Posts: 24
Joined: Thu May 27, 2004 2:20 pm

Post by Timbuktu » Thu May 27, 2004 3:13 pm

Hahaahahahahahah... Ok.. you gonna love this!

Ok.. problem wasn't with MQ at all. Remember when I mentioned uninstalling and reinstalling? well, I went to microsoft ( http://support.microsoft.com/default.as ... -us;816827 ) and it mentioned having 2 instances installed on one computer.. after one being uninstalled on the computer people get this problem. Well, I realized that I hate microsoft and had installed to "Visual Studio" as the directory before and was being wussy and left it as "Microsoft Visual Studio" this time. All I did was COPY the entire "Microsot Visual Studio" over to the newly recreated "Visual Studio" directory. This fixed it.

So there's yer answer, Tigerone. Good luck.

BTW thanks tons guys for making this Groovy program. MQ2Twist is the handiest thing ever...

hehe. i'd donate myself, but I'm broker than you'd believe.

Timbuktu