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

window10 build release branch failed #4304

Closed
wolfand11 opened this issue Jul 13, 2021 · 10 comments · Fixed by #4348
Closed

window10 build release branch failed #4304

wolfand11 opened this issue Jul 13, 2021 · 10 comments · Fixed by #4348
Assignees

Comments

@wolfand11
Copy link

wolfand11 commented Jul 13, 2021

Describe the bug
build release branch failed

To Reproduce
Steps to reproduce the behavior:

  1. cd d:/Documents/MyProject/Public/Graphics/filament/
  2. git clone -b release https://github.com/google/filament.git ./
  3. mkdir out
  4. cd out
  5. cmake ..
    error message : CMake Error at third_party/glslang/tnt/CMakeLists.txt:96 (list):
    list GET given empty list

Expected behavior
build success

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows10
  • GPU: NVIDIA GTX 1050
  • Backend: OpenGL
  • CMake version: 3.20.5
@wolfand11 wolfand11 changed the title window10 build failed window10 build release branch failed Jul 13, 2021
@wolfand11
Copy link
Author

i tried main branch and rc/1.10.7 , failed too.

@prideout
Copy link
Contributor

prideout commented Jul 13, 2021

I think the build_info.py script in glslang is erroring out, so the GLSLANG_VERSIONS variable in the CMake is empty.

@bejado bejado self-assigned this Jul 13, 2021
@bejado
Copy link
Member

bejado commented Jul 13, 2021

What version of CMake are you using?

@wolfand11
Copy link
Author

@bejado cmake version is 3.20.5

@bejado
Copy link
Member

bejado commented Jul 14, 2021

Seems like this is a Python-related problem. I recommend filing an issue directly with glslang.

@bejado bejado closed this as completed Jul 14, 2021
@wolfand11
Copy link
Author

@bejado i clone and build glslang. it's success. thanks for any help. i'm not good at cmake. can't find any issue.

build glslang sucess.
image
image

@bejado
Copy link
Member

bejado commented Jul 16, 2021

I'm not sure why this isn't working for you, but I notice that our glslang CMakeLists.txt is out-of-date. For example, they no longer use Python to retrieve the GLSLANG version: KhronosGroup/glslang@05798c1.

I'll update our CMakeLists.txt, which hopefully will fix the issue for you.

@bejado bejado reopened this Jul 16, 2021
@romainguy
Copy link
Collaborator

@bejado Can we update glslang while we're at it?

@bejado
Copy link
Member

bejado commented Jul 16, 2021

@romainguy I think we just did, but not the CMakeLists.txt.

@prideout
Copy link
Contributor

Thanks for looking into this Ben, it's my fault, when I updated glslang I didn't notice this detail.

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

Successfully merging a pull request may close this issue.

4 participants