xlgames-inc / XLE

XLE -- the "hackable" 3D game rendering engine
MIT License
335 stars 73 forks source link

Unable to build the Global solution #13

Closed codeonwort closed 8 years ago

codeonwort commented 8 years ago

OS: Windows 10 (64 bit) IDE: Visual Studio 2015 Community Edition

I followed this instruction: https://github.com/xlgames-inc/XLE/wiki/CompilingFirstSteps

There was DirectXTex_Desktop_2015.sln in the directory Foreign/DirectXTex/DirectXTex, but it fails to build, so I built DirectXTex_Desktop_2013.sln as the instruction page above says, for all configurations successfully - debug32, debug64, release32, and release64.

Then I tried to build the Global.sln and:

This is my very first attempt to build such a large project. Sorry if this is due to my inexperience with visual studio. What causes these errors and how can I fix them?

codeonwort commented 8 years ago

It was Freetype problem. some Freetype source codes include chinese characters which made me fail to build the project. (cautions considered as errors) Saving only those files with unicode codepage 1200 most of errors gone. Now there remain only two errors:

codeonwort commented 8 years ago

It's weird but touching nothing, just tried to build the solution second time and it succeed with no error.

I tested HelloWorld.exe in Debug64 and Release64. debug version fails with this message:

Failure in D3D11 device construction. Aborting.

My desktop have Windows 10 SDK installed, don't know why this happens.

release version works well. I can see a boat rotating.