lua-glfw.c c:\users\sp\appdata\local\temp\luarocks_glfw-0.1.0-1-3721\lua-nanovg-0.1.0\lbind.h(343): warning C4028: formal parameter 2 different from declaration context.c init.c input.c monitor.c window.c wgl_context.c win32_init.c win32_monitor.c win32_time.c win32_tls.c win32_window.c winmm_joystick.c Microsoft (R) Incremental Linker Version 14.00.23026.0 Copyright (C) Microsoft Corporation. All rights reserved. Creating library glfw.lib and object glfw.exp wgl_context.obj : error LNK2019: unresolved external symbol __imp__GetDC@4 referenced in function __glfwCreateContext win32_window.obj : error LNK2001: unresolved external symbol __imp__GetDC@4 wgl_context.obj : error LNK2019: unresolved external symbol __imp__ReleaseDC@8 referenced in function __glfwDestroyContext win32_window.obj : error LNK2001: unresolved external symbol __imp__ReleaseDC@8 win32_init.obj : error LNK2019: unresolved external symbol __imp__SystemParametersInfoW@16 referenced in function __glfwPlatformInit win32_monitor.obj : error LNK2019: unresolved external symbol __imp__ChangeDisplaySettingsExW@20 referenced in function __glfwRestoreVideoMode win32_monitor.obj : error LNK2019: unresolved external symbol __imp__EnumDisplaySettingsW@12 referenced in function __glfwPlatformGetVideoMode win32_monitor.obj : error LNK2019: unresolved external symbol __imp__EnumDisplaySettingsExW@16 referenced in function __glfwPlatformGetMonitorPos win32_monitor.obj : error LNK2019: unresolved external symbol __imp__EnumDisplayDevicesW@16 referenced in function __glfwPlatformGetMonitors win32_window.obj : error LNK2019: unresolved external symbol __imp__TrackMouseEvent@4 referenced in function _windowProc@16 win32_window.obj : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function __glfwPlatformPollEvents win32_window.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageW@4 referenced in function __glfwPlatformPollEvents win32_window.obj : error LNK2019: unresolved external symbol __imp__PeekMessageW@20 referenced in function __glfwPlatformPollEvents win32_window.obj : error LNK2019: unresolved external symbol __imp__GetMessageTime@0 referenced in function _translateKey win32_window.obj : error LNK2019: unresolved external symbol __imp__PostMessageW@16 referenced in function __glfwPlatformPostEmptyEvent win32_window.obj : error LNK2019: unresolved external symbol __imp__WaitMessage@0 referenced in function __glfwPlatformWaitEvents win32_window.obj : error LNK2019: unresolved external symbol __imp__DefWindowProcW@16 referenced in function _windowProc@16 win32_window.obj : error LNK2019: unresolved external symbol __imp__RegisterClassW@4 referenced in function __glfwRegisterWindowClass win32_window.obj : error LNK2019: unresolved external symbol __imp__UnregisterClassW@8 referenced in function __glfwUnregisterWindowClass win32_window.obj : error LNK2019: unresolved external symbol __imp__CreateWindowExW@48 referenced in function _createWindow win32_window.obj : error LNK2019: unresolved external symbol __imp__DestroyWindow@4 referenced in function __glfwPlatformCreateWindow win32_window.obj : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function __glfwPlatformHideWindow win32_window.obj : error LNK2019: unresolved external symbol __imp__SetWindowPos@28 referenced in function __glfwPlatformSetWindowPos win32_window.obj : error LNK2019: unresolved external symbol __imp__IsWindowVisible@4 referenced in function __glfwPlatformWindowVisible win32_window.obj : error LNK2019: unresolved external symbol __imp__IsIconic@4 referenced in function __glfwPlatformWindowIconified win32_window.obj : error LNK2019: unresolved external symbol __imp__BringWindowToTop@4 referenced in function __glfwPlatformShowWindow win32_window.obj : error LNK2019: unresolved external symbol __imp__OpenClipboard@4 referenced in function __glfwPlatformGetClipboardString win32_window.obj : error LNK2019: unresolved external symbol __imp__CloseClipboard@0 referenced in function __glfwPlatformGetClipboardString win32_window.obj : error LNK2019: unresolved external symbol __imp__SetClipboardData@8 referenced in function __glfwPlatformSetClipboardString win32_window.obj : error LNK2019: unresolved external symbol __imp__GetClipboardData@4 referenced in function __glfwPlatformGetClipboardString win32_window.obj : error LNK2019: unresolved external symbol __imp__EmptyClipboard@0 referenced in function __glfwPlatformSetClipboardString win32_window.obj : error LNK2019: unresolved external symbol __imp__SetFocus@4 referenced in function __glfwPlatformShowWindow win32_window.obj : error LNK2019: unresolved external symbol __imp__GetActiveWindow@0 referenced in function __glfwPlatformWindowFocused win32_window.obj : error LNK2019: unresolved external symbol __imp__GetKeyState@4 referenced in function _getKeyMods win32_window.obj : error LNK2019: unresolved external symbol __imp__GetAsyncKeyState@4 referenced in function __glfwPlatformPollEvents win32_window.obj : error LNK2019: unresolved external symbol __imp__SetCapture@4 referenced in function _windowProc@16 win32_window.obj : error LNK2019: unresolved external symbol __imp__ReleaseCapture@0 referenced in function _windowProc@16 win32_window.obj : error LNK2019: unresolved external symbol __imp__SetForegroundWindow@4 referenced in function __glfwPlatformShowWindow win32_window.obj : error LNK2019: unresolved external symbol __imp__SetWindowTextW@8 referenced in function __glfwPlatformSetWindowTitle win32_window.obj : error LNK2019: unresolved external symbol __imp__GetClientRect@8 referenced in function __glfwPlatformGetFramebufferSize win32_window.obj : error LNK2019: unresolved external symbol __imp__AdjustWindowRectEx@16 referenced in function __glfwPlatformGetWindowFrameSize win32_window.obj : error LNK2019: unresolved external symbol __imp__SetCursorPos@8 referenced in function __glfwPlatformSetCursorPos win32_window.obj : error LNK2019: unresolved external symbol __imp__SetCursor@4 referenced in function __glfwPlatformApplyCursorMode win32_window.obj : error LNK2019: unresolved external symbol __imp__GetCursorPos@4 referenced in function __glfwPlatformApplyCursorMode win32_window.obj : error LNK2019: unresolved external symbol __imp__ClipCursor@4 referenced in function __glfwPlatformApplyCursorMode win32_window.obj : error LNK2019: unresolved external symbol __imp__ClientToScreen@8 referenced in function __glfwPlatformGetWindowPos win32_window.obj : error LNK2019: unresolved external symbol __imp__ScreenToClient@8 referenced in function __glfwPlatformGetCursorPos win32_window.obj : error LNK2019: unresolved external symbol __imp__WindowFromPoint@8 referenced in function __glfwPlatformApplyCursorMode win32_window.obj : error LNK2019: unresolved external symbol __imp__SetRect@20 referenced in function __glfwPlatformGetWindowFrameSize win32_window.obj : error LNK2019: unresolved external symbol __imp__GetWindowLongW@8 referenced in function _windowProc@16 win32_window.obj : error LNK2019: unresolved external symbol __imp__SetWindowLongW@12 referenced in function _windowProc@16 win32_window.obj : error LNK2019: unresolved external symbol __imp__LoadCursorW@8 referenced in function __glfwPlatformCreateStandardCursor win32_window.obj : error LNK2019: unresolved external symbol __imp__LoadIconW@8 referenced in function __glfwRegisterWindowClass win32_window.obj : error LNK2019: unresolved external symbol __imp__DestroyIcon@4 referenced in function __glfwPlatformDestroyCursor win32_window.obj : error LNK2019: unresolved external symbol __imp__CreateIconIndirect@4 referenced in function __glfwPlatformCreateCursor win32_window.obj : error LNK2019: unresolved external symbol __imp__CopyIcon@4 referenced in function __glfwPlatformCreateStandardCursor win32_window.obj : error LNK2019: unresolved external symbol __imp__DragQueryFileW@16 referenced in function _windowProc@16 win32_window.obj : error LNK2019: unresolved external symbol __imp__DragQueryPoint@8 referenced in function _windowProc@16 win32_window.obj : error LNK2019: unresolved external symbol __imp__DragFinish@4 referenced in function _windowProc@16 win32_window.obj : error LNK2019: unresolved external symbol __imp__DragAcceptFiles@8 referenced in function _createWindow glfw.dll : fatal error LNK1120: 58 unresolved externals Installing https://luarocks.org/glfw-0.1.0-1.src.rock... Using https://luarocks.org/glfw-0.1.0-1.src.rock... switching to 'build' mode cl /nologo /MD /O2 -c -Folua-glfw.obj -IZ:/sp/Dropbox/Windows/x86/luajit/src/ lua-glfw.c -D_GLFW_WIN32 -D_GLFW_USE_OPENGL -D_GLFW_WGL -D_GLFW_BUILD_DLL -Iglfw/include cl /nologo /MD /O2 -c -Foglfw/src/context.obj -IZ:/sp/Dropbox/Windows/x86/luajit/src/ glfw/src/context.c -D_GLFW_WIN32 -D_GLFW_USE_OPENGL -D_GLFW_WGL -D_GLFW_BUILD_DLL -Iglfw/include cl /nologo /MD /O2 -c -Foglfw/src/init.obj -IZ:/sp/Dropbox/Windows/x86/luajit/src/ glfw/src/init.c -D_GLFW_WIN32 -D_GLFW_USE_OPENGL -D_GLFW_WGL -D_GLFW_BUILD_DLL -Iglfw/include cl /nologo /MD /O2 -c -Foglfw/src/input.obj -IZ:/sp/Dropbox/Windows/x86/luajit/src/ glfw/src/input.c -D_GLFW_WIN32 -D_GLFW_USE_OPENGL -D_GLFW_WGL -D_GLFW_BUILD_DLL -Iglfw/include cl /nologo /MD /O2 -c -Foglfw/src/monitor.obj -IZ:/sp/Dropbox/Windows/x86/luajit/src/ glfw/src/monitor.c -D_GLFW_WIN32 -D_GLFW_USE_OPENGL -D_GLFW_WGL -D_GLFW_BUILD_DLL -Iglfw/include cl /nologo /MD /O2 -c -Foglfw/src/window.obj -IZ:/sp/Dropbox/Windows/x86/luajit/src/ glfw/src/window.c -D_GLFW_WIN32 -D_GLFW_USE_OPENGL -D_GLFW_WGL -D_GLFW_BUILD_DLL -Iglfw/include cl /nologo /MD /O2 -c -Foglfw/src/wgl_context.obj -IZ:/sp/Dropbox/Windows/x86/luajit/src/ glfw/src/wgl_context.c -D_GLFW_WIN32 -D_GLFW_USE_OPENGL -D_GLFW_WGL -D_GLFW_BUILD_DLL -Iglfw/include cl /nologo /MD /O2 -c -Foglfw/src/win32_init.obj -IZ:/sp/Dropbox/Windows/x86/luajit/src/ glfw/src/win32_init.c -D_GLFW_WIN32 -D_GLFW_USE_OPENGL -D_GLFW_WGL -D_GLFW_BUILD_DLL -Iglfw/include cl /nologo /MD /O2 -c -Foglfw/src/win32_monitor.obj -IZ:/sp/Dropbox/Windows/x86/luajit/src/ glfw/src/win32_monitor.c -D_GLFW_WIN32 -D_GLFW_USE_OPENGL -D_GLFW_WGL -D_GLFW_BUILD_DLL -Iglfw/include cl /nologo /MD /O2 -c -Foglfw/src/win32_time.obj -IZ:/sp/Dropbox/Windows/x86/luajit/src/ glfw/src/win32_time.c -D_GLFW_WIN32 -D_GLFW_USE_OPENGL -D_GLFW_WGL -D_GLFW_BUILD_DLL -Iglfw/include cl /nologo /MD /O2 -c -Foglfw/src/win32_tls.obj -IZ:/sp/Dropbox/Windows/x86/luajit/src/ glfw/src/win32_tls.c -D_GLFW_WIN32 -D_GLFW_USE_OPENGL -D_GLFW_WGL -D_GLFW_BUILD_DLL -Iglfw/include cl /nologo /MD /O2 -c -Foglfw/src/win32_window.obj -IZ:/sp/Dropbox/Windows/x86/luajit/src/ glfw/src/win32_window.c -D_GLFW_WIN32 -D_GLFW_USE_OPENGL -D_GLFW_WGL -D_GLFW_BUILD_DLL -Iglfw/include cl /nologo /MD /O2 -c -Foglfw/src/winmm_joystick.obj -IZ:/sp/Dropbox/Windows/x86/luajit/src/ glfw/src/winmm_joystick.c -D_GLFW_WIN32 -D_GLFW_USE_OPENGL -D_GLFW_WGL -D_GLFW_BUILD_DLL -Iglfw/include link -dll -def:glfw.def -out:glfw.dll Z:/sp/Dropbox/Windows/x86/luajit/src/lua51.lib lua-glfw.obj glfw/src/context.obj glfw/src/init.obj glfw/src/input.obj glfw/src/monitor.obj glfw/src/window.obj glfw/src/wgl_context.obj glfw/src/win32_init.obj glfw/src/win32_monitor.obj glfw/src/win32_time.obj glfw/src/win32_tls.obj glfw/src/win32_window.obj glfw/src/winmm_joystick.obj gdi32.lib winmm.lib opengl32.lib