wgpu: Linking Errors.
[ 33%] Linking C executable triangle /usr/bin/ld: CMakeFiles/triangle.dir/main.c.o: in function
main’:
/home/holden/Desktop/work/forks/wgpu/examples/triangle/main.c:260: undefined reference to wgpu_render_pass_set_pipeline' /usr/bin/ld: /home/holden/Desktop/work/forks/wgpu/examples/triangle/main.c:261: undefined reference to
wgpu_render_pass_set_bind_group’
/usr/bin/ld: /home/holden/Desktop/work/forks/wgpu/examples/triangle/main.c:262: undefined reference to wgpu_render_pass_draw' collect2: error: ld returned 1 exit status make[3]: *** [CMakeFiles/triangle.dir/build.make:101: triangle] Error 1 make[3]: Leaving directory '/run/media/holden/45993E4516E8C2C4/Git/forks/wgpu/examples/triangle/build' make[2]: *** [CMakeFiles/Makefile2:76: CMakeFiles/triangle.dir/all] Error 2 make[2]: Leaving directory '/run/media/holden/45993E4516E8C2C4/Git/forks/wgpu/examples/triangle/build' make[1]: *** [Makefile:84: all] Error 2 make[1]: Leaving directory '/run/media/holden/45993E4516E8C2C4/Git/forks/wgpu/examples/triangle/build' make: *** [Makefile:108: example-triangle] Error 2
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 23 (9 by maintainers)
This is the same issue as this then right? https://github.com/rust-lang/rust/issues/50007