duarteroso / glfw

GLFW bindings for the V language
BSD 2-Clause "Simplified" License
16 stars 4 forks source link

Error in Windows #5

Closed Itsr1ght closed 4 months ago

Itsr1ght commented 4 months ago

i got error when i compile the library in windows

C:\Users\bilal\gits\v_opengl>v . -o bin\v_opengl
==================
C:/Users/bilal/.vmodules/noxomix/vgl/c//fallback.h:22400: warning: function might return no value: 'glVideoCaptureNV'
C:/Users/bilal/AppData/Local/Temp/v_0/v_opengl.01HZ7BV40KNTB8XQY0XAPQW214.tmp.c:1379: error: ';' expected (got "duarteroso__vglfw__GLFWwindow")
...
==================
(Use `v -cg` to print the entire error message)

builder error:
==================
C error found. It should never happen, when compiling pure V code.
This is a V compiler bug, please report it using `v bug file.v`,
or goto https://github.com/vlang/v/issues/new/choose .
You can also use #help on Discord: https://discord.gg/vlang .

how do i fix this