Will not compile...

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

Moderator: MacroQuest Developers

flx
decaying skeleton
decaying skeleton
Posts: 3
Joined: Mon Mar 22, 2004 8:15 am

Will not compile...

Post by flx » Mon Mar 22, 2004 8:34 am

Using VS.Net 2003 I get the following build output for each project.

------ Build started: Project: MQ2Map, Configuration: Release Win32 ------


Build log was saved at "file://c:\Documents and Settings\deleted_username\Desktop\MQ2-Latest\MQ2Map\Intermediate\BuildLog.htm"
MQ2Map - 1 error(s), 0 warning(s)

Contents of log:
Creating temporary file "c:\Documents and Settings\deleted_username\Desktop\MQ2-Latest\MQ2Map\Intermediate\RSP00000B.rsp" with contents
[
/O2 /D "CINTERFACE" /D "_WINDLL" /D "_MBCS" /FD /EHsc /MT /Zp1 /Fo".\Intermediate/" /Fd".\Intermediate/vc70.pdb" /W3 /c /Zi /Gd /TP /DCINTERFACE
".\MQ2MapCommands.cpp"
".\MQ2MapAPI.cpp"
".\MQ2Map.cpp"
]
Creating command line "cl.exe @"c:\Documents and Settings\deleted_username\Desktop\MQ2-Latest\MQ2Map\Intermediate\RSP00000B.rsp" /nologo"

Just to review...

1. Install Visual VC.NET
done a long time ago
2. Download the MacroQuest2 source files
done
3. Unzip it into any new folder
done
3. Right click the folder, select Properties, and remove the Read only flag
done
4. Double-click MQ2Auth.exe. This will create the file necessary for compiling MQ2 in the MQ2Main folder.
done
4. Double-click the Macroquest2.sln file. VC.net will open the MacroQuest project
done...vs.net asks if i want to convert the file, clicked yes
6. Go to the Build menu and select Configuration Manager
done
7. Select Release, and place a check in each dll you want compiled. Click the Close button
done
8. Go to the Build menu and select Build Solution
done
9. The dll files should compile.
Unfortunaetly I get the errors above...

I'm not a C++ dev...I do some C# work which is why I have vs.net so debugging what the hell I am doing wrong is something I am not capable of doing atm. I have compiled c++ programs before with no problem though. I read one post that said MC was meant for c developers only. If that's the case I can live with it, if not, would love some pointers.

I did try compiling the previous release to the latest as well...same results.

MacroFiend
a grimling bloodguard
a grimling bloodguard
Posts: 662
Joined: Mon Jul 28, 2003 2:47 am

Post by MacroFiend » Mon Mar 22, 2004 11:09 am

If you don't usually work in C++, are you sure you installed C++? To check easily, start VS.NET manually and look at the splash screen. On the bottom will be icons for each language installed (at least there are in .NET 2002). If you don't see C++ down there, then you need to install the C++ compiler.

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 Mar 22, 2004 11:58 am

Umm... unfortunately I dont see an actual error, so there's no way we can explain exactly what happened... but I am going to go with MacroFiend on this one. C# doesn't use the C/C++ compiler (cl.exe). You must have cl.exe for it to execute. If you're familiar with programming I would suspect you'd be able to try to find cl.exe. Mine happens to be in C:\Program Files\Microsoft Visual Studio .NET\Vc7\bin.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

flx
decaying skeleton
decaying skeleton
Posts: 3
Joined: Mon Mar 22, 2004 8:15 am

Post by flx » Mon Mar 22, 2004 2:27 pm

Yeah, I have vc.net installed and made sure cl.exe was in my path...was one of first things i did.

I think it is my install of vs.net though, I tried running the command line as given in the build log and cl.exe gave me an error about missing mspdb71.dll.

I'll try to run setup again and see if it fixes it. Ty for the non-flames :D