Original Post
Hey guys, I recently bought a new computer and was setting up my new development environment when I ran into issues. My old computer used visual studio 2008 express edition, and now I'm using VS 2010 express edition. There were some minor kings with how to setup include directories and such (because 2010 is different than 2008 in this regard) but I got those setup I think. I was getting "could not find *.h" or "could not load lib" errors but now its compiling but getting linker errors. The errors I'm getting are along the lines of "LNK2019: unresolved external symbol _D3DXCreateSprite@8 referenced in function "public: bool __thiscall Font::init(struct IDirect3DDevice9 *,char *,int,int,int)" (?init@Font@@QAE_NPAUIDirect3DDevice9@@PADHHH@Z)".
A few notes: this works on my windows xp 32 bit visual studio 2008, but is not working on visual studio 2010 on windows 7 64 bit. I downloaded the directx sdk from microsoft (its august 2009) along with the luabind/lua installs. I'm linking to 64 bit versions of the libs in all cases. I'm including my libs via: #pragma comment (lib, "d3d9.lib")
Any ideas why this might be happening?
A few notes: this works on my windows xp 32 bit visual studio 2008, but is not working on visual studio 2010 on windows 7 64 bit. I downloaded the directx sdk from microsoft (its august 2009) along with the luabind/lua installs. I'm linking to 64 bit versions of the libs in all cases. I'm including my libs via: #pragma comment (lib, "d3d9.lib")
Any ideas why this might be happening?