allyourcodebase / allyourcodebase/ffmpeg
Zig 0.16-dev error on build after pc reset
- Ngôn ngữ chính
- C
- Star
- 321
- Fork
- 56
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hi, I am currently trying to implement screencasting on Wayland for Awebo https://codeberg.org/awebo-chat/awebo
(I also plan to switch the audio backend from PulseAudio to PipeWire after I finished my goal).
I have this weird behaviour, I don't know exactly why it happens:
When I clone this package and try to build it, everything works fine. But after restarting my pc, I can't build this package, because some dependencies do not comply with the latest 0.16 build.zig changes. I can fix that by deleting zig-pkg, .zig-cache and the entire zig cache in /home/user/.cache/zig
I get the following errors (I cut it, it is obv that it fails to parse the build.zig of some dpeendencies):
```
/home/user/.local/bin/zig-awebo/zig build gui
zig-pkg/libressl-4.0.0--kqV4OjTAADhw9rD-tZaxFy2KPrSU4Bt9FOi9UZe-Zjl/build.zig:62:30: error: no field or member function named 'addCSourceFiles' in 'Build.Step.Compile'
libressl_common.libcrypto.addCSourceFiles(.{
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/user/.local/bin/zig-awebo/lib/std/Build/Step/Compile.zig:1:1: note: struct declared here
const Compile = @This();
^~~~~
```
I am using:
```
/home/user/.local/bin/zig-awebo/zig version
0.16.0-dev.3061+9b1eaad13
```
This happens only with this package (and when I compile Awebo, because it depends on this package).
I will try to update some of the dependencies and report back if it fixes the issue.
Note: New to Zig, heavily clueless, could very likely be my mistake
EDIT: Updated the dependencies that had issues, now everything works fine, even after restarting my pc.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.