Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\Ross\Desktop\game_sketches\sketch_2\src\c.zig:1:9: error: C import failed
- pub use @cImport({
- ^
- C:\Users\Ross\Desktop\game_sketches\sketch_2\c-compat\glad/glad.h:38:10: note: 'windows.h' file not found
- #include <windows.h>
- ^
- C:\Users\Ross\Desktop\game_sketches\sketch_2\src\main.zig:43:10: error: container 'c' has no member called 'glfwSetErrorCallback'
- _ = c.glfwSetErrorCallback(error_callback);
- ^
- C:\Users\Ross\Desktop\game_sketches\sketch_2\src\main.zig:44:10: error: container 'c' has no member called 'glfwInit'
- if (c.glfwInit() == c.GL_FALSE) {
- ^
- C:\Users\Ross\Desktop\game_sketches\sketch_2\src\main.zig:44:26: error: container 'c' has no member called 'GL_FALSE'
- if (c.glfwInit() == c.GL_FALSE) {
- ^
- C:\Users\Ross\Desktop\game_sketches\sketch_2\src\main.zig:16:11: error: error is discarded
- _ = print_log("GLFW Error: {}\n", description_str);
- ^
- The following command exited with error code 1:
- C:\Users\Ross\Desktop\zig-stuff\zig-windows-x86_64-0.4.0+381c6a38\zig.exe build-exe C:\Users\Ross\Desktop\game_sketches\sketch_2\src\main.zig --library c --library kernel32.lib --library User32.lib --library Gdi32.lib --library Shell32.lib --object C:\Users\Ross\Desktop\game_sketches\sketch_2\c-compat\glfw3.lib --object C:\Users\Ross\Desktop\game_sketches\sketch_2\c-compat\glad.lib --object C:\Users\Ross\Desktop\game_sketches\sketch_2\c-compat\cimgui.lib --cache-dir C:\Users\Ross\Desktop\game_sketches\sketch_2\zig-cache --name sketch -isystem C:\Users\Ross\Desktop\game_sketches\sketch_2\c-compat --library-path c-compat --cache on
- exec failed
- C:\Users\Ross\Desktop\zig-stuff\zig-windows-x86_64-0.4.0+381c6a38\lib\zig\std\build.zig:772:36: 0x7ff6427df434 in std.build.Builder::std.build.Builder.exec (build.obj)
- std.debug.panic("exec failed");
- ^
- C:\Users\Ross\Desktop\zig-stuff\zig-windows-x86_64-0.4.0+381c6a38\lib\zig\std\build.zig:1594:52: 0x7ff6427d9984 in std.build.LibExeObjStep::std.build.LibExeObjStep.make (build.obj)
- const output_path_nl = try builder.exec(zig_args.toSliceConst());
- ^
- C:\Users\Ross\Desktop\zig-stuff\zig-windows-x86_64-0.4.0+381c6a38\lib\zig\std\build.zig:1895:24: 0x7ff6427cb6e0 in std.build.Step::std.build.Step.make (build.obj)
- try self.makeFn(self);
- ^
- C:\Users\Ross\Desktop\zig-stuff\zig-windows-x86_64-0.4.0+381c6a38\lib\zig\std\build.zig:313:19: 0x7ff6427ca3b8 in std.build.Builder::std.build.Builder.makeOneStep (build.obj)
- try s.make();
- ^
- C:\Users\Ross\Desktop\zig-stuff\zig-windows-x86_64-0.4.0+381c6a38\lib\zig\std\build.zig:303:29: 0x7ff6427ca34e in std.build.Builder::std.build.Builder.makeOneStep (build.obj)
- self.makeOneStep(dep) catch |err| {
- ^
- C:\Users\Ross\Desktop\zig-stuff\zig-windows-x86_64-0.4.0+381c6a38\lib\zig\std\build.zig:261:33: 0x7ff6427c5427 in std.build.Builder::std.build.Builder.make (build.obj)
- try self.makeOneStep(s);
- ^
- C:\Users\Ross\Desktop\zig-stuff\zig-windows-x86_64-0.4.0+381c6a38\lib\zig\std\special\build_runner.zig:137:17: 0x7ff6427c2c77 in main (build.obj)
- builder.make(targets.toSliceConst()) catch |err| {
- ^
- C:\Users\Ross\Desktop\zig-stuff\zig-windows-x86_64-0.4.0+381c6a38\lib\zig\std\special\bootstrap.zig:65:49: 0x7ff6427c160a in ??? (build.obj)
- std.os.windows.kernel32.ExitProcess(callMain());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement