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

Transcoder build broken #1080

Open
paulmiller opened this issue Sep 15, 2024 · 0 comments
Open

Transcoder build broken #1080

paulmiller opened this issue Sep 15, 2024 · 0 comments

Comments

@paulmiller
Copy link

I'm building at the latest commit, f4e0897, on Linux with g++ 14.2.1 and set(DRACO_TRANSCODER_SUPPORTED ON). I get:

In file included from …/draco/src/draco/io/gltf_utils.cc:15:
…/draco/src/draco/io/gltf_utils.h:35:29: error: expected ‘)’ before ‘value’
   35 |   explicit GltfValue(uint8_t value)
      |                     ~       ^~~~~~
      |                             )
…/draco/src/draco/io/gltf_utils.h:41:30: error: expected ‘)’ before ‘value’
   41 |   explicit GltfValue(uint16_t value)
      |                     ~        ^~~~~~
      |                              )
…/draco/src/draco/io/gltf_utils.h:44:30: error: expected ‘)’ before ‘value’
   44 |   explicit GltfValue(uint32_t value)
      |                     ~        ^~~~~~
      |                              )

This is fixed by #include <cstdint>.

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

1 participant