cant get it to work

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
fantasy555
Posts: 1
Joined: April 20th, 2013, 10:41 pm

cant get it to work

Post by fantasy555 » April 20th, 2013, 10:45 pm

ive followed the tutorials perfectly.
got windows c++ express 2010
got directx sdk jun 2010
downloaded the framework from this forum ( the one where it says lesson 1)

i got the error when i tried to compile it

1> D3DGraphics.cpp
1>C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\include\d3d9.h(37): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
1> Game.cpp
1>C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\include\d3d9.h(37): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
1> Timer.cpp
1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\windows.h(151): fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory
1> Windows.cpp
1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\Windows.h(151): fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory


any help?

for some reason, i cant open the header wchar.
#include <wchar.h> gives an error

also
MSG msg;
ZeroMemory( &msg,sizeof( msg ) );

zeromemory is undefined.

any help would be appreciated. spent like 2 hours and still cant find the problem

cameron
Posts: 794
Joined: June 26th, 2012, 5:38 pm
Location: USA

Re: cant get it to work

Post by cameron » April 28th, 2013, 9:18 pm

It seems you do not have c++ and directx runtimes.
Computer too slow? Consider running a VM on your toaster.

User avatar
DreamBliss
Posts: 30
Joined: March 27th, 2013, 11:48 pm
Location: Lost on the Way
Contact:

Re: cant get it to work

Post by DreamBliss » May 16th, 2013, 2:08 am

On top of the DirectX SDK you need the DirectX runtime, also June if I recall correctly, and you need the VC Redistributable for 2005, 2008, and 2010.

It seems a lot of people are having setup issues. These videos may help, even though the project is for something else:
http://www.youtube.com/watch?v=swNh_rpJxT8
http://www.youtube.com/watch?v=hC_YlXOfcDo
http://www.youtube.com/watch?v=KVuytGAMs6g

I think if you follow those videos you will have everything set up for the Chili Framework.
You create reality in your mind,
Before experiencing it as reality,
So if you want to change something,
First change what you think about it.

Post Reply