Many compile errors with Visual Studio Express
Hello. Whenever i try to compile ANY example from the directx sdk
(Direct 3d), i get a lot of errors, the specific errors depend on the
project i'm trying to build. I'm currently using:
Visual Studio Express
Directx SDK Oct 2006
Latest Platform SDK
Windows XP SP2
This is the Build log from when i try to build the "EmptyProject" in Samples\C++\Direct3D:
http://dexxhole.tjbp.net/dx9/BuildLog_debug.htm
I have been writing hlsl shaders in a 3rd party app (FX Composer) and would like to try going deeper into direct 3d. i would like to create a program that loads my sample models and renders them with the shaders and textures i have created, and distribute the entire thing on my demo reel, although i wouldn't mind learning more direct 3d any way. Any help is appreciated.
I had been using a (much) older version version of the directx sdk with visual studio 6, but due to changes in the sdk, that is no longer a viable option.
[1097 byte] By [
jatdex] at [2007-12-26]
It helps, but i still have a few (7) compile errors. Updated Build log:
http://dexxhole.tjbp.net/dx9/BuildLog2.htmI would note that adding the sdk directories alone was not enough. the compile errors didn't go away until i moved the dx sdk directories, to the top of the directories listbox.
i would also note that the last error line has me somewhat confused:
"fatal error C1083: Cannot open include file: 'usp10.h': No such file or directory"
Is that file supposed to ship with the dxsdk, or the platform sdk?
because i have usp10.h in my platform sdk\include directory, and i have the paths set for that as well.
I only took a brief glance, but there's a couple of things that bother me:
1) It seems like you're building the app directly from the samples directory, which is a Bad Thing. You should have opened the DX Sample Browser, then installed it to a separate directory
2) You might want to re-check your library links if step #1 doesn't work. Just take slow steps, go from the known to the unknown. You should be ok.