1.5 Source Visual Studio 2012 "Cannot open include file: 'afxdb.h'"
I had no other chance so I have downloaded Visual Studio 2012. I was following http://forum.ragezone.com/f497/tutor...-1-5-a-941041/ this guide to compile the National Gunz source, and got stuck. When I try to build "CSCommon" I get the following error:
Code:
Error 1 error C1083: Cannot open include file: 'afxdb.h': No such file or directory C:\Users\user\Desktop\Gunz\Source\Source_Code\Stable\CSCommon\Include\stdafx.h 14 1 CSCommon
Do I need to install something else ?
Re: 1.5 Source Visual Studio 2012 "Cannot open include file: 'afxdb.h'"
source only can be builded with VS2003..
Re: 1.5 Source Visual Studio 2012 "Cannot open include file: 'afxdb.h'"
Quote:
Originally Posted by
mgdmgd
source only can be builded with VS2003..
False, I got mine working in VS2013.
Re: 1.5 Source Visual Studio 2012 "Cannot open include file: 'afxdb.h'"
I am still looking for the help..
Re: 1.5 Source Visual Studio 2012 "Cannot open include file: 'afxdb.h'"
What's your operating system?
Re: 1.5 Source Visual Studio 2012 "Cannot open include file: 'afxdb.h'"
Quote:
Originally Posted by
Patrick2607
What's your operating system?
Windows 7 64 Bit
Re: 1.5 Source Visual Studio 2012 "Cannot open include file: 'afxdb.h'"
Quote:
Originally Posted by
mgdmgd
source only can be builded with VS2003..
Yes it is ^
http://www.microsoft.com/en-us/downl....aspx?id=40770
Cheers.
Re: 1.5 Source Visual Studio 2012 "Cannot open include file: 'afxdb.h'"
Quote:
Originally Posted by
sahar042
So do I need to install Visual Studio 2013 for this ?
Re: 1.5 Source Visual Studio 2012 "Cannot open include file: 'afxdb.h'"
Quote:
Originally Posted by
ThroneX
So do I need to install Visual Studio 2013 for this ?
Ah, You are using visual 2012? I am not sure about it... Check if there MFC for 2012 if not then try to install this one maybe it will work.
Re: 1.5 Source Visual Studio 2012 "Cannot open include file: 'afxdb.h'"
Quote:
Originally Posted by
sahar042
Ah, You are using visual 2012? I am not sure about it... Check if there MFC for 2012 if not then try to install this one maybe it will work.
Well there is no MFC for 2012. I have installed VS 2013 but got a problem with that library.. it says there is no vs installed on the computer (tried running as admin). Will see what I can do.
Re: 1.5 Source Visual Studio 2012 "Cannot open include file: 'afxdb.h'"
It is because you need the Professional/Ultimate edition
Re: 1.5 Source Visual Studio 2012 "Cannot open include file: 'afxdb.h'"
Quote:
Originally Posted by
Patrick2607
It is because you need the Professional/Ultimate edition
Alright, will try it right now.
Re: 1.5 Source Visual Studio 2012 "Cannot open include file: 'afxdb.h'"
Here is the new list of errors I get..
http://prntscr.com/3kp9nc
Re: 1.5 Source Visual Studio 2012 "Cannot open include file: 'afxdb.h'"
Okay, here's a workaround:
Find winnt.h. (Hover the mouse over the filename from the error to see the path)
Search for:
Code:
typedef void * POINTER_64 PVOID64;
Replace with:
Code:
typedef void * __ptr64 PVOID64;
Re: 1.5 Source Visual Studio 2012 "Cannot open include file: 'afxdb.h'"
http://forum.ragezone.com/f497/tutor...-1-5-a-941041/
*OutputDebugStr to OutputDebugString ,don't commet it out like he said in the tutorial.
Also on DXGetErrorString8 and DXGetErrorString9 to DXGetErrorString.
If you want i will upload for you the SDK.