# Can't compile directx stuff with vc express 2005

## Recommended Posts

I have installed vc express 2005, set up directories under options, and made sure my project settings have correct references to the dx libraries. I'm using C++, not C#. When trying to compile an old project that I have successfully compiled on another computer with vc (not express though), I get the following error:
c:\program files\microsoft directx sdk (august 2006)\include\d3d9.h(40) : fatal error C1083: Cannot open include file: 'objbase.h': No such file or directory
Engine.cpp

What could be the cause of the problem?

##### Share on other sites
thanks, my old game compiles now, however I still have some problems with the dx SDK samples. But can't look into that now, will make a new post in a week or month or so if I need sdk samples later.

## Create an account or sign in to comment

You need to be a member in order to leave a comment

## Create an account

Sign up for a new account in our community. It's easy!

Register a new account

• ### Forum Statistics

• Total Topics
628281
• Total Posts
2981800

• 10
• 11
• 17
• 14
• 9