Page 1 of 1

Compiling with MS Tools

Posted: Tue Jun 17, 2003 12:36 am
by Bonker
From another post I installed the follwing tools from MS:

Microsoft Platform SDK (just the core package)
Microsoft .NET Framework Version 1.1 Redistributable Package
Microsoft .NET Framework SDK Version 1.1

The first thing I do is go to the bin dir in the microsoft.net/sdk/ver1.1/bin and run sdkvars from the command line. This sets the path so I can run nmake from the macro quest folder.

Then I cd\macroquest\eqlib and run nmake and get a ton of errors to include:

Code: Select all

Cannot determine compiler version.
use set COMPILER=6
or set COMPILER=7
as appropriate
then...

Code: Select all

cl : Command line warning D4029 : optimization is not available in the standard edition compiler
then a bunch of...

Code: Select all

EQLib_Commands.cpp
..\dxsdk81\include\dinput.h(17) : fatal error C1083: Cannot open include file: '
objbase.h': No such file or directory
for each of the different files in that folder. I changed all the attributes from read only on those files (did a search on google fo C1083), but that still did not help.

I've seen posts say that MQ can be compiled this way. What am I missing? With these downloads I cannot find vsvars32.bat or vcvars32.bat, although I am assuming that sdkvars.bat does the same thing to set the path.

I would appreciate a little help on this.

Bonkers (going I think) :lol:

Posted: Tue Jun 17, 2003 2:48 am
by dont_know_at_all
objbase.h should be in the platform SDK include files.

after you run the bat file, is your INCLUDE variable set?

to check, type "set INCLUDE" on the command line.

is objbase.h in any of the sdk directories?

Re: Compiling with MS Tools

Posted: Tue Jun 17, 2003 7:47 am
by Bonker
Thanks for the response.

Yes objbase.h is in the SDK directory.

I did also type set include on the command line after running sdkvars.bat. Looks normal as this is what it responded with:

Code: Select all

C:\Program Files\Microsoft.NET\SDK\v1.1\Bin>set include

INCLUDE=C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\;"C:\Program Files\Microsoft.NET\SDK\v1.1\include\";
But I am still getting the same errors as before.

Any other thoughts? I know I am just missing one key thing... :?:

Bonkers

Posted: Tue Jun 17, 2003 9:33 am
by Wishbringer

Code: Select all

INCLUDE=[u]"[/u]C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\[u]"[/u];"C:\Program Files\Microsoft.NET\SDK\v1.1\include\";
that changes should work.

Posted: Wed Jul 09, 2003 7:44 pm
by Chem
I've gotten this far and I feel like I'm so close to having MQ back again. I stopped using it back when the new interface broke it and my mouse still hasn't forgiven me for the tradeskill hell I've put it through.

I've done everything listed in the previous posts in this thread and I'm still getting several of these when I run nmake ...

Code: Select all

EQLib_Commands.cpp 
..\dxsdk81\include\dinput.h(17) : fatal error C1083: Cannot open include file: ' 
objbase.h': No such file or directory
I did a file search and this isn't even on my hard drive. Where was "objbase.h" supposed to come from and where can I get it?

Edit: nm, I reread the entire thread three times, then 2 more time, then once more for good measure. Finally noticed what I was misreading and have it compiling. Now if SOE will quit screwing around so that I can compile a WORKING version of MQ.