-
| 
         Dynamic linking works: "windows-x64" : {
      "linked-libraries" : [ "glfw3dll" ]
    }Static linking "windows-x64" : {
      "linked-libraries" : [ "glfw3" ]
    }with errors: lld-link: error: undefined symbol: __declspec(dllimport) CreateDCW
>>> referenced by glfw3.lib(win32_monitor.obj):($LN10)
>>> referenced by glfw3.lib(win32_monitor.obj):($LN12)
>>> referenced by glfw3.lib(win32_monitor.obj):(createMonitor)
lld-link: error: undefined symbol: __declspec(dllimport) DeleteDC
>>> referenced by glfw3.lib(win32_monitor.obj):($LN10)
>>> referenced by glfw3.lib(win32_monitor.obj):($LN12)
>>> referenced by glfw3.lib(win32_monitor.obj):(createMonitor)
...Is this an issue or is the manifest.json not correct?  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            lerno
          
      
      
        Mar 5, 2025 
      
    
    Replies: 1 comment 1 reply
-
| 
         I am not sure. Maybe it needs to import some other libraries. You can try: "windows-x64" : {
      "linked-libraries" : [ "glfw3", "Gdi32" ]
    } | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        renlite
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
I am not sure. Maybe it needs to import some other libraries. You can try: