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 error on dependency gltf #65

Open
Nevsden opened this issue Jun 15, 2020 · 4 comments
Open

Build error on dependency gltf #65

Nevsden opened this issue Jun 15, 2020 · 4 comments

Comments

@Nevsden
Copy link

Nevsden commented Jun 15, 2020

When trying to install the gltf-viewer with cargo install gltf-viewer I got the following error.
I already tried to find similar problems by browsing issues within this project and the dependency gltf but could not find anything.

The error looks as follows:

....
Compiling gltf v0.11.3
error[E0597]: `buf` does not live long enough
   --> C:\Users\linden\.cargo\registry\src\github.com-1ecc6299db9ec823\gltf-0.11.3\src\binary.rs:225:35
    |
119 | impl<'a> Glb<'a> {
    |      -- lifetime `'a` defined here
...
225 |                     Self::from_v2(&buf)
    |                     --------------^^^^-
    |                     |             |
    |                     |             borrowed value does not live long enough
    |                     argument requires that `buf` is borrowed for `'a`
...
233 |             }
    |             - `buf` dropped here while still borrowed

error: aborting due to previous error

@vlisivka
Copy link

Just clone this repository and build it locally.

@ugurberkecan
Copy link

@vlisivka how can we run locally ?

@vlisivka
Copy link

@ugurberkecan I cloned repository, built it locally, and then ran it.

@ugurberkecan
Copy link

ugurberkecan commented Dec 20, 2021

how can i build it ? @vlisivka i am mac user.

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

3 participants