Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot build successfully #11

Closed
Icarus0xff opened this issue Dec 25, 2015 · 2 comments
Closed

cannot build successfully #11

Icarus0xff opened this issue Dec 25, 2015 · 2 comments

Comments

@Icarus0xff
Copy link

When I try to build KlayGE, and I go forward with Installation instruction, but I met a problem when I execute python build_all.py. My environment is win10 64bit with cmake and python 2.7.11. Here is the building log of cmd shell.

C:\Users\augustus liu\Src\KlayGE\External\freetype\Build\vc140_win_x64>cmake -G "Visual Studio 14 Win64" -T v140  ../cm
ke
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/augustus liu/Src/KlayGE/External/freetype/Build/vc140_win_x64
ERROR: Cannot determine the location of the VS Common Tools folder.
  freetype.vcxproj -> C:\Users\augustus liu\Src\KlayGE\External\freetype\objs\win_x64\freetype261_vc140_d.lib
  freetype.vcxproj -> C:\Users\augustus liu\Src\KlayGE\External\freetype\objs\win_x64\freetype261_vc140.lib

Seting up DXSDK...


C:\Users\augustus liu\Src\KlayGE\External\DXSDK\Build\vc140_win_x64>cmake -G "Visual Studio 14 Win64" -T v140  ../cmake

-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/augustus liu/Src/KlayGE/External/DXSDK/Build/vc140_win_x64
ERROR: Cannot determine the location of the VS Common Tools folder.
  Building Custom Rule C:/Users/augustus liu/Src/KlayGE/External/DXSDK/Build/cmake/CMakeLists.txt
  CMake does not need to re-run because C:\Users\augustus liu\Src\KlayGE\External\DXSDK\Build\vc140_win_x64\CMakeFiles\
  generate.stamp is up-to-date.
  Generating C:/Users/augustus liu/Src/KlayGE/KlayGE/bin/win_x64/d3dcompiler_47.dll
  Error copying file (if different) from "C:/Users/augustus liu/Src/KlayGE/External/DXSDK/Build/cmake/../../Redist/x64/
  d3dcompiler_47.dll" to "C:/Users/augustus liu/Src/KlayGE/External/DXSDK/Build/cmake/../../../../KlayGE/bin/win_x64/d3
  dcompiler_47.dll".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exi
ted with code 1. [C:\Users\augustus liu\Src\KlayGE\External\DXSDK\Build\vc140_win_x64\Redist.vcxproj]
[E] Build DXSDK failed.
Press any key to continue . . .
@gongminmin
Copy link
Owner

Please reinstall the visual studio, or fix the folder. The cmake can't find your VS, as in the error message:
ERROR: Cannot determine the location of the VS Common Tools folder

It's not a KlayGE problem. You can find a similar solution here: http://stackoverflow.com/questions/3461275/vs2010-command-prompt-gives-error-cannot-determine-the-location-of-the-vs-comm

@gongminmin
Copy link
Owner

OK, I find a problem in DXSDK's package. A new one will be pushed. Thanks. But it won't help your VS problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants