You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to compile the example I get the following error:
/usr/lib/zig/lib/std/build/LibExeObjStep.zig:22:28: error: 'VcpkgRoot' is not marked 'pub'
const VcpkgRoot = std.build.VcpkgRoot;
~~~~~~~~~^~~~~~~~~~
/usr/lib/zig/lib/std/build.zig:1472:1: note: declared here
const VcpkgRoot = union(VcpkgRootStatus) {
^~~~~
referenced by:
addVcpkgPaths: /usr/lib/zig/lib/std/build/LibExeObjStep.zig:972:17
link: /strg/prgm/zig/usg/lib/SDL.zig/Sdk.zig:168:12
remaining reference traces hidden; use '-freference-trace' to see all reference traces
Looking at the source code I see that it is a Windows related error and I'm on Linux, the target os tag says so. Commenting from line 165 to 306 (windows SDL2 linking) makes the error go away and the program runs just fine
The text was updated successfully, but these errors were encountered:
jblumie
changed the title
Error compiling with zig 0.11.0-dev.750+25d3713b0
Error with SDL linking for findows when compiling with zig 0.11.0-dev.750+25d3713b0
Dec 14, 2022
jblumie
changed the title
Error with SDL linking for findows when compiling with zig 0.11.0-dev.750+25d3713b0
Error with windows linking when compiling with zig 0.11.0-dev.750+25d3713b0
Dec 14, 2022
When trying to compile the example I get the following error:
Looking at the source code I see that it is a Windows related error and I'm on Linux, the target os tag says so. Commenting from line 165 to 306 (windows SDL2 linking) makes the error go away and the program runs just fine
The text was updated successfully, but these errors were encountered: