SCons builds via Visual Studio compilers. So I assume by "I am using Visual 
Studio" you mean, "no, I'm not using SCons"... 

I'd strongly recommend using scons instead of replicating Mesa build with MSVC 
project, as Mesa build is extremely complex (a lot of code generation).

If you are determined to do your own thing, then build Mesa with scons _once_ 
while recording its output

   scons verbose=1  > scons.log 2>&1

then study the commands used to compile, and mimic them.

I'm afraid I can't help you further diagnose particular failures.  Life is too 
short.

Jose

----- Original Message -----
> I am using Visual Studio. I found that all these missing constants like
> MAPI_TABLE_NUM_STATIC are getting there values in mapi_abi.py.  Since I am
> building it in UEFI I am making [.inf] files and using them to generate the
> makefilesand not the makefiles given in the mesa kit. Could this be a reason
> for why I am getting the errors?
>        How are the python functions initializing the C constants?
> 
> Thanks,
> Ritvik
> 
> -----Original Message-----
> From: Jose Fonseca [mailto:jfons...@vmware.com]
> Sent: Wednesday, March 20, 2013 8:00 PM
> To: Sharma, Ritvik
> Cc: mesa-dev@lists.freedesktop.org
> Subject: Re: [Mesa-dev] Error while compiling the MAPI directory
> 
> You're building with scons right?
> 
> Jose
> 
> ----- Original Message -----
> > Hi,
> > 
> > I used the latest mesa and I am still receiving the same errors. It
> > works perfectly fine in Ubuntu though.
> > 
> > Can somebody please tell in the file mapi_tmp.h how does the following
> > constant included?
> > #include MAPI_ABI_HEADER
> > 
> > Thanks,
> > Ritvik
> > 
> > -----Original Message-----
> > From: Jose Fonseca [mailto:jfons...@vmware.com]
> > Sent: Monday, March 18, 2013 11:29 PM
> > To: Sharma, Ritvik
> > Cc: mesa-dev@lists.freedesktop.org
> > Subject: Re: [Mesa-dev] Error while compiling the MAPI directory
> > 
> > ----- Original Message -----
> > > 
> > > 
> > > Hi,
> > > 
> > > I am receiving the following error while compiling the code in the
> > > mapi directory. I am using mesa 7.5.
> > 
> > If you're compiling with MSVC I'd recommend using a recent Mesa
> > release and save your self a world of trouble. It's known to build well
> > there.
> > 
> > If you must use this old release, then you'll likely need to search
> > the MSVC build fixes and crossport them.
> > 
> > Jose
> > 
> 
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to