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

build visual studio solution failed #4368

Closed
wolfand11 opened this issue Jul 22, 2021 · 4 comments
Closed

build visual studio solution failed #4368

wolfand11 opened this issue Jul 22, 2021 · 4 comments
Assignees
Labels
windows Issue/feature request for Windows only

Comments

@wolfand11
Copy link

wolfand11 commented Jul 22, 2021

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

  1. follow build manual document generate solution
  2. open TNT.sln
  3. build solution

Expected behavior
no error. build success

Screenshots
image

Logs
Severity Code Description Project File Line Suppression State Error C1083 Cannot open include file: 'glsl.std.450.insts.inc': No such file or directory SPIRV-Tools-static D:\Documents\MyProject\Public\Graphics\filament\third_party\spirv-tools\source\ext_inst.cpp 30 Severity Code Description Project File Line Suppression State Error C1083 Cannot open include file: 'generators.inc': No such file or directory SPIRV-Tools-static D:\Documents\MyProject\Public\Graphics\filament\third_party\spirv-tools\source\opcode.cpp 52 Severity Code Description Project File Line Suppression State Error LNK1181 cannot open input file 'D:\Documents\MyProject\Public\Graphics\filament\out\third_party\spirv-tools\source\Debug\SPIRV-Tools.lib' filamat D:\Documents\MyProject\Public\Graphics\filament\out\libs\filamat\LINK 1 Severity Code Description Project File Line Suppression State Error MSB3073 The command "setlocal call ..\..\..\build\windows\combine-static-libs.bat lib.exe D:/Documents/MyProject/Public/Graphics/filament/out/libs/filamat/libfilamat_combined.a D:/Documents/MyProject/Public/Graphics/filament/out/third_party/glslang/tnt/OGLCompilersDLL/Debug/OGLCompilerd.lib D:/Documents/MyProject/Public/Graphics/filament/out/third_party/glslang/tnt/glslang/OSDependent/Windows/Debug/OSDependentd.lib D:/Documents/MyProject/Public/Graphics/filament/out/third_party/glslang/tnt/SPIRV/Debug/SPIRVd.lib D:/Documents/MyProject/Public/Graphics/filament/out/third_party/spirv-tools/source/Debug/SPIRV-Tools.lib D:/Documents/MyProject/Public/Graphics/filament/out/third_party/spirv-tools/source/opt/Debug/SPIRV-Tools-opt.lib D:/Documents/MyProject/Public/Graphics/filament/out/third_party/glslang/tnt/SPIRV/Debug/SPVRemapperd.lib D:/Documents/MyProject/Public/Graphics/filament/out/libs/filamat/Debug/filamat.lib D:/Documents/MyProject/Public/Graphics/filament/out/third_party/glslang/tnt/glslang/Debug/glslangd.lib D:/Documents/MyProject/Public/Graphics/filament/out/third_party/spirv-cross/tnt/Debug/spirv-cross-core.lib D:/Documents/MyProject/Public/Graphics/filament/out/third_party/spirv-cross/tnt/Debug/spirv-cross-glsl.lib D:/Documents/MyProject/Public/Graphics/filament/out/third_party/spirv-cross/tnt/Debug/spirv-cross-msl.lib if %errorlevel% neq 0 goto :cmEnd :cmEnd endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone :cmErrorLevel exit /b %1 :cmDone if %errorlevel% neq 0 goto :VCEnd :VCEnd" exited with code 1181. filamat C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 155

Desktop (please complete the following information):

  • OS: Windows 10

source code version

  • main 306f6e1 [origin/main] fix some broken samples and add -a option
@bejado bejado self-assigned this Jul 22, 2021
@bejado
Copy link
Member

bejado commented Jul 22, 2021

Can you show the CMake command you ran to generate the solution?

@bejado bejado added the windows Issue/feature request for Windows only label Jul 22, 2021
@wolfand11
Copy link
Author

@bejado
image

@bejado
Copy link
Member

bejado commented Jul 23, 2021

It looks like some file generation task is not working properly in SPIRV-Tools. I would suggest trying a "normal" install of Python instead of using pyenv-win.

@wolfand11
Copy link
Author

@bejado thanks, It's work.
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
windows Issue/feature request for Windows only
Projects
None yet
Development

No branches or pull requests

2 participants