Sign in to follow this  
Shunyata_Kharg

[SlimDX] Help in building source

Recommended Posts

Hello! I've got the latest version of the slimdx source from code.google.com and I'm building it by running SlimDX\build\scripts\build-all.bat. I get the following error: Building with a VS 2008 installation. 1>Project "C:\TCROOT\SlimDX\build\slimdx.proj" (1) is building "C:\TCROOT SlimDX\build\SlimDX.sln" (2) on node 1 (default targets). Building solution configuration "Debug|x86". 2>C:\Program Files\Microsoft DirectX SDK (February 2010)\Include\dxgiforma t.h(8): error C2011: 'DXGI_FORMAT' : 'enum' type redefinition 1>Done Building Project "C:\TCROOT\SlimDX\build\slimdx.proj" (build target (s)) -- FAILED. 2>Done Building Project "C:\TCROOT\SlimDX\build\SlimDX.sln" (default targe ts) -- FAILED. Does anybody please have any idea how I can get the source to compile? Many thanks.

Share this post


Link to post
Share on other sites
Quote:
Original post by Shunyata_Kharg
Does anybody please have any idea how I can get the source to compile?


Ok, I think the problem was having referenced "Microsoft DirectX SDK\Lib" instead of "Microsoft DirectX SDK\Lib\x86" in VC++ Directories->Library Files.

Thanks!

Share this post


Link to post
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this