Hi all,
I have the book v3.0, but since I have yet to manage to compile the source code there with VS2010, I'm trying v4.0 of the code. I will pick up the 4.0 book if I can get this to work.
the v4.0 code compiles with no errors, but I get two problems when trying to run:
1/ When I try to start the game from VS2010, I get "Failed creating the Direct3D device". From reading google, it seems this is due to VS2010 trying to use my Intel HD graphics insted of the Nvidia GTX675M. The only workaroundI can find is to manually start the application from the Source/Lib/Win32Debug directory. Anyone know of a cleaner workaround?
2/ When I start from the Win32Debug directory, I get:
[ERROR] Failed to initialize resource cache! Are your paths set up correctly?
Function: GameCodeApp::InitInstance
I have set the Configuration Properties->Debugging Working Directory to ..\..\..\Game. I also followed all the othe instructions in the README.
Any idea what's wrong please? Feels like I'm soo close....
thanks,
Paul
I have the book v3.0, but since I have yet to manage to compile the source code there with VS2010, I'm trying v4.0 of the code. I will pick up the 4.0 book if I can get this to work.
the v4.0 code compiles with no errors, but I get two problems when trying to run:
1/ When I try to start the game from VS2010, I get "Failed creating the Direct3D device". From reading google, it seems this is due to VS2010 trying to use my Intel HD graphics insted of the Nvidia GTX675M. The only workaroundI can find is to manually start the application from the Source/Lib/Win32Debug directory. Anyone know of a cleaner workaround?
2/ When I start from the Win32Debug directory, I get:
[ERROR] Failed to initialize resource cache! Are your paths set up correctly?
Function: GameCodeApp::InitInstance
I have set the Configuration Properties->Debugging Working Directory to ..\..\..\Game. I also followed all the othe instructions in the README.
Any idea what's wrong please? Feels like I'm soo close....
thanks,
Paul